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

    DWC plugin uninstallation issue on Armbian SBC

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    2
    3
    236
    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.
    • Falcounetundefined
      Falcounet
      last edited by

      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 getting ArgumentException 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-b494305c06eb76f8c94cc28110419e5b82dc18da06e884f0cee4a36b04f4ebf0

      As 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 by GetPermissions 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 the stat command is applied (the pathname 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 ?

      0 chrishamm committed to Duet3D/DuetSoftwareFramework
      Version 3.4-rc1 candidate
      
      Added new ReadThumbnailContent field to GetFileInfo API call
      Added support for parsing the number of total layers (e.g. NUM_LAYERS 123)
      Made class libraries compatible to netstandard2.1
      Renamed ParsedFileInfo and ParsedThumbnail classes to GCodeFileInfo and ThumbnailInfo
      Updated object model, unit tests, and components
      Bug fix: Tool for custom HTTP endpoints did not replace query values when starting other programs
      Bug fix: Packaged plugins (like duetpimanagementplugin) could be uninstalled using DWC
      1 Reply Last reply Reply Quote 1
      • noobydpundefined
        noobydp
        last edited by

        I also have this error (running on RPI 4 with dietpi image).

        I cannot uninstall the BtnCmd plugin, or a custom one I wrote.

        91572e08-524c-494a-877f-16782c9fdf21-image.png

        Falcounetundefined 1 Reply Last reply Reply Quote 0
        • Falcounetundefined
          Falcounet @noobydp
          last edited by Falcounet

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

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