[Zope] Error with context.absolute_url() in Python script

Dieter Maurer dieter@handshake.de
Fri, 22 Mar 2002 23:33:49 +0100


Harry Wilkinson writes:
 > I am hacking away at a CMF content type.
 > ...
 > Traceback:
 >  ...
 > getPhysicalPath
 >     (Object: contenttype_instance
 >   File /usr/local/zope/2.5.0_base/lib/python/OFS/SimpleItem.py, line 65, in 
 > getId
 >     (Object: contenttype_instance)
 > TypeError: id() takes exactly 1 argument (0 given)
Apparently, something is wrong with its "id" or "getId".


Dieter