What steps will reproduce the problem? 1. Have mod_wsgi use Python 2.4
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
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
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