Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    DWC 3.2.2 Plugin Install Error

    Scheduled Pinned Locked Moved
    DSF Development
    3
    4
    350
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MintyTreborundefined
      MintyTrebor
      last edited by MintyTrebor

      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)

      NodeDSF - Native Node-Red integration with Duet boards.
      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
      ReleaseMgr - Duet update info inside DWC.
      Repo

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Thanks. Will have @chrishamm take a look when he returns.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 1
        • chrishammundefined
          chrishamm administrators
          last edited by

          @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.

          Duet software engineer

          MintyTreborundefined 1 Reply Last reply Reply Quote 0
          • MintyTreborundefined
            MintyTrebor @chrishamm
            last edited by

            @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.

            NodeDSF - Native Node-Red integration with Duet boards.
            BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
            ReleaseMgr - Duet update info inside DWC.
            Repo

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA