[XML-SIG] I don't understand this error -- please help

Dieter Maurer dieter at handshake.de
Sat Jun 28 19:52:58 EDT 2003

Michael McKerns wrote at 2003-6-27 12:39 -0700:
 > On Fri, 27 Jun 2003, Dieter Maurer wrote:
 > >
 > > I have seen this error before -- in Zope (a long time ago).
 > >
 > > The work around has been to call the function during import
 > > of a non restricted module (to fill the cache).
 > >
 > Dieter, can you explain what you mean in more detail?

Your traceback indicates that you get the exception calling

     (import codecs)

The suggestion is that you call it *before* you are in restricted
mode, e.g. in your "sitecustomize.py" (which probably does not yet
exist -- read "site.py" for details about "sitecustomize.py").
This way, the function can be found in the cache and there is no
need for unmarshalling.


More information about the XML-SIG mailing list