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

    Trying to force install plugin

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    4
    15
    631
    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.
    • Notepadundefined
      Notepad @Phaedrux
      last edited by

      @Phaedrux

      Do you have plugin.json in the root?

      Yup still there

      It looks like the zip is created during the build process for the plugin. So unzipping, modifying, and re-zipping it doesn't seem possible. You may need to modify the source and rebuild.

      Ahh, that would explain it

      The real bamboo printer manufacturer

      stuartofmtundefined 1 Reply Last reply Reply Quote 0
      • stuartofmtundefined
        stuartofmt @Notepad
        last edited by

        The motion plugin simply invokes the motion software without any of the UI dependencies of other types of plugins. In this circumstance, it does not have to be rebuilt i.e. you should be able to unzip, edit plugin.json and rezip.

        A couple of things to watch (just in case):

        1. Your editor should be set to use linux line endings (LF)
        2. The only line in plugin.json that you need to change should be this:
          "sbcDsfVersion": "3.5", e.g. to "sbcDsfVersion": ">3.5",

        Whenever I do this sort of thing, I just use windows (11) compress to zip.
        Try this zip (remove .txt from filename)

        motion-gt-3.5.zip.txt

        My system is in being rebuilt at the moment so I cannot test.

        Notepadundefined 2 Replies Last reply Reply Quote 1
        • Notepadundefined
          Notepad @stuartofmt
          last edited by

          @stuartofmt
          Thanks for this, I will test it tomorrow when im back in the factory

          The real bamboo printer manufacturer

          1 Reply Last reply Reply Quote 0
          • Notepadundefined
            Notepad @stuartofmt
            last edited by

            @stuartofmt
            Ive doubled checked my editor - for simple stuff like this I just use notepad++, and I am indeed in LF mode - unfortunately even with this, when i Zip the file, uploading it just doesn't product the dialog box to continue the install.

            I have tried your .zip and it uploads fine and actually gets the dialog box appearing.
            However no dice.
            a8f1d18d-eae6-44de-8cf8-038a335b1244-{7AA9E3E1-9D45-4BB2-AD96-A1055DA5C171}.png

            What i don't understand is what process I am incorrectly following. I may make a little youtube video of the steps im doing to see if there are any obvious problems im just not spotting

            The real bamboo printer manufacturer

            stuartofmtundefined 1 Reply Last reply Reply Quote 0
            • stuartofmtundefined
              stuartofmt @Notepad
              last edited by

              @Notepad
              I have no idea what the zip file issue is. What happens if you extract my zip file then re-zip it ? It may be the zip mechanism itself.

              Regarding the latest error, I believe its telling you that there is a mismatch between the version of RepRapFirmware and Duet Software Framework. Specifically, the Duet Software Framework is not at the correct level.
              I'd suggest reinstalling and making sure all the versions match.

              Notepadundefined 1 Reply Last reply Reply Quote 0
              • Notepadundefined
                Notepad @stuartofmt
                last edited by

                @stuartofmt
                Im definitely starting to think its a Ziping issue. as re-compressing your file also does not work.

                Its weird as Im both using the Win11 standard zip service, as well as 7Zip just in case it was win11 being jank again.

                The real bamboo printer manufacturer

                stuartofmtundefined 1 Reply Last reply Reply Quote 0
                • stuartofmtundefined
                  stuartofmt @Notepad
                  last edited by

                  @Notepad

                  Try this. It is "grubby" in that it has this:
                  "dwcVersion": "3", "sbcDsfVersion": "3",
                  so it will basically accept any combination of 3.x

                  Motion 3.zip.txt

                  Notepadundefined 1 Reply Last reply Reply Quote 0
                  • Notepadundefined
                    Notepad @stuartofmt
                    last edited by

                    @stuartofmt I GOT IT WORKING, and your "grubby" fix did the job perfectly

                    I kid you not, the thing that was holding it back was this:
                    What not to click:
                    b94e1e47-3fc7-4461-acd0-67634748c24d-{3F24BC93-B7D3-4524-8FEA-5929FD5DE236}.png

                    Instead click on the additional options
                    And manually select ZIP again, and then it works..... Yup. 7Zip didnt work even if you select ZIP compression, Same with Win11's default. but additional options somehow works 🤷

                    The real bamboo printer manufacturer

                    stuartofmtundefined axiomundefined 2 Replies Last reply Reply Quote 0
                    • stuartofmtundefined
                      stuartofmt @Notepad
                      last edited by

                      @Notepad
                      Good to hear! Just to reiterate:

                      Its usual to have all the software at the same release level to avoid possible (untested) conflicts and

                      Most plugins are at least least major.minor version specific. In this case it does not matter since its just invoking whatever version of motion you have installed.

                      1 Reply Last reply Reply Quote 1
                      • Notepadundefined Notepad referenced this topic
                      • axiomundefined
                        axiom @Notepad
                        last edited by

                        @Notepad Thank you very much, unfortunately I only have the option to install the plugin...perhaps the other options are no longer available in version 3.5.4?

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