Have moved one of my sites over from Zope 2.1.6 to 2.4.3. Everything imported OK but viewing the site causes an error. What does the following mean ? Traceback (innermost last): File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.3/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: CorporateInfo) File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.4.3/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/OFS/DTMLMethod.py, line 199, in __call__ (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__ (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/OFS/DTMLMethod.py, line 192, in __call__ (Object: standard_html_header) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__ (Object: standard_html_header) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_Util.py, line 231, in eval (Object: REQUEST.has_key('lc')) (Info: REQUEST) File <string>, line 2, in f (Object: guarded_getattr) File /usr/local/Zope-2.4.3/lib/python/AccessControl/DTML.py, line 101, in guarded_getattr (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/AccessControl/ZopeGuards.py, line 122, in guarded_getattr File /usr/local/Zope-2.4.3/lib/python/AccessControl/SecurityManager.py, line 149, in validate File /usr/local/Zope-2.4.3/lib/python/AccessControl/ZopeSecurityPolicy.py, line 119, in validate File /usr/local/Zope-2.4.3/lib/python/ZPublisher/HTTPRequest.py, line 897, in __getitem__ KeyError: aq_base -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Sorry for the extra post. Just worked out that the "aq_base" error occurs whenever I do a REQUEST.has_key() ~ please don't tell me this has been deprecated!
Have moved one of my sites over from Zope 2.1.6 to 2.4.3. Everything imported OK but viewing the site causes an error. What does the following mean ?
Traceback (innermost last): File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.3/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: CorporateInfo) File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.4.3/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/OFS/DTMLMethod.py, line 199, in __call__ (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__ (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/OFS/DTMLMethod.py, line 192, in __call__ (Object: standard_html_header) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__ (Object: standard_html_header) File /usr/local/Zope-2.4.3/lib/python/DocumentTemplate/DT_Util.py, line 231, in eval (Object: REQUEST.has_key('lc')) (Info: REQUEST) File <string>, line 2, in f (Object: guarded_getattr) File /usr/local/Zope-2.4.3/lib/python/AccessControl/DTML.py, line 101, in guarded_getattr (Object: index_html) File /usr/local/Zope-2.4.3/lib/python/AccessControl/ZopeGuards.py, line 122, in guarded_getattr File /usr/local/Zope-2.4.3/lib/python/AccessControl/SecurityManager.py, line 149, in validate File /usr/local/Zope-2.4.3/lib/python/AccessControl/ZopeSecurityPolicy.py, line 119, in validate File /usr/local/Zope-2.4.3/lib/python/ZPublisher/HTTPRequest.py, line 897, in __getitem__ KeyError: aq_base
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
_______________________________________________ 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 )
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Solved the problem below thanks to the Italian Zope users. http://lists.zope.org/pipermail/zope-it/2001-October/000686.html On Mon, Oct 29, 2001 at 01:53:00PM +0100, Marco Mariani wrote:
KeyError: aq_base ^^^^^^^^^^^^^^^^^ Ho risolto, a quanto pare dipende dal python 2.2.b1 Sappiatelo :-)
Not speaking Italian, Babelfish helped me out. Ho risolto, a quanto pare dipende dal python 2.2.b1 translates to I have resolved, to how much seems depends on the python 2.2.b1 Which might mean that my version of Zope depends on Python 2.2 or that the error was due to Python 2.2. Reinstalled all and now happy. Stephen. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
participants (1)
-
Shriek@gmx.co.uk