Getting an IndexError on the command line output of Octoprint #308
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I set up Octoprint on a test Raspberry Pi 3B+ to try out the Enclosure plugin. I added 1 DHT11 temperature sensor, configured it and it works as advertised. I can see the temperature and humidity from the sensor.
I noticed in the shell window where I manually started Octoprint, that the following message repeats every few seconds. I'm a developer and I would say you need to add a check for the list size prior to trying to pop an item off it. Here is the message:
2020-04-06 15:47:00,958 - octoprint.plugins.enclosure - WARNING - An exception of type IndexError occurred on log_error. Arguments: ('pop from empty list',)
Really liking this plug-in.