Does anyone have any idea why the SessionFileStore would try to pickle a
module?  I was under the assumption that the storing of the session only
saved information stored in self.session() class?  I am sure I am doing
something incorrectly, but I need a bit of guidance.  Any assistance would
be appreciated.  Thanks.

Exception in thread Thread-2:
Traceback (most recent call last):
  File "C:\Python22\lib\threading.py", line 408, in __bootstrap
    self.run()
  File "C:\Python22\lib\threading.py", line 396, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "WebKit\AppServer.py", line 86, in closeThread
    self.shutDown()
  File "WebKit\ThreadedAppServer.py", line 298, in shutDown
    AppServer.shutDown(self)
  File "WebKit\AppServer.py", line 119, in shutDown
    self._app.shutDown()
  File "WebKit\Application.py", line 232, in shutDown
    self._sessions.storeAllSessions()
  File "WebKit\SessionDynamicStore.py", line 110, in storeAllSessions
    self.MovetoFile(i)
  File "WebKit\SessionDynamicStore.py", line 98, in MovetoFile
    self._fileStore[key] = self._memoryStore[key]
  File "WebKit\SessionFileStore.py", line 73, in __setitem__
    self.encoder()(item, file)
  File "C:\Python22\lib\copy_reg.py", line 57, in _reduce
    raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle module objects


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to