I have discover more data about this problem. The list of object references I try to show in the dtml method is ok, but this object instances aren't Acquisition Wrappers... but why one moment before they are? In the Traversable code I put one line like this: def absolute_url(self, relative=0): try: req = self.REQUEST except AttributeError: req = {} -> open('/tmp/kk', 'w').write(str(req)) rpp = req.get('VirtualRootPhysicalPath', ('',)) spp = self.getPhysicalPath() And the contents of /tmp/kk is: (Thanks to Juan David IbaƱez) <Special Object Used to Force Acquisition> What Can I do? Greetings On Wed, 2001-10-24 at 16:45, Antonio Beamud Montero wrote:
Hello again: I have a little problem. Al my system works well, but after some time working with it, fails.
I have a Folder, and inside, different objects (plugins). Some of this objects contains a list of references to objects contained in the same folder. When I try list that references using:
<dtml-in list_plugins> <p><a href="<dtml-var absolute_url>"><dtml-var id></a> </dtml-in>
When I click in this generated links, all works well, but some time later when I try to click in it, Zope return me the next error:
Error Type: AttributeError Error Value: get
File /usr/local/Zope-2.4.1-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec (Object: editMachine) File /usr/local/Zope-2.4.1-linux2-x86/lib/python/App/special_dtml.py, line 244, in _exec (Object: editMachine) File /usr/local/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 770, in renderwob (Object: list_installed_plugs) File /usr/local/Zope-2.4.1-linux2-x86/lib/python/OFS/Traversable.py, line 107, in absolute_url (Object: PlugInBase)
I'm using PlugIns Product and all this objects are plugins. How I can debug this problem. Anybody has any idea? Why all works well during a moment..?
Thanks
_______________________________________________ ZPatterns mailing list ZPatterns@eby-sarna.com http://www.eby-sarna.com/mailman/listinfo/zpatterns