Do beaker session store supports using memcached ?

2008-12-30 Thread Tycon
Cause if I use this setting in development.ini : beaker.session.type = ext:memcached beaker.session.url = 127.0.0.1:11211 then if I try to access the session global, I get this error: NotImplementedError: Memcache caching does not support iteration of all cache keys This is raised from Module

Unicode routes

2008-12-30 Thread Wichert Akkerman
I am trying to use unicode URLs and routes, but as far as I can see routes does not quite support this at the moment: generating a route with a non-ascii component fails (see http://routes.groovie.org/trac/routes/ticket/85) and incoming requests data is return as ASCII strings, not decoded

Re: Unicode routes

2008-12-30 Thread Dalius Dobravolskas
Hello, (see http://routes.groovie.org/trac/routes/ticket/85) The first impression about this ticket is that non unicode and non utf-8 encoded string was passed to routes. Most probably string was in some local encoding. That's only my impression. I wonder why this ticket is still open. Maybe

Re: Unicode routes

2008-12-30 Thread Wichert Akkerman
Previously Dalius Dobravolskas wrote: Hello, (see http://routes.groovie.org/trac/routes/ticket/85) The first impression about this ticket is that non unicode and non utf-8 encoded string was passed to routes. Most probably string was in some local encoding. That's only my impression. I

Re: Unicode routes

2008-12-30 Thread Audrius Kažukauskas
On Tue, 2008-12-30 at 13:34:14 +0100, Wichert Akkerman wrote: I am trying to use unicode URLs and routes, but as far as I can see routes does not quite support this at the moment: generating a route with a non-ascii component fails (see http://routes.groovie.org/trac/routes/ticket/85) and

Re: Do beaker session store supports using memcached ?

2008-12-30 Thread Mike Orr
On Tue, Dec 30, 2008 at 1:10 PM, Tycon adie...@gmail.com wrote: So I guess no one is actually using memcached for storing sessions ? Or of you do, do you define your own memcached interface instead of the Beaker memcached interface for session storage ? I haven't use memcached, and I doubt

Re: Do beaker session store supports using memcached ?

2008-12-30 Thread Tycon
Let me clarify that using memcached in beaker doesn't work ONLY FOR STORING SESSIONS. It does work for regular caching in beaker (e.g. using @beaker_cache decorator to cache controller actions etc). This is not a bug, it's basically an incorrect implementation, which uses wrong design and is

Re: Do beaker session store supports using memcached ?

2008-12-30 Thread Ben Bangert
On Dec 30, 2008, at 3:09 PM, Tycon wrote: It does work for regular caching in beaker (e.g. using @beaker_cache decorator to cache controller actions etc). This is not a bug, it's basically an incorrect implementation, which uses wrong design and is completely untested. For storing sessions in