Re: [Zope] coercing to Unicode: need string or buffer, NoneType found

2006-04-27 Thread Peter Bengtsson
Are you sure that self.getfilepath() is a string? [EMAIL PROTECTED]:~ $ python Python 2.4.3 (#2, Apr 10 2006, 11:53:13) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.stat(None) Traceback (most recent call

[Zope] coercing to Unicode: need string or buffer, NoneType found

2006-04-25 Thread Dennis Allison
Zoe 2.9.0, Python 2.4.2 ## Script (Python) "ascript" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## root = container.restrictedTraverse('/') objs = root.ZopeFind(container.this(), obj_metatypes=['Ex