Tim sent me a patch that should make Rocket compatible with 2.4. It is
in trunk. Can you please try it and let us know?

Massimo

On Jun 13, 10:09 pm, Cory Coager <ccoa...@gmail.com> wrote:
> Another problem is, I can't launch from the cli because the rocket
> module doesn't work with python2.4:
>
> -bash-3.2$ python web2py.py -i 127.0.0.1 -p 8001 -a 'password'
> sh: ifconfig: command not found
> WARNING:root:unable to import Rocket
> web2py Enterprise Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2010
> Version 1.79.2 (2010-06-08 22:45:26)
> Database drivers available: MySQL, PostgreSQL
> Starting hardcron...
> please visit:
>        http://127.0.0.1:8001
> use "kill -SIGTERM 21185" to shutdown the web2py server
> Traceback (most recent call last):
>   File "web2py.py", line 20, in ?
>     gluon.widget.start(cron=True)
>   File "/path/to/gluon/widget.py", line 863, in start
>     path=options.folder)
>   File "/path/to/gluon/main.py", line 618, in __init__
>     rocket.SERVER_NAME = server_name
> NameError: global name 'rocket' is not defined

Reply via email to