On Thu, Aug 23, 2007 at 06:16:35PM -0700, Mike Orr wrote:
> What are the cache and session config variables in 0.9.6?  I upgraded
> my application with "paster create" and it contained:
> 
>     beaker.session.key = ...
>     beaker.session.secret = ...
>     cache_dir = %(here)s/data
>     cache_enabled = true
>     cache.data = 3600
>     cache.static = 3600
> 
> I had defined cache.data and cache.static for my own use.

A freshly created project reads:

cache_dir = %(here)s/data
beaker.session.key = foo
beaker.session.secret = somesecret
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions

> At some point I got a DeprecationWarning that all "cache_" variables
> should be changed to "cache.".  Looking back, it must have been
> "cache_enabled" that triggered it.  So I changed the underscores to
> dots, and later noticed a "None" directory in my application,

Try the above settings (beaker.cache.*). Might be the cause.

Cheers
 Christoph


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