Octoprint.plugins.enclosure " 'NoneType' object not iterable" error

What is the problem?

octoprint suddenly refuses to start

What did you already try to solve it?

restart octoprint
looked at error log

Have you tried running in safe mode?


Did running in safe mode solve the problem?


Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1200
env.hardware.ram: 917016576
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 3 Model B Rev 1.2
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_state: 0x50000
env.python.pip: 19.3.1
env.python.version: 2.7.16
env.python.virtualenv: true
octoprint.safe_mode: true
octoprint.version: 1.5.3
printer.firmware: Marlin Creality 3D

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

log from failed session has
octoprint.plugins.enclosure " 'NoneType' object not iterable" error repeated many times
and performance is horrible
10 seconds to respomd to a simple command throgh a putty window

You've looked at the log, but not managed to upload it here so anyone else can do? We can't do much to help that.

You are also using an old version of OctoPrint with an old, unsupported version of Python, it probably makes more sense for you to try and create a backup and update your install to the up-to-date version - that will fix this problem and all the rest that may happen because of being on an outdated system. Even once you do fix the issue at hand, I would strongly recommend upgrading anyway.