Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Error when running without heated bed #399
I'm working on a new printer, and since I use PLA, I've neglected to attach a heated bed. However, Octoprint will not connect when the heated bed is disabled or disconnected. I get the following error:
2014-03-01 18:16:15,490 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_dev-py2.7.egg/octoprint/util/comm.py", line 618, in _monitor self._callback.mcTempUpdate(self._temp, self._bedTemp) File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_dev-py2.7.egg/octoprint/printer.py", line 444, in mcTempUpdate self._addTemperatureData(temp, bedTemp) File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_dev-py2.7.egg/octoprint/printer.py", line 359, in _addTemperatureData "actual": bedTemp, TypeError: 'int' object has no attribute '__getitem__'
This seems to occur when either a heated bed is not defined (and M105 returns only hotend temp) or is defined and not connected (and M105 returns B:inf for the bed portion).
For reference: this is with the devel branch on Raspbian, and my firmware is Smoothie.