Re: DBaccessError when switching which user 'runs' the spyce server

"Jonathan Ellis" <[email protected]> Wed, 09 Jan 2008 09:00:11 -0800
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Wed, 9 Jan 2008 11:23:01 -0500, "Jason Persampieri"
> Um... yes... well.... that makes entirely too much sense :)
> 
> If I had known more about 'shelve' and the idea of a stateful server, I
> would have found the error much faster.  Ah well.
> 
> Perhaps there could simply be a more informative error message?

Sure, that seems reasonable.

Can you patch modules/session.py appropriately?  I think you will need
try/except around both shelve.open calls (in load and is_expired)

-Jonathan

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace