Closed Ghostkeeper closed 4 years ago
Thanks for the report @Ghostkeeper - I appreciate it 👍
self._snapshot gets set via a call to cura.Snapshot.snapshot() - but looking at the source I see that this can return None in some cases and due to some other errors. I've added additional checks for bmpData is None
and self._snapshot is None
in the plugin, tested it by forcing the variables to be None inside the function. After the additional checks the plugin doesn't crash.
I've submitted version 0.6.2 via the Ultimaker portal that contains the fixes.
Cheers!
The new plugin is now published in the Ultimaker Marketplace - thanks for the helpful bug report @Ghostkeeper!
We got this issue report through Cura's issue reporter. Cura was crashing somewhere in this plug-in. I thought I'd share it with you guys.
AttributeError Dremel3D20.Dremel3D20 in getBitmapBytes
'NoneType' object has no attribute 'save'
It seems that
self._snapshot
can containNone
?