[Zope3-dev] KeyError when accessing ZopeTop

Garrett Smith garrett@mojave-corp.com
Sat, 5 Apr 2003 19:48:06 -0600


Here's what's causing the problem on my systems:

  .../skins/zopetop/www/widget_macros.pt
  --------------------------------------------------------
  ---> <?xml version=3D"1.0" encoding=3D"iso-8859-1"?>

When I remove this line, no more error. It's not the "encoding"
attribute...I removed that and still problems. I'm surprised that no one
is seeing this. I can recreate it on Windows and Linux.

I confirmed that the macros attribute of the page index was empty,
suggesting that the page just isn't loading. I didn't see any errors or
warnings using pt_errors/pt_warnings.

=20
> This is a repost -- I looked at the stack trace for a bit, and decided
> looking wasn't helping :-)  I get the same error on Windows and Linux.
>=20
> Garrett Smith
> Mojave Corporation
>=20
>=20
> > -----Original Message-----
> > From: Garrett Smith=20
> > Sent: Thursday, April 03, 2003 11:38 AM
> > To: zope3-dev (E-mail)
> > Subject: [Zope3-dev] KeyError when accessing ZopeTop
> >=20
> >=20
> > I'm getting the following "KeyError" when I try to access ZopeTop:
> >=20
> > 2003-04-03T11:34:21 ERROR SiteError
> > http://localhost:8080/++skin++ZopeTop/@@index.html
> > Traceback (most recent call last):
> >   [stack trace trimmed]
> >   File "C:\Documents and Settings\Garrett Smith\My
> >=20
> Documents\SCM\Shared\zope\Zope3\src\zope\app\traversing\adapters.py",
> > line 55, in traverse
> >     return self._subject[name]
> >   File "C:\Documents and Settings\Garrett Smith\My
> > Documents\SCM\Shared\zope\Zope3\src\zope\app\browser\skins\bas
> > ic\standar
> > dmacros.py", line 42, in __getitem__
> >     raise KeyError, key
> > KeyError: logged_user
> > 127.0.0.1:  - anonymous [2003/Apr/03:11:34:21 -0500] "GET
> > /++skin++ZopeTop HTTP/1.1" 500 403 "" "Mozilla/5.0 (Windows;=20
> > U; Windows
> > NT 5.0; en-US; rv:1.3b) Gecko/20030210"
> >=20
> > Based on the "User" listed in the upper right, I'm logged in=20
> > as "Sample
> > Manager".
> >=20
> > Any help is appreciated.
> >=20
> > Garrett Smith
> > Mojave Corporation
> >=20
> > _______________________________________________
> > Zope3-dev mailing list
> > Zope3-dev@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-dev
> >=20
>=20
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-dev
>=20