Hello, I seem to be having a problem with saving session data. The first call to session.save() in my application causes this error (with abbreviated trace):
Module beaker.session:216 in save Module beaker.session:183 in load Module beaker.container:668 in __init__ Module beaker.util:32 in verify_directory Module os:163 in makedirs Module os:166 in makedirs OSError: [Errno 13] Permission denied: 'None' This is my third Pylons app, and I have never seen this issue before. To avoid locking issues over NFS, my "data_dir" is set to "/tmp" on the local machine, which has universal write permissions. The "templates" directory is being written to /tmp properly, but the "session" dir is not. Pylons appears to have the proper configuration as indicated by request.environ['paste.config']['app_conf'] -> 'session_data_dir': '/tmp/sessions' However, when beaker attempts to write session data, it is always attempting to create the directory "None\n" to no avail. If I run the application with the paster server, on my local machine, with the default ini settings, a "None" directory is created in my current working directory with the session data. There seems to be a disconnect between my paste configuration, and the path info ultimately passed down to the beaker session. Hopefully it's something simple, but I cannot seem to figure it out. Any ideas? Thanks, Owen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
