[Zope-dev] KeyError: 'URL' in HTTPRequest using zope2.7-py2.3.3
Brian Watson
bw77 at mail.com
Thu Dec 1 20:55:26 EST 2005
hello all,
i'm running into a wierd zope/plone error. it is the same error as the "RESPONSE eaten" post at:
http://mail.zope.org/pipermail/zope-dev/2003-November/020952.html
i asked the poster for help since there were no followups, but unfortunately he would not help me and told me he was not my personal helpdesk. these posters had a similar issue/solution:
http://mail.zope.org/pipermail/zope-dev/2004-February/021793.html
but i cannot find a similar culprit. any help would be much appreciated. below is my traceback.
thanks a million,
brian w.
--------------------
Traceback (most recent call last):
File "E:\NBCJEAP\Zope\lib\python\zExceptions\ExceptionFormatter.py", line 157,
in formatLine
result.extend(self.formatSupplement(supp, tb))
File "E:\NBCJEAP\Zope\lib\python\zExceptions\ExceptionFormatter.py", line 105,
in formatSupplement
extra = self.formatExtraInfo(supplement)
File "E:\NBCJEAP\Zope\lib\python\zExceptions\ExceptionFormatter.py", line 231,
in formatExtraInfo
extra = getInfo(1)
File "E:\NBCJEAP\Zope\lib\python\Products\PageTemplates\TALES.py", line 277, i
n getInfo
s = pprint.pformat(data)
File "E:\NBCJEAP\Python\lib\pprint.py", line 58, in pformat
return PrettyPrinter().pformat(object)
File "E:\NBCJEAP\Python\lib\pprint.py", line 109, in pformat
self._format(object, sio, 0, 0, {}, 0)
File "E:\NBCJEAP\Python\lib\pprint.py", line 127, in _format
rep = self._repr(object, context, level - 1)
File "E:\NBCJEAP\Python\lib\pprint.py", line 191, in _repr
self._depth, level)
File "E:\NBCJEAP\Python\lib\pprint.py", line 203, in format
return _safe_repr(object, context, maxlevels, level)
File "E:\NBCJEAP\Python\lib\pprint.py", line 246, in _safe_repr
vrepr, vreadable, vrecur = saferepr(v, context, maxlevels, level)
File "E:\NBCJEAP\Python\lib\pprint.py", line 286, in _safe_repr
rep = `object`
File "E:\NBCJEAP\Zope\lib\python\ZPublisher\HTTPRequest.py", line 1295, in __r
epr__
return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
File "E:\NBCJEAP\Zope\lib\python\ZPublisher\HTTPRequest.py", line 1214, in __g
etitem__
raise KeyError, key
KeyError: 'URL'
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
More information about the Zope-Dev
mailing list