I do not have enough information to debug this. I suggest get 1.89.3 and see if you still have the problem, then I will suggest a test.
Massimo On Nov 18, 6:06 am, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > What can I do to fix this? What kind of path issue is this? > > Kenneth > > > hmmm. I can make the error go away but this is a path issue > > > On Nov 17, 3:31 pm, Kenneth Lundstr m<kenneth.t.lundst...@gmail.com> > > wrote: > >> 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) > >