Forums

Unhandled Exception Error

Every-time i try to open the site link i get this message ,"Unhandled Exception"

This is the log file

2014-07-22 15:29:07,728 :Traceback (most recent call last):

2014-07-22 15:29:07,729 : File "/bin/user_wsgi_wrapper.py", line 67, in call

2014-07-22 15:29:07,729 : self.error_log_file.logger.exception("Error running WSGI application")

2014-07-22 15:29:07,729 : File "/usr/lib/python2.7/logging/init.py", line 1183, in exception

2014-07-22 15:29:07,730 : self.error(msg, args, *kwargs)

2014-07-22 15:29:07,730 : File "/usr/lib/python2.7/logging/init.py", line 1176, in error

2014-07-22 15:29:07,730 : self._log(ERROR, msg, args, **kwargs)

2014-07-22 15:29:07,730 : File "/usr/lib/python2.7/logging/init.py", line 1268, in _log

2014-07-22 15:29:07,730 : record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)

2014-07-22 15:29:07,731 : File "/usr/lib/python2.7/logging/init.py", line 1242, in makeRecord

2014-07-22 15:29:07,731 : rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)

2014-07-22 15:29:07,731 : File "/usr/lib/python2.7/logging/init.py", line 284, in init

2014-07-22 15:29:07,731 : self.threadName = threading.current_thread().name

2014-07-22 15:29:07,731 : File "/usr/lib/python2.7/threading.py", line 1158, in currentThread

2014-07-22 15:29:07,732 : return _active[_get_ident()]

2014-07-22 15:29:07,732 : File "/bin/user_wsgi_wrapper.py", line 59, in call

2014-07-22 15:29:07,732 : app_iterator = self.app(environ, start_response)

2014-07-22 15:29:07,732 : File "/bin/user_wsgi_wrapper.py", line 73, in import_error_application

2014-07-22 15:29:07,732 : raise e

2014-07-22 15:29:07,732 :ImportError: No module named flask_oauthlib.client

The last line of that stack trace shows what the problem is: flask_oauthlib isn't installed.

You'll need to install it - remember that as you're not using a virtualenv, you'll need to pass the --user flag in your pip command.

pip install --user flask-oauthlib

Just what he said :-)

I have this same problem: how do I install it?

Check out the help pages for how to install python libraries.