Skip to content

Instantly share code, notes, and snippets.

@AmedeeBulle
Created August 21, 2014 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmedeeBulle/f2a02d86aee4f8c8dea0 to your computer and use it in GitHub Desktop.
Save AmedeeBulle/f2a02d86aee4f8c8dea0 to your computer and use it in GitHub Desktop.
Octoprint logout stack trace
2014-08-21 14:36:12,672 - octoprint - ERROR - Exception on /api/logout [POST]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1344, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.2.0_dev_118_gfbd9440-py2.7.egg/octoprint/server/util/flask.py", line 136, in decorated_view
return flask.ext.login.login_required(func)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/Flask_Login-0.2.2-py2.7.egg/flask_login.py", line 637, in decorated_view
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.2.0_dev_118_gfbd9440-py2.7.egg/octoprint/server/api/__init__.py", line 239, in logout
del session[key]
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/local.py", line 342, in __delitem__
del self._get_current_object()[key]
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/datastructures.py", line 202, in oncall
rv = getattr(super(UpdateDictMixin, self), name)(*args, **kw)
KeyError: 'identity.id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment