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

Plugin shows as partially started - is this correct?

Scheduled Pinned Locked Moved Solved
Plugins for DWC and DSF
3
5
219
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.
  • undefined
    stuartofmt
    last edited by 23 Nov 2023, 04:23

    I am working on a plugin to backup duet3d files to Github. It's working fine and I'm just going through the "polishing" stage for V0.1.
    It is a python program that runs in the background.
    It shows as partially started - is this to be expected?

    I followed the pattern for the motion plugin - which I assume is simply a zip of the folder structure as there is no vue based interface i.e.
    plugin.json
    sd/sys/duetBackup/duetBackup.config
    dsf/duetBackup.py

    Perhaps something in the plugin.json file ?

    {
    "id": "duetBackup",
    "name": "duetBackup",
    "author": "Stuartofmt",
    "version": "0.1.0",
    "license": "GPL-2.0-or-later",
    "homepage": "https://github.com/stuartofmt",
    "dwcVersion": "3.5.0-rc.1",
    "sbcRequired": true,
    "sbcDsfVersion": "3.5.0-rc.1",
    "sbcExecutable": "duetBackup.py",
    "sbcExecutableArguments": "-file /opt/dsf/sd/sys/duetBackup/duetBackup.config",
    "sbcOutputRedirected": false,
    "sbcPermissions": ["networkAccess", "readSystem"],
    "sbcPythonDependencies": ["argparse", "shlex", "sys","os","re","datetime"]
    }
    undefined undefined 2 Replies Last reply 23 Nov 2023, 12:35 Reply Quote 0
    • undefined
      droftarts administrators @stuartofmt
      last edited by 23 Nov 2023, 12:35

      @stuartofmt One for @chrishamm! Sounds like a useful plugin. Would it be SBC-only?

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      undefined 1 Reply Last reply 23 Nov 2023, 16:56 Reply Quote 0
      • undefined
        chrishamm administrators @stuartofmt
        last edited by chrishamm 23 Nov 2023, 12:46

        @stuartofmt You don't need to specify a DWC dependency if you don't ship any DWC resources (dwcVersion in your plugin manifest). Partially started means that some part of the plugin isn't loaded (if your SBC plugin is running, then no DWC scripts could be started). Usually it means that the DWC plugin is loaded but the SBC plugin isn't running; in your case it's probably the other way around.

        Duet software engineer

        undefined 1 Reply Last reply 23 Nov 2023, 16:53 Reply Quote 0
        • undefined
          stuartofmt @chrishamm
          last edited by stuartofmt 23 Nov 2023, 16:53

          @chrishamm
          Ah the little details 🙂 Thanks !
          And of course when I looked at plugin.json for the motion plugin, It was what I expected to see, not what was actually there (or in this case not).
          All good now.

          1 Reply Last reply Reply Quote 0
          • undefined
            stuartofmt @droftarts
            last edited by 23 Nov 2023, 16:56

            @droftarts said in Plugin shows as partially started - is this correct?:

            @stuartofmt One for @chrishamm! Sounds like a useful plugin. Would it be SBC-only?

            Ian

            SBC only (I believe) - as its a python script. My understanding is that standalone cannot support this.

            1 Reply Last reply Reply Quote 0
            • undefined stuartofmt marked this topic as a question 17 Jan 2024, 22:46
            • undefined stuartofmt has marked this topic as solved 17 Jan 2024, 22:46
            5 out of 5
            • First post
              5/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA