On Jun 10, 6:53 pm, Mike Orr <[email protected]> wrote:
> This is the same error I reported yesterday, but I haven't seen any
> diagnosis yet.  I'll have to disable @beaker_cache in the meantime.

That's odd, I could have sworn that I posted something on this a
couple of weeks ago ... but it seems to have vanished into the aether.
P'raps I dreamed it.

I couldn't get either of the examples provided in Ben's blog post to
work in Pylons as is.

Using the cache decorator from pylons (tip) ...

I couldn't get @cache.region to work at all :-(

But I /did/ manage to get @cache.cache to work by supplying a
data_dir:

@cache.cache('foobar2', type='file',
    data_dir='./data/cache',
    expire=3600)

I haven't had an opportunity to work through the Pylons source to
either i) clarify my understanding or ii) track down the source of the
problem (delete as appropriate).

HTH.

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