[Zope] REQUEST.has_key() causes KeyError: aq_base ?
Shriek@gmx.co.uk
Shriek@gmx.co.uk
Tue, 5 Mar 2002 02:17:46 +0100 (MET)
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