Re: [Zope3-Users] Container display error
On Sunday 10 September 2006 12:23, Sébastien VINOT wrote: > File "/opt/Zope-3.2.1/lib/python/zope/app/traversing/adapters.py", > line 58, in traverse > return subject[name] > AttributeError: NotFound instance has no attribute 'args' > 192.168.1.6 - - [10/Sep/2006:17:17:25 +0200] "GET > /MyDesktop/customerContainer@@view.html > > What can be my problem ? Well, look at your URL: /MyDesktop/customerContainer@@view.html You are missing the "/" after the container name.BTW, ${cc/@@absolute_url} should work. > A permission error ? No. > A zcml bad configuration ? No, Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Container display error
Hello, I have a container that contains a sub container (named customerContainer). On the page tamplate of my container I want a link to my sub-container. I wrote this : sub-container (I also tried with ${cc/@@absolute_url}/@@view.html ). My sub-container defines a default page which is correctly displayed on the ZMI Preview tool. Sample of my zcml file. When I try to click on my link (being anonymous or being manager), I get this error : File "/opt/Zope-3.2.1/lib/python/zope/app/traversing/adapters.py", line 58, in traverse return subject[name] AttributeError: NotFound instance has no attribute 'args' 192.168.1.6 - - [10/Sep/2006:17:17:25 +0200] "GET /MyDesktop/customerContainer@@view.html What can be my problem ? A permission error ? A zcml bad configuration ? I have to admit I don't really know where to find and of course any clue will be welcome. Thanks in advance, Sebastien . ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users