Hello.

I am hosting a personal app on Pythonanywhere which was working smoothly 
until i decided to update web2py.
A couple of days ago, I tried to update to update web2py.
It failed with an error stating __init__.py file is missing, but the app 
continued to work as usual.

Tomorrow, for no particular reason I clicked the green button in 
PythonAnywhere console which says: "Reload ###.pythonanywhere.com".
The app immediately stopped working and the error log showed these errors:

2015-02-28 04:45:01,615 :ImportError: No module named base
2015-02-28 04:45:02,000 :Traceback (most recent call last):
2015-02-28 04:45:02,000 :  File "/bin/user_wsgi_wrapper.py", line 130, in 
__call__
2015-02-28 04:45:02,000 :    self.error_log_file.logger.exception("Error 
running WSGI application")
2015-02-28 04:45:02,000 :  File "/usr/lib/python2.7/logging/__init__.py", 
line 1185, in exception
2015-02-28 04:45:02,001 :    self.error(msg, *args, **kwargs)
2015-02-28 04:45:02,001 :  File "/usr/lib/python2.7/logging/__init__.py", 
line 1178, in error
2015-02-28 04:45:02,001 :    self._log(ERROR, msg, args, **kwargs)
2015-02-28 04:45:02,001 :  File "/usr/lib/python2.7/logging/__init__.py", 
line 1270, in _log
2015-02-28 04:45:02,001 :    record = self.makeRecord(self.name, level, fn, 
lno, msg, args, exc_info, func, extra)
2015-02-28 04:45:02,001 :  File "/usr/lib/python2.7/logging/__init__.py", 
line 1244, in makeRecord
2015-02-28 04:45:02,002 :    rv = LogRecord(name, level, fn, lno, msg, 
args, exc_info, func)
2015-02-28 04:45:02,002 :  File "/usr/lib/python2.7/logging/__init__.py", 
line 284, in __init__
2015-02-28 04:45:02,002 :    self.threadName = 
threading.current_thread().name
2015-02-28 04:45:02,002 :  File "/usr/lib/python2.7/threading.py", line 
1160, in currentThread
2015-02-28 04:45:02,002 :    return _active[_get_ident()]
2015-02-28 04:45:02,002 :  File "/bin/user_wsgi_wrapper.py", line 122, in 
__call__
2015-02-28 04:45:02,002 :    app_iterator = self.app(environ, 
start_response)
2015-02-28 04:45:02,002 :  File "/bin/user_wsgi_wrapper.py", line 136, in 
import_error_application
2015-02-28 04:45:02,003 :    raise e

"/bin/user_wsgi_wrapper.py"
"/usr/lib/python2.7/logging/__init__.py"
"/usr/lib/python2.7/threading.py"

This is surely related to the failed update.
Not sure which of these files are the culprits?

Please help.

Thanks.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to