[Zope-dev] Traversal Barf

Casey Duncan cduncan@kaivo.com
Wed, 11 Jul 2001 09:18:20 -0600


seb bacon wrote:
> 
> OK, I've found out some more stuff about the problem.  Of course, it
> wasn't really random.  The culprit is a linked stylesheet.  Every time
> I alter the sheet in some way, I get the SERVER_URL KeyError.

Good, at least we know *when* it happens.
> 
> I can't really see why this should be happening, though.  The
> absolute_url() in question is in the main body of the document, not
> the stylesheet.

Can we see the code for your page? What is the stylesheet, a DTML obj,
ZStyleSheet, etc?
> 
> Is perhaps the acquisition wrapper not getting applied to the document
> until after the linked objects are also downloaded, or something
> strange like that?

No, that is client-side stuff.

> 
> I haven't the time time to pursue this right now, but I'll attempt to
> make a simple, reproduceable example and submit it to the Tracker.
> But just in case I get time to debug it, where might I start?  I'm not
> very familiar with the Traversal / Publishing stuff.

I'm happy to help if I can.
> 
> seb
> 

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>