alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

Admin application not compatible with Python 2.4 #163

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

From Kimmo...@gmail.com on January 25, 2011 07:06:21

What steps will reproduce the problem? 1. Have mod_wsgi use Python 2.4

  1. Access /admin/default/design/welcome with browser

Expected to see design view of welcome application. Instead I receive error with following traceback:

Traceback (most recent call last): File "/var/www/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/var/www/web2py/applications/admin/views/default/design.html", line 287, in ?

{{=T('There are no plugins')}}

NameError: name 'all' is not defined

I'm using web2py version 1.91.6 and mod_wsgi 3 compiled with Python 2.4

Apparently all() is new in Python 2.5 and thus fails on 2.4

Original issue: http://code.google.com/p/web2py/issues/detail?id=165

alfonsodg commented 10 years ago

From massimo....@gmail.com on January 26, 2011 20:52:20

thanks for the report

Status: Fixed