Re: help installing on GAE 1.1.9

2009-03-09 Thread Bayle
Did the solution in my previous posts in this thread (http:// groups.google.com/group/pylons-discuss/msg/736a388d21c206ec and http://groups.google.com/group/pylons-discuss/msg/ed62a408ebe40ae3 ; basically, to get rid of the 'module' object has no attribute 'find_module' error, as root, I

Re: At which point does i18n magic occur?

2009-03-09 Thread Ben Bangert
On Mar 8, 2009, at 5:01 PM, uwe wrote: After experimenting I found I could override the _() call in the mako template with % from testapp.lib.i18n import _ % however this is somewhat labor intensive and I'd like to find a way to override this in one place for all templates. Any suggestion

Re: At which point does i18n magic occur?

2009-03-09 Thread Uwe Feldtmann
Ben Bangert wrote: On Mar 8, 2009, at 5:01 PM, uwe wrote: After experimenting I found I could override the _() call in the mako template with % from testapp.lib.i18n import _ % however this is somewhat labor intensive and I'd like to find a way to override this in one place for all

Re: 'who is online' feature

2009-03-09 Thread zepolen
Add a 'last_action' datetime column to your user database, and do: UPDATE users SET last_action = now() WHERE username = 'someuser' on every nth request a (logged in) user does. As for getting the current logged in users SELECT username FROM users WHERE last_action now() - interval '2

Re: 'who is online' feature

2009-03-09 Thread Jonathan Vanasco
On Mar 9, 7:33 am, zepolen zepo...@gmail.com wrote: Add a 'last_action' datetime column to your user database, and do: UPDATE users SET last_action = now() WHERE username = 'someuser' on every nth request a (logged in) user does. As for getting the current logged in users SELECT username

Re: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-09 Thread Ross Vandegrift
On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote: On Mar 6, 2009, at 2:34 PM, Ross Vandegrift wrote: I've got: config['pylons.request_options']['charset'] = None config['pylons.response_options']['charset'] = 'iso-8859-1' in my config/environment.py. This should

KeyError on @validate failure after 0.9.7 upgrade

2009-03-09 Thread captsens
Hi folks I'm trying to upgrade an application from 0.9.6 to 0.9.7, and I'm stuck on the last bug. Whenever any of my formencode schemas cause validation to fail (via the @validate decorator on form POST), I lose all the request params when the request is redirected to my form display method.

Re: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-09 Thread Ross Vandegrift
On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote: This should work: config['pylons.request_options']['charset'] = None Maybe you don't have this line at the end of the environment.py? It should come after config.init_app You can check request.charset later for what this

pylonshq issue tracker disappeared

2009-03-09 Thread Wichert Akkerman
I'm not sure if anyone already noticed, but at the risk of repeating the message: the issue tracker on pylonshq.com no longer works. All relevant URLs return a 404. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard

Beaker repeats every get

2009-03-09 Thread Wichert Akkerman
I was looking a bit at the memcache handling and noticed something odd: all requests were repeated. For example: 11 get tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None 11 sending key tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None 11 END 11 get

Re: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-09 Thread Philip Jenvey
On Mar 9, 2009, at 12:53 PM, Ross Vandegrift wrote: On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote: This should work: config['pylons.request_options']['charset'] = None Maybe you don't have this line at the end of the environment.py? It should come after config.init_app

Re: Beaker repeats every get

2009-03-09 Thread Ben Bangert
On Mar 9, 2009, at 1:13 PM, Wichert Akkerman wrote: I was looking a bit at the memcache handling and noticed something odd: all requests were repeated. For example: 11 get tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None 11 sending key