OctoPrint-Slack
OctoPrint-Slack copied to clipboard
"KeyError: 'file'" Error
Hello,
I'm getting this error for the plugin.
2021-01-30 14:11:59,522 - octoprint.plugin - ERROR - Error while calling plugin slack
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/__init__.py", line 271, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/__init__.py", line 1890, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slack/__init__.py", line 98, in on_event
filename = os.path.basename(payload["file"])
KeyError: 'file'
I'm using the latest release of octoprint: 1.5.3 I'm using PrusaSlicer v 2.3.0
I did try reinstalling the plugin as well, same error.
Any thoughts?
Thanks, Will