DWC plugin uninstallation issue on Armbian SBC
-
Hello,
I'm having an issue while trying to uninstall a plugin from DWC on a SBC running Armbian (not a Raspberry Pi).
I'm gettingArgumentException in UninstallPlugin: Failed to get file info (error 22)
.After some research, I noticed this happens from DSF version above 3.4-b7.
After looking at the changes made since, I think the issue comes from this commit : https://github.com/Duet3D/DuetSoftwareFramework/commit/7739e916c8fb6595d4ae73fc5d1bac131edf5df6#diff-b494305c06eb76f8c94cc28110419e5b82dc18da06e884f0cee4a36b04f4ebf0As I understand, this commit add a check to prevent uninstallation of plugins like duetpimanagement.
I would like to understand why the
stat
command from LinuxAPI and used byGetPermissions
method fails.I tried enabling the trace log level but it doesn't give more useful info.
The error message doesn't give any info on what file thestat
command is applied (thepathname
variable value).
I could add these infos to the source myself but I don't have any clue how to build the binaries.Would it be possible to add the pathname variable value and the stat command result value in the exception message to help to track down the issue ?
Any more clue about that issue ? -
I also have this error (running on RPI 4 with dietpi image).
I cannot uninstall the BtnCmd plugin, or a custom one I wrote.
-
@noobydp Funnily I worked on this yesterday and I found both the cause and a fix.
I still need to do some testing with the DuetPi image and I will post a PR on DSF.Can you post here the result of
uname -a
please ?