Skip to content

Instantly share code, notes, and snippets.

@stema12
Created July 28, 2016 20:46
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 stema12/098f5637831a438eca0fd9b01aa41771 to your computer and use it in GitHub Desktop.
Save stema12/098f5637831a438eca0fd9b01aa41771 to your computer and use it in GitHub Desktop.
Exception in thread comm._monitor:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/________/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.14-py2.7.egg/octoprint/util/comm.py", line 943, in _monitor
if not self._openSerial():
File "/home/________/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.14-py2.7.egg/octoprint/util/comm.py", line 1571, in _openSerial
self._changeState(self.STATE_OPEN_SERIAL)
File "/home/________/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.14-py2.7.egg/octoprint/util/comm.py", line 359, in _changeState
self._callback.on_comm_state_change(newState)
File "/home/________/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/OctoPrint-1.2.14-py2.7.egg/octoprint/printer/standard.py", line 941, in on_comm_state_change
self._setState(state, state_string=state_string)
UnboundLocalError: local variable 'state_string' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment