I tried to upgrade version 1.89.1 to 1.89.3. I got the following error.
I´m running Linux, Apache and mod_wsgi. Is this too an file permission
problem. I still can´t create a new application with admin. Don´t know
where to start looking for the problem.
Kenneth
Version
web2py™ Version 1.89.1 (2010-11-12 15:14:36)
Python Python 2.6.5: /usr/bin/python
Traceback
Traceback (most recent call last):
File "/data/domains/web2py/gluon/restricted.py", line 188, in restricted
exec ccode in environment
File "/data/domains/web2py/applications/admin/controllers/default.py",
line 1146, in <module>
File "/data/domains/web2py/gluon/globals.py", line 96, in <lambda>
self._caller = lambda f: f()
File "/data/domains/web2py/applications/admin/controllers/default.py",
line 200, in upgrade_web2py
(success, error) = upgrade(request)
File "/data/domains/web2py/gluon/admin.py", line 427, in upgrade
file.close()
UnboundLocalError: local variable 'file' referenced before assignment
Error snapshot help Detailed traceback description
<type 'exceptions.UnboundLocalError'>(local variable 'file' referenced
before assignment)