It looks like your application is having problems unpickling the session
from disk. In Webware 0.8, line 55 of SessionFileStore.py handles any
errors that occur during unpickling.
The error reporting in this unpickling code has been improved since 0.8 was
released, so you may want to look into upgrading SessionFileStore.py to the
CVS head.
- Geoff
> -----Original Message-----
> From: Costas Malamas [mailto:costasm@...]
> Sent: Tuesday, April 15, 2003 1:20 PM
> To: webware-discuss@...
> Subject: [Webware-discuss] Weird Session bug
>
>
> Hello all,
>
> I am getting this weird Session error in my application. I
> have made no
> changes to Webkit (WK 0.8 on Python 2.1 on Linux/Apache,
> using dynamic
> sessions) in a while and had no issues until very recently.
>
> At the same time as this error, I am seeing some DB (MySQL
> instability), but
> I can't see how Sessions may cross into DB land. Usually the
> two errors
> happen separately though, so I don't think they could be related.
>
> Any clue? traceback follows...
>
> Thanks in advance,
>
> Costas
>
> Traceback (most recent call last):
> File "./WebKit/Application.py", line 395, in dispatchRequest
> elif self.isSessionIdProblematic(request):
> File "./WebKit/Application.py", line 494, in isSessionIdProblematic
> if (time()-request.session().lastAccessTime()) >=
> request.session().timeout():
> File "./WebKit/HTTPRequest.py", line 221, in session
> return self._transaction.session()
> File "./WebKit/Transaction.py", line 67, in session
> self._session =
> self._application.createSessionForTransaction(self)
> File "./WebKit/Application.py", line 963, in
> createSessionForTransaction
> session = self.session(sessId)
> File "./WebKit/Application.py", line 789, in session
> return self._sessions[sessionId]
> File "./WebKit/SessionDynamicStore.py", line 72, in __getitem__
> self.MovetoMemory(key)
> File "./WebKit/SessionDynamicStore.py", line 135, in MovetoMemory
> self._memoryStore[key] = self._fileStore[key]
> File "./WebKit/SessionFileStore.py", line 55, in __getitem__
> raise KeyError, key
>
>
>
>
>
>
> _________________________________________________________________
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-discuss mailing list
> Webware-discuss@...
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
|