Today I have massive troubles with the crashes. Nearly every 5m. It's not the same error as Jonathan experiences (object has no attribute...).
The error is raised from the cPickle class: ValueError: could not convert string to float Since I don't have any floats in my classes I would guess this happens inside Beaker. I did some digging and played around with pickle instead of cPickle inside the Python shell: x = pickle.load(fh) Traceback (most recent call last): File "<stdin>", line 1, in ? File "C:\Panda3D-1.3.2\python\lib\pickle.py", line 1390, in load return Unpickler(file).load() File "C:\Panda3D-1.3.2\python\lib\pickle.py", line 872, in load dispatch[key](self) File "C:\Panda3D-1.3.2\python\lib\pickle.py", line 968, in load_float self.append(float(self.readline()[:-1])) ValueError: invalid literal for float(): 1209482697,7030001 Ahh.... so we seem to have a "," instead of a "."... Let's have a look where the culprit sits - excerpt from the .cache file: '_accessed_time' 1209482697,7030001 Hmmm.... wondering - Beaker just pickles the float - it must be somehow a bug inside cPickle... why does cPickle write floats with ","??? Digging further... "," is the German version for "." in US... so it may be connected with LOCALE... And yes, it is!!!! If LOCALE is set to "Germany" cPickle writes "," instead of "." (I tried it out...). What happened? Since I need the German locale for my figures I set the locale accordingly - somewhere in my software. cPickle writes the _session_time float with "," after session.save(). I restart the server - the LOCALE is not set - Beaker tries to read the file and crashes because the float is "wrongly" formatted... ARG... Does it make sense that cPickle uses the LOCALE settings? -> I don't know (and don't care)... Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---