Created
January 21, 2018 21:35
-
-
Save tedder/5ac8faaaa25738e64ed7a6bbdf791c5d to your computer and use it in GitHub Desktop.
octoprint 500 error from upload with invalid extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-01-21 21:23:55,291 - octoprint - ERROR - Exception on /api/files/local [POST] | |
Traceback (most recent call last): | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/server/util/flask.py", line 1114, 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.11-py2.7.egg/flask_login.py", line 758, in decorated_view | |
return func(*args, **kwargs) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/server/api/files.py", line 348, in uploadGcodeFile | |
display=canonFilename) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/filemanager/__init__.py", line 473, in add_file | |
self._analysis_queue.dequeue(queue_entry) | |
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/filemanager/analysis.py", line 86, in dequeue | |
if not entry.type in self._queues: | |
AttributeError: 'NoneType' object has no attribute 'type' | |
2018-01-21 21:23:55,297 - tornado.access - ERROR - 500 POST /api/files/local (127.0.0.1) 4902.57ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment