Been away for a few weeks but this appears the root of Owen Davis'
"Session Issue" reported June 20:

  http://www.mail-archive.com/[email protected]/msg04306.html

If my pylons .ini file doesn't specify a setting for 'data_dir' then
beaker gets passed a data_dir variable whose value is the string
'None', which fails the test for the None value and beaker tries to
create a directory with this name.  In Owen's case (and the reason I
found this myself today) his process didn't have permissions to create
that dir.  You can workaround this, as Owen's responders mentioned, by
setting a writable directory for data_dir, e.g., '/tmp'.

But something's parsing the .ini file and setting data_dir to 'None'
instead of None, which should allow beaker to create a memory cache
instead of disk.  I'm too stupid to see where this is being done,
however. :-(

Perhaps this is fixed in SVN but I'm not sure which package is doing
this -- beaker, pylons, something else? I'm using pretty recent code:

  AuthKit-0.3.0pre5-py2.4.egg
  Beaker-0.7.3-py2.4.egg
  FormEncode-0.7.1-py2.4.egg
  Mako-0.1.8-py2.4.egg
  Myghty-1.1-py2.4.egg
  Paste-1.4-py2.4.egg
  PasteDeploy-1.3.1-py2.4.egg
  PasteScript-1.3.5-py2.4.egg
  Pylons-0.9.5-py2.4.egg
  Routes-1.7-py2.4.egg
  WSGIUtils-0.7-py2.4.egg
  WebHelpers-0.3-py2.4.egg

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to