You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm the author of the OctoRant plugin, a plugin that sends messages from OctoPrint to Discord using Webhooks.
A user has reported a bug where OctoRant is not sending any message when used in combination with MultiCam.
After investigation the crash happens when my plugin calls take_webcam_snapshot(). According to the docs, I call take_webcam_snapshot() with a string containing the webcam's name, but your plugin seems to expect a complete Webcam object, according to __init__.py:159.
Looking further it seems that even OctoPrint's own timelapse plugin is sending a full Webcam object, yet at some other places it sends only the name. Maybe I'll raise an issue on their side too.
The text was updated successfully, but these errors were encountered:
Given the doubts raised by reading OctoPrint source code about the usage of take_webcam_snapshot(), I've asked about it on the Discord server, I'll report back here when I have an answer.
Hello there,
I'm the author of the OctoRant plugin, a plugin that sends messages from OctoPrint to Discord using Webhooks.
A user has reported a bug where OctoRant is not sending any message when used in combination with MultiCam.
After investigation the crash happens when my plugin calls
take_webcam_snapshot()
. According to the docs, I calltake_webcam_snapshot()
with a string containing the webcam's name, but your plugin seems to expect a completeWebcam
object, according to__init__.py:159
.Looking further it seems that even OctoPrint's own timelapse plugin is sending a full
Webcam
object, yet at some other places it sends only the name. Maybe I'll raise an issue on their side too.The text was updated successfully, but these errors were encountered: