Your suggestion just did the trick. But now I'm curious - what was the problem then??
On Friday, March 14, 2014 12:14:11 AM UTC+2, Massimo Di Pierro wrote: > > Another user has reported a similar problem on google app engine and it > was due to a circular reference. Strangely I could not reproduce it. > Anyway, it is fixed. > > My suggestion is try unzip in a different (new) folder and check if it > works. > > > > On Thursday, 13 March 2014 16:55:10 UTC-5, shapova...@gmail.com wrote: >> >> Thanks, just did it, unzipped >> http://www.web2py.com/examples/static/web2py_src.zip on top of web2py >> old install, now it says: >> >> [Thu Mar 13 23:49:54 2014] [error] [client ] from sqlhtml import >> SQLFORM, SQLTABLE >> [Thu Mar 13 23:49:54 2014] [error] [client ] File >> "/home/www-data/web2py/gluon/gluon/sqlhtml.py", line 35, in <module> >> [Thu Mar 13 23:49:54 2014] [error] [client ] from gluon.globals >> import current >> [Thu Mar 13 23:49:54 2014] [error] [client ] ImportError: cannot import >> name current >> >> in apache error.log >> >> Permissions for www dir look OK. >> >> it it only me with this kind of problems? >> >> >> On Tuesday, March 11, 2014 3:39:55 AM UTC+2, Massimo Di Pierro wrote: >>> >>> It is there: >>> https://github.com/web2py/web2py/blob/master/gluon/myregex.py#L24 >>> >>> something broke during your upgrade. Perhaps web2py did not have >>> permission to overwrite the files. >>> Download the latest web2py and unzip over the existing one. (make a >>> backup first). >>> >>> On Monday, 10 March 2014 19:11:08 UTC-5, shapova...@gmail.com wrote: >>>> >>>> Thanks form prompt reply! >>>> >>>> Upgrade from previous 2.9.3, >>>> >>>> Just did >>>> #apachectl restart >>>> >>>> and now it complains on wsgihandler.py >>>> >>>> [Tue Mar 11 02:07:03 2014] [notice] Apache/2.2.16 (Debian) >>>> PHP/5.3.3-7+squeeze18 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o >>>> mod_wsgi/3.3 Python/2.6.6 configured -- resuming normal operations >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] mod_wsgi (pid=1277): >>>> Target WSGI script '/home/www-data/web2py/wsgihandler.py' cannot be loaded >>>> as Python module. >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] mod_wsgi (pid=1277): >>>> Exception occurred processing WSGI script >>>> '/home/www-data/web2py/wsgihandler.py'. >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] Traceback (most recent >>>> call last): >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] File >>>> "/home/www-data/web2py/wsgihandler.py", line 37, in <module> >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] import gluon.main >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] File >>>> "/home/www-data/web2py/gluon/__init__.py", line 21, in <module> >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] from compileapp import >>>> LOAD >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] File >>>> "/home/www-data/web2py/gluon/compileapp.py", line 26, in <module> >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] from gluon.myregex >>>> import regex_expose, regex_longcomments >>>> [Tue Mar 11 02:07:12 2014] [error] [client ] ImportError: cannot import >>>> name regex_longcomments >>>> >>>> >>>> >>>> >>>> On Tuesday, March 11, 2014 2:04:15 AM UTC+2, Massimo Di Pierro wrote: >>>>> >>>>> What did you upgrade from? You may have to restart web2py. >>>>> >>>>> On Monday, 10 March 2014 19:02:55 UTC-5, shapova...@gmail.com wrote: >>>>>> >>>>>> Just hit upgrade now to Version 2.9.4 button and in >>>>>> web2py/applications/admin/errors: >>>>>> >>>>>> sssg317 >>>>>> S'Traceback (most recent call last):\n File >>>>>> "/home/www-data/web2py/gluon/restricted.py", line 217, in restricted\n >>>>>> exec ccode in environment\n File >>>>>> "/home/www-data/web2py/applications/admin/controllers/default.py", line >>>>>> 16, >>>>>> in <module>\n from gluon.compileapp import >>>>>> find_exposed_functions\nImportError: cannot import name >>>>>> find_exposed_functions\n' >>>>>> p553 >>>>>> >>>>>> >>>>>> Any ideas? >>>>>> >>>>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.