Casey Duncan wrote:

> seb bacon wrote:
>>I've been getting a puzzling error.  It's not reliably reproduceable.
>>It occurs perhaps one time in four when I'm using Opera.  At first, it
>>appeared only to be related to Opera, but now I'm getting the same
>>error in netscape.  I can just hit refresh and it works again.
>>There's no sign of anything like ConflictErrors or the like on the
>>Has anyone seen this before?  What could it be?
>>< snip >
>> File /usr/local/Zope/lib/python/DocumentTemplate/, line 146, in render
>>    (Object: rootpath="absolute_url()")
>>  File /usr/local/Zope/lib/python/DocumentTemplate/, line 334, in eval
>>    (Object: absolute_url())
>>    (Info: absolute_url)
>>  File <string>, line 0, in ?
>>  File /usr/local/Zope/lib/python/OFS/, line 119, in absolute_url
>>    (Object: Traversable)
>>KeyError: SERVER_URL
> I have seen a similar traceback which was due to a bug in,
> to which I have submitted a patch. It had to do with a lack of an
> acquisition wrapper at an inopportune time. It looks as though
> absolute_url() is being called without a proper wrapper around the
> object it is begin called for.

Looks to me like absolute_url() is being called when absolute_url(1) 
should be used.

Steve Alexander

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to