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

    ExecOnMcode

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    11
    76
    5.0k
    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 @CrazyCreator
      last edited by

      @CrazyCreator I'm not still programming it for now but if you have improvement or feature requests, I can consider them.

      1 Reply Last reply Reply Quote 0
      • CrazyCreatorundefined
        CrazyCreator
        last edited by

        That sounds good... will try it out in the next few days.

        http://www.crazycreatorcube.com

        1 Reply Last reply Reply Quote 0
        • CrazyCreatorundefined
          CrazyCreator
          last edited by CrazyCreator

          @Falcounet
          Bildschirm­foto 2022-11-30 um 23.00.01.png

          Bildschirm­foto 2022-11-30 um 23.00.31.png

          Raspi 4 with bullseye

          http://www.crazycreatorcube.com

          Falcounetundefined 2 Replies Last reply Reply Quote 0
          • Falcounetundefined
            Falcounet @CrazyCreator
            last edited by

            @CrazyCreator I think it's an issue with AppArmor. Do you use the DuetPi image for the SBC ?

            CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
            • CrazyCreatorundefined
              CrazyCreator @Falcounet
              last edited by

              @Falcounet
              No ... i make all clean today
              Raspi bullseye from raspi

              http://www.crazycreatorcube.com

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

                @CrazyCreator Then try installing apparmor and try again

                CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                • CrazyCreatorundefined
                  CrazyCreator @Falcounet
                  last edited by

                  @Falcounet
                  I don't just have to install it. This AppArmor still needs to be configured.

                  Do you know what I have to do exactly? I'm not the Linux expert

                  http://www.crazycreatorcube.com

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

                    @CrazyCreator DSF configure it for you. Config files are stored into /etc/apparmor.d/.
                    You should get /etc/apparmor.d/dsf.ExecOnMcode after the plugin installation.

                    Make sure you also have installed duetpluginservice

                    CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                    • CrazyCreatorundefined
                      CrazyCreator
                      last edited by CrazyCreator

                      @Falcounet
                      Bildschirm­foto 2022-11-30 um 23.32.18.png

                      I don't have this file.

                      But the install from the plugin is not complete, so i think the file is not created.

                      http://www.crazycreatorcube.com

                      1 Reply Last reply Reply Quote 0
                      • CrazyCreatorundefined
                        CrazyCreator @Falcounet
                        last edited by CrazyCreator

                        @Falcounet
                        Bildschirm­foto 2022-11-30 um 23.48.02.png

                        in screen you see the pluginservice is running
                        apparmor freshly installed

                        http://www.crazycreatorcube.com

                        chrishammundefined 1 Reply Last reply Reply Quote 0
                        • chrishammundefined
                          chrishamm administrators @CrazyCreator
                          last edited by chrishamm

                          @CrazyCreator I don't think this is an AppArmor issue, it's more likely that the permissions in your DWC directory are off for some reason. Try reinstalling duetwebcontrol and if that doesn't help, run sudo chown -R dsf.dsf /opt/dsf to fix the ownerships again. If that doesn't help, try to delete the file as root (sudo rm /opt/dsf/sd/www/js/...) and install the plugin once more.

                          Duet software engineer

                          CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                          • CrazyCreatorundefined
                            CrazyCreator @chrishamm
                            last edited by CrazyCreator

                            @chrishamm
                            How can i reinstall or install DuetWebControl?
                            I don't find any tutorial 😞

                            /Update
                            I upload this Zip-File: https://github.com/Duet3D/DuetWebControl/releases
                            and hope this is what you mean, with reinstall DuetWebControl?
                            i deleted all files with ExecOnMcode in name and try to reinstall the plugin

                            ... But ... The same error 😞

                            http://www.crazycreatorcube.com

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              Why not start with a DuetPi image?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              CrazyCreatorundefined 1 Reply Last reply Reply Quote 1
                              • CrazyCreatorundefined
                                CrazyCreator @Phaedrux
                                last edited by

                                @Phaedrux actual duetpi image missing python3.9, but TAMV need this.

                                http://www.crazycreatorcube.com

                                Phaedruxundefined Falcounetundefined 2 Replies Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @CrazyCreator
                                  last edited by

                                  @CrazyCreator said in ExecOnMcode v0.1:

                                  missing python3.9

                                  https://itheo.tech/install-python-39-on-raspberry-pi

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                  • CrazyCreatorundefined
                                    CrazyCreator @Phaedrux
                                    last edited by

                                    @Phaedrux
                                    Maybe i try this, when @Falcounet & @chrishamm out of ideas 😄

                                    http://www.crazycreatorcube.com

                                    chrishammundefined 1 Reply Last reply Reply Quote 0
                                    • chrishammundefined
                                      chrishamm administrators @CrazyCreator
                                      last edited by chrishamm

                                      @CrazyCreator Did you try the chown command I posted above? If that doesn't resolve it, try to run sudo rm /opt/dsf/**/ExecOnMcode* and then reinstall the plugin. It's odd you're getting that "access denied" error.

                                      PS: The stock DuetPi image comes with the python 3 package, run sudo apt install python if you're missing it.

                                      Duet software engineer

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

                                        @CrazyCreator Can you give me a link to the system image you installed ?
                                        I might give it a try on my pi.

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

                                          @CrazyCreator TAMV is like 3 years old. I don't think python 3.9 was out at this time.

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

                                            Jumping in here with a (possibly) relevant comment. If anyone intends to use Pi cameras: Consider using Debian Bullseye as the min base OS. There is a new library (from Pi) in Bullseye - so adopting this release will provide some future-proofing. It does not directly affect USB cameras but likely not a bad idea.

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