Skip to content

Instantly share code, notes, and snippets.

@imrahil
Created June 18, 2015 18:25
Show Gist options
  • Save imrahil/2e8d59604ca5490e99f5 to your computer and use it in GitHub Desktop.
Save imrahil/2e8d59604ca5490e99f5 to your computer and use it in GitHub Desktop.
error while saving settings
2015-06-18 20:24:16,319 - octoprint - ERROR - Exception on /api/settings [POST]
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/oprint/local/lib/python2.7/site-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 "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.0_dev_945_g1a1e3f2-py2.7.egg/octoprint/server/util/flask.py", line 363, in decorated_view
return flask.ext.login.login_required(func)(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask_Login-0.2.2-py2.7.egg/flask_login.py", line 637, in decorated_view
return func(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg/flask_principal/__init__.py", line 198, in _decorated
rv = f(*args, **kw)
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.0_dev_945_g1a1e3f2-py2.7.egg/octoprint/server/api/settings.py", line 238, in setSettings
plugin.on_settings_save(data["plugins"][plugin_id])
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.0_dev_945_g1a1e3f2-py2.7.egg/octoprint/plugins/softwareupdate/__init__.py", line 89, in on_settings_save
super(SoftwareUpdatePlugin, self).on_settings_save(data)
TypeError: super(type, obj): obj must be an instance or subtype of type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment