Do this: return container.getPhysicalRoot.absolute_url() Not this: return container.getPhysicalRoot().absolute_url() The return value of getPhysicalRoot probably doesn't have an absolute_url attribute :o) Regards, Phil +------------------------------------------+ | Phil Mayers | | Network & Infrastructure Group | | Information & Communication Technologies | | Imperial College | +------------------------------------------+ -----Original Message----- From: Horst Wald [mailto:horstwald@hotmail.com] Sent: 11 January 2002 16:08 To: zope@zope.org; website-talk-admin@list.ora.com Subject: [Zope] getPhysicalRoot() Hi, I wrote a very simple python script: return container.getPhysicalRoot().absolute_url() And I get: Error Type: AttributeError Error Value: getPhysicalRoot What's wrong??? Horst _________________________________________________________________ Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: http://messenger.msn.de _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )