[Zope] Upgraded to 2.5.1/2.1.3, now I don't get a 'session_data' in 'temp_folder' on startup..

Chris McDonough chrism@zope.com
02 Jul 2002 17:15:00 -0400


I'm honestly not sure how this can happen.  It looks impossible.  It
might make sense to try to step through the code following line 279 of
lib/python/OFS/Application.py  ("if not hasattr(tf, 'session_data')") --
use pdb.set_trace() here when zope starts up) to see what is happening.

On Tue, 2002-07-02 at 16:32, Tony McDonald wrote:
> On 2/7/02 6:22 pm, "Chris McDonough" <chrism@zope.com> wrote:
> 
> > Do any errors appear in the event log (the STUPID_LOG_FILE)?
> > 
> 
> Cheers Chris (I do seem to have problems with SESSION stuff don't I? :)
> 
> There's this from STUPID_LOG_FILE
> 
> 2002-07-02T19:49:11 INFO(0) ZODB Opening database for mounting:
> '10517752_1014201531.425206'
> ------
> 2002-07-02T19:49:11 INFO(0) ZODB Mounted database
> '10517752_1014201531.425206' at /temp_folder
> ------
> 2002-07-02T19:49:12 ERROR(200) ZODB Couldn't load state for
> '\x00\x00\x00\x00\x00\x00cI'
> Traceback (innermost last):
>   File /home/zope/Zope-2.5.1-src/lib/python/ZODB/Connection.py, line 472, in
> setstate
> ImportError: No module named Splitter
> 
> And then more errors related to Splitter.
> 
> This is from a server that opens a temp_folder/session_data combination
> succesfully
> 
> 2002-07-02T19:53:23 INFO(0) ZODB Opening database for mounting:
> '18705136_1014301699.536549'
> ------
> 2002-07-02T19:53:23 INFO(0) ZODB Mounted database
> '18705136_1014301699.536549' at /temp_folder
> ------
> 2002-07-02T19:53:28 INFO(0) ZServer HTTP server started at Tue Jul  2
> 20:53:28 2002
> 
> Both these Zopes are using the same SOFTWARE_HOME (2.5.1) so I'm a wee bit
> baffled here.
> 
> Well, I decided to (a) delete all products from the Products folder, pack
> the database as restart the server. This gets rid of any errors in
> STUPID_LOG_FILE;
> 
> 2002-07-02T20:25:18 INFO(0) ZODB Opening database for mounting:
> '10517752_1014201531.425206'
> ------
> 2002-07-02T20:25:19 INFO(0) ZODB Mounted database
> '10517752_1014201531.425206' at /temp_folder
> ------
> 2002-07-02T20:25:19 INFO(0) ZServer HTTP server started at Tue Jul  2
> 21:25:19 2002
> 
> But session_data in temp_folder *still* doesn't get created.
> 
> Very strange indeed...any thoughts would be appreciated.
> 
> Tone.
> -- 
> Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
> The Medical School, Newcastle University Tel: +44 191 243 6140
> A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope
>