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
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