Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Fehlermeldug "permissionError"

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Fehlermeldug "permissionError"

Scheduled Pinned Locked Moved Installation
31 Posts 4 Posters 1.4k Views 3 Watching
  • 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.
  • haus-automatisierungH haus-automatisierung

    @druid-matrox Lass Dir doch den Output mal ausgeben, dann müssen wir auch nicht raten:

    exec('/usr/bin/python3.9 /home/pi/python/schaltergang.py 1 10001 on 5', (error, stdout, stderr) => {
        console.error('error: ' + error);
        console.error('stderr: ' + stderr);
        console.log('stdout: ' + stdout);
    });
    
    D Offline
    D Offline
    Druid Matrox
    wrote on last edited by
    #16

    @haus-automatisierung
    Wie bringe ich das in Blockly?

    haus-automatisierungH 1 Reply Last reply
    0
    • D Druid Matrox

      @haus-automatisierung

      Es sind hier zwei verschiedene Probleme.

      Der LS-Befehl bringt:
      -rw-r--r-- 1 pi pi 549 Sep 27 15:33 /home/pi/python/schaltergang.py

      haus-automatisierungH Online
      haus-automatisierungH Online
      haus-automatisierung
      Developer Most Active
      wrote on last edited by
      #17

      @druid-matrox sagte in Fehlermeldug "permissionError":

      Es sind hier zwei verschiedene Probleme.

      Ja, und das "Permission Error" Thema wurde bereits mit dem 1. Kommentar von @Homoran hier abgehakt. Upgrade vom Admin-Adapter auf 6.2.23 (beta)

      Für Problem 2. siehe Script von mir und lies die Ausgabe.

      🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
      🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
      📚 Meine inoffizielle ioBroker Dokumentation

      D 1 Reply Last reply
      0
      • D Druid Matrox

        @haus-automatisierung
        Wie bringe ich das in Blockly?

        haus-automatisierungH Online
        haus-automatisierungH Online
        haus-automatisierung
        Developer Most Active
        wrote on last edited by
        #18

        @druid-matrox sagte in Fehlermeldug "permissionError":

        Wie bringe ich das in Blockly?

        Achso, ich dachte Du arbeitest mit JavaScript, weil Du auch JS hier teilst. Leg halt ein neues JavaScript (statt Blockly) an und füg das dort ein...

        🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
        🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
        📚 Meine inoffizielle ioBroker Dokumentation

        D 1 Reply Last reply
        0
        • haus-automatisierungH haus-automatisierung

          @druid-matrox sagte in Fehlermeldug "permissionError":

          Es sind hier zwei verschiedene Probleme.

          Ja, und das "Permission Error" Thema wurde bereits mit dem 1. Kommentar von @Homoran hier abgehakt. Upgrade vom Admin-Adapter auf 6.2.23 (beta)

          Für Problem 2. siehe Script von mir und lies die Ausgabe.

          D Offline
          D Offline
          Druid Matrox
          wrote on last edited by
          #19

          @haus-automatisierung
          Sorry, hatte ich überlesen.

          1 Reply Last reply
          0
          • D Druid Matrox

            @haus-automatisierung

            Es sind hier zwei verschiedene Probleme.

            Der LS-Befehl bringt:
            -rw-r--r-- 1 pi pi 549 Sep 27 15:33 /home/pi/python/schaltergang.py

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #20

            @druid-matrox sagte in Fehlermeldug "permissionError":

            sudo -u iobroker cp /home/pi/python/schaltergang.py /home/iobroker/
            sudo -u iobroker chmod 744 /home/iobroker/schaltergang.py
            

            Dann ruf das vom neuen Ort auf.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            D 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @druid-matrox sagte in Fehlermeldug "permissionError":

              sudo -u iobroker cp /home/pi/python/schaltergang.py /home/iobroker/
              sudo -u iobroker chmod 744 /home/iobroker/schaltergang.py
              

              Dann ruf das vom neuen Ort auf.

              D Offline
              D Offline
              Druid Matrox
              wrote on last edited by Homoran
              #21

              @thomas-braun
              Von welchem neuen Ort?

              Hier die Ausgabe des Installationsbefehles:

              sudo apt install python-is-python3
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              E: Paket python-is-python3 kann nicht gefunden werden.
              pi@raspberrypi:~ $ python --version
              Python 3.9.0
              

              MOD-EDIT: Code in code-tags gesetzt!

              Thomas BraunT 2 Replies Last reply
              0
              • D Druid Matrox

                @thomas-braun
                Von welchem neuen Ort?

                Hier die Ausgabe des Installationsbefehles:

                sudo apt install python-is-python3
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                E: Paket python-is-python3 kann nicht gefunden werden.
                pi@raspberrypi:~ $ python --version
                Python 3.9.0
                

                MOD-EDIT: Code in code-tags gesetzt!

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #22

                @druid-matrox

                cat /etc/debian_version
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                D 1 Reply Last reply
                0
                • haus-automatisierungH haus-automatisierung

                  @druid-matrox sagte in Fehlermeldug "permissionError":

                  Wie bringe ich das in Blockly?

                  Achso, ich dachte Du arbeitest mit JavaScript, weil Du auch JS hier teilst. Leg halt ein neues JavaScript (statt Blockly) an und füg das dort ein...

                  D Offline
                  D Offline
                  Druid Matrox
                  wrote on last edited by
                  #23

                  @haus-automatisierung
                  Wo sollte jetzt die Fehlermeldung auflaufen? Unten in dem
                  Protokollfenster?

                  1 Reply Last reply
                  0
                  • D Druid Matrox

                    @thomas-braun
                    Von welchem neuen Ort?

                    Hier die Ausgabe des Installationsbefehles:

                    sudo apt install python-is-python3
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.
                    Statusinformationen werden eingelesen.... Fertig
                    E: Paket python-is-python3 kann nicht gefunden werden.
                    pi@raspberrypi:~ $ python --version
                    Python 3.9.0
                    

                    MOD-EDIT: Code in code-tags gesetzt!

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #24

                    @druid-matrox sagte in Fehlermeldug "permissionError":

                    Von welchem neuen Ort?

                    Von /home/iobroker/dein_skript

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @druid-matrox

                      cat /etc/debian_version
                      
                      D Offline
                      D Offline
                      Druid Matrox
                      wrote on last edited by
                      #25

                      @thomas-braun
                      10.13

                      Thomas BraunT 1 Reply Last reply
                      0
                      • D Druid Matrox

                        @thomas-braun
                        10.13

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #26

                        @druid-matrox

                        Ah, das 'python-is-python3' Ding gibt es erst ab 'bullseye / Debian 11'.

                        Was ist denn das überhaupt?

                        head -1 /home/pi/python/schaltergang.py
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        D 2 Replies Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @druid-matrox

                          Ah, das 'python-is-python3' Ding gibt es erst ab 'bullseye / Debian 11'.

                          Was ist denn das überhaupt?

                          head -1 /home/pi/python/schaltergang.py
                          
                          D Offline
                          D Offline
                          Druid Matrox
                          wrote on last edited by
                          #27

                          @thomas-braun
                          OK
                          Werde morgen wieder weitermachen.
                          @all Danke für die Infos

                          1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @druid-matrox

                            Ah, das 'python-is-python3' Ding gibt es erst ab 'bullseye / Debian 11'.

                            Was ist denn das überhaupt?

                            head -1 /home/pi/python/schaltergang.py
                            
                            D Offline
                            D Offline
                            Druid Matrox
                            wrote on last edited by
                            #28

                            @thomas-braun
                            Das schaltet 433 MHz-Funksteckdosen über den Raspberry Pi.

                            Thomas BraunT 1 Reply Last reply
                            0
                            • D Druid Matrox

                              @thomas-braun
                              Das schaltet 433 MHz-Funksteckdosen über den Raspberry Pi.

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #29

                              @druid-matrox

                              Ich meinte eigentlich in welchem python-Dialekt das geschrieben wurde.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              D 1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @druid-matrox

                                Ich meinte eigentlich in welchem python-Dialekt das geschrieben wurde.

                                D Offline
                                D Offline
                                Druid Matrox
                                wrote on last edited by
                                #30

                                @thomas-braun

                                #!/usr/bin/python3.9
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • D Druid Matrox

                                  @thomas-braun

                                  #!/usr/bin/python3.9
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #31

                                  @druid-matrox

                                  Okay, also wird python 3.9 benötigt.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  868

                                  Online

                                  32.4k

                                  Users

                                  81.5k

                                  Topics

                                  1.3m

                                  Posts
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Home
                                  • Recent
                                  • Tags
                                  • Unread 0
                                  • Categories
                                  • Unreplied
                                  • Popular
                                  • GitHub
                                  • Docu
                                  • Hilfe