Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Fehlermeldug "permissionError"

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fehlermeldug "permissionError"

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Thomas Braun last edited by

      @thomas-braun nee der permissionError ist der übliche

      @druid-matrox sagte in Fehlermeldug "permissionError":

      Ich kann keine Dateien löschen, es kommt immer oben aufgeführte Fehlermeldung. Betrifft z.B. selbst erstellte Ordner in Objekte, Programme unter Scripte, Presets unter ECHarts.

      1 Reply Last reply Reply Quote 0
      • D
        Druid Matrox @haus-automatisierung last edited by

        @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-automatisierung Thomas Braun 2 Replies Last reply Reply Quote 0
        • D
          Druid Matrox @haus-automatisierung last edited by

          @haus-automatisierung
          Wie bringe ich das in Blockly?

          haus-automatisierung 1 Reply Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @Druid Matrox last edited by

            @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 1 Reply Last reply Reply Quote 0
            • haus-automatisierung
              haus-automatisierung Developer Most Active @Druid Matrox last edited by

              @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 1 Reply Last reply Reply Quote 0
              • D
                Druid Matrox @haus-automatisierung last edited by

                @haus-automatisierung
                Sorry, hatte ich überlesen.

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Druid Matrox last edited by 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 1 Reply Last reply Reply Quote 0
                  • D
                    Druid Matrox @Thomas Braun last edited by Homoran

                    @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 Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Druid Matrox last edited by

                      @druid-matrox

                      cat /etc/debian_version
                      
                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Druid Matrox @haus-automatisierung last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Druid Matrox last edited by

                          @druid-matrox sagte in Fehlermeldug "permissionError":

                          Von welchem neuen Ort?

                          Von /home/iobroker/dein_skript

                          1 Reply Last reply Reply Quote 0
                          • D
                            Druid Matrox @Thomas Braun last edited by

                            @thomas-braun
                            10.13

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Druid Matrox last edited by 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 2 Replies Last reply Reply Quote 0
                              • D
                                Druid Matrox @Thomas Braun last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • D
                                  Druid Matrox @Thomas Braun last edited by

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

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Druid Matrox last edited by

                                    @druid-matrox

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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      Druid Matrox @Thomas Braun last edited by

                                      @thomas-braun

                                      #!/usr/bin/python3.9
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Druid Matrox last edited by

                                        @druid-matrox

                                        Okay, also wird python 3.9 benötigt.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        1.0k
                                        Online

                                        31.7k
                                        Users

                                        79.7k
                                        Topics

                                        1.3m
                                        Posts

                                        4
                                        31
                                        673
                                        Loading More Posts
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                        The ioBroker Community 2014-2023
                                        logo