DWC 3.2.2 Plugin Install Error
-
When I try to install a new custom plugin I have developed on a Duet2 Ethernet running 3.2.2, I am getting the following error:
Failed to decompress files cannot convert or null to object.
This does not happen when I install the plugin on a Board + DSF/SBC 3.2.2 configuration.
The weird thing is the plugin actually does install, and is fully functional, so the error seems somewhat spurious.
I would like to know if anyone has any ideas what could be causing it before I release the Plugin.
Thanks
Update: I re-compiled the plugin for release 3.3b2 and the error has gone. Must be a 3.2 issue...
Update2: 3.3b2 - Unable to install newer release of plugin without uninstalling existing plugin first. Err = Installation failed!
TypeError: m.dwcFiles is undefined. After uninstalling, plugin installs correctly.(Not sure if these updates are valuable or should be issues on github - let me know if you would prefer me to move)
-
Thanks. Will have @chrishamm take a look when he returns.
-
@MintyTrebor Can you please share your plugin ZIP file? I'd like to reproduce it.
Be aware that it isn't recommended to publish plugins for DWC 3.XX, it's much better to specify a dependency to the minor version as well. The plugin manifest in v3.3 will change slightly as well.
-
@chrishamm you can get the plugin here https://github.com/MintyTrebor/BtnCmd/releases
I'm creating separate versions for 3.2 & 3.3 - they are both available in the releases.
I think the plugin is almost ready to go - I'm just resolving some dynamic layout issues. So it should functionally work OK.
Thanks for looking at the issue.