Describe the bug
Inside octoprint.log the following error si shown:
TypeError: argument of type 'NoneType' is not iterable
To Reproduce
Just lock into octoprint.log after plugin was installed (and activated)
Expected behavior
No error
Screenshots
n/a
Environment information:
Octoprint Version: 1.8.4
Browser: chrome,
Python Version: 3.9.2
Operating system that Octoprint is running on: PI3: Debian GNU/Linux 11 (bullseye)
Additional context
snipped from octoprint.log:
2022-10-04 20:42:44,704 - octoprint.plugins.stats - INFO - Printer Stats - on_event
2022-10-04 20:42:44,704 - octoprint.plugin - ERROR - Error while calling plugin stats
Traceback (most recent call last):
File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint/plugin/init.py", line 273, in call_plugin
result = getattr(plugin, method)(*args, *kwargs)
File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint/util/init.py", line 1688, in wrapper
return f(args, **kwargs)
File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint_stats/init.py", line 801, in on_event
if "owner" not in payload:
TypeError: argument of type 'NoneType' is not iterable
Describe the bug Inside octoprint.log the following error si shown: TypeError: argument of type 'NoneType' is not iterable
To Reproduce Just lock into octoprint.log after plugin was installed (and activated)
Expected behavior No error
Screenshots n/a
Environment information:
Additional context snipped from octoprint.log: 2022-10-04 20:42:44,704 - octoprint.plugins.stats - INFO - Printer Stats - on_event 2022-10-04 20:42:44,704 - octoprint.plugin - ERROR - Error while calling plugin stats Traceback (most recent call last): File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint/plugin/init.py", line 273, in call_plugin result = getattr(plugin, method)(*args, *kwargs) File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint/util/init.py", line 1688, in wrapper return f(args, **kwargs) File "/home/pi/OctoPrint/lib/python3.9/site-packages/octoprint_stats/init.py", line 801, in on_event if "owner" not in payload: TypeError: argument of type 'NoneType' is not iterable