11 Oct
2005
11 Oct
'05
6:29 a.m.
Reinoud van Leeuwen wrote:
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the function is:
for brain in self.portal_catalog(portal_type='User', SearchableText=SearchableText): user = brain.getObject() if user is None: continue results.append(getUserInfo(user))
This works in a pyhton script but not in an external one
At this point I'd recommend my SainBrains product: http://www.simplistix.co.uk/software/zope/sanebrains Then, change your user = line to: user = brain._unrestrictedGetObject() cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk