Christoph Zwerschke wrote:
Am 15.02.2011 13:08, schrieb jo:
This is very strange, Christoph, because the procedure runs in about
a dozen installations and in all of them, there is this same error.
Is it possible that all installations have the session file corrupted
Then has it worked in the past and you're seeing these errors only now?
I got these errors for a long time, I have reported it to the group from
time to time, see...
* cherrypy.session.get error -reported on 27 Nov 2009, 12:29
* tg_source and tg_exceptions - reported on 25 Feb 2009, 14:41
and I never resolved the question.
Maybe all of the installations are saved on the same harddisk partition
that is corrupt or full or reached a quota or there is some kind of hot
backup/restore or sync mechanism active on the session directories?
The servers are different, they are installed in different cities.
The file session-???? is saved in the /tmp/ directory
Or maybe you started to store some strange things in the session which
cause the unplicking to fail?
!?
Do the installations use different directories for storing the sessions?
Do you set session_filter.storage_path in the config?
in my app.cfg ha have this:
session_filter.on = True
session_filter.storage_type = 'File'
session_filter.storage_path = '/tmp/'
session_filter.timeout = 60
Btw, if you can't get file based sessions to work, maybe RAM sessions
are an option for you (set session_filter.storage_type=Ram)?
And CherryPy also allows a PostgreSQL database as backend.
Is it possible to use PostgreSQL as session storage? Where can I learn
more about it?
Another option are visit based sessions, but I have gested and
documented that only with TG 1.5:
http://docs.turbogears.org/1.5/VisitBasedSessions
-- Christoph
--
Jose Soares
Sferacarta Net
Via Bazzanese 69
40033 Casalecchio di Reno
Bologna - Italy
Ph +39051591054
fax +390516131537
web:www.sferacarta.com
Le informazioni contenute nella presente mail ed in ogni eventuale file
allegato sono riservate e, comunque, destinate esclusivamente alla persona o
ente sopraindicati, ai sensi del decreto legislativo 30 giugno 2003, n. 196. La
diffusione, distribuzione e/o copiatura della mail trasmessa, da parte di
qualsiasi soggetto diverso dal destinatario, sono vietate. La correttezza,
l’integrità e la sicurezza della presente mail non possono essere garantite. Se
avete ricevuto questa mail per errore, Vi preghiamo di contattarci
immediatamente e di eliminarla. Grazie.
This communication is intended only for use by the addressee, pursuant to
legislative decree 30 June 2003, n. 196. It may contain confidential or
privileged information. You should not copy or use it to disclose its contents
to any other person. Transmission cannot be guaranteed to be error-free,
complete and secure. If you are not the intended recipient and receive this
communication unintentionally, please inform us immediately and then delete
this message from your system. Thank you.
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.