I'm trying to migrate a web2py app to a centos server that comes with Python
2.4.3
So far I hit errors with hashlib and uuid (easily fixed installing
python-hashlib and python-uuid). However now I have a problem with the code:

$ ./web2py.py
Traceback (most recent call last):
  File "./web2py.py", line 17, in ?
    import gluon.widget
  File "/opt/bzr/web2py/gluon/widget.py", line 30, in ?
    from main import HttpServer, save_password
  File "/opt/bzr/web2py/gluon/main.py", line 38, in ?
    from globals import Request, Response, Session
  File "/opt/bzr/web2py/gluon/globals.py", line 16, in ?
    from compileapp import run_view_in
  File "/opt/bzr/web2py/gluon/compileapp.py", line 23, in ?
    from sqlhtml import SQLFORM, SQLTABLE
  File "/opt/bzr/web2py/gluon/sqlhtml.py", line 37
    value='' if value is None else str(value),
              ^
SyntaxError: invalid syntax

Of course I can fix this and other problems I may find but maybe if you're
not supporting 2.4 anymore I should focus in installing 2.5 in this server.

Thanks in advance
Mariano

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to