Trying to force install plugin
-
@Phaedrux
That's the weird bit. I tried pretty much every compression method that 7zip offers. Only tried .zip architecture though, not any other format like .7z.I couldn't find any documentation for what type of compression DWC requires, so I am going in a bit blind.
-
Do you have plugin.json in the root?
-
https://github.com/Duet3D/DuetWebControl/wiki/Third-Party-Plugins
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.
-
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 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):
- Your editor should be set to use linux line endings (LF)
- 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)My system is in being rebuilt at the moment so I cannot test.
-
@stuartofmt
Thanks for this, I will test it tomorrow when im back in the factory -
@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.
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
-
@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. -
@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.
-
Try this. It is "grubby" in that it has this:
"dwcVersion": "3", "sbcDsfVersion": "3",
so it will basically accept any combination of 3.x -
@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:
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 -
@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.