Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. esphome - ERROR: Process exited with code 25

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    esphome - ERROR: Process exited with code 25

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @LE-R.Kelly last edited by

      @le-r-kelly

      update-alternatives setzt die Links richtig. Mach das nach den beiden letzten HowTos, die machen beide das gleiche.

      1 Reply Last reply Reply Quote 0
      • L
        LE-R.Kelly last edited by

        Das war wohl nicht das Problem:

        pi@raspberrypi:~ $ python --version
        Python 3.7.3
        

        Die Installation des esphome-Adapters endet aber noch immer mit dem Fehlercode 25 😞

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @LE-R.Kelly last edited by

          @le-r-kelly

          Mit welchen Meldungen?

          L 1 Reply Last reply Reply Quote 0
          • L
            LE-R.Kelly @Thomas Braun last edited by

            @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

            @le-r-kelly

            Mit welchen Meldungen?

            $ iobroker add esphome auto --host raspberrypi
            NPM version: 6.14.16
            Installing iobroker.esphome@0.2.4... (System call)
            > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install
            No python_modules directory; installing pip locally if needed.
            Successfully completed pip check.
            Collecting esphome>=2021.8
            Using cached esphome-2022.2.6-py2.py3-none-any.whl (2.1 MB)
            Collecting tornado>=3.2
            Using cached tornado-6.1.tar.gz (497 kB)
            Preparing metadata (setup.py): started
            Preparing metadata (setup.py): finished with status 'done'
            Collecting platformio==5.2.5
            Using cached platformio-5.2.5.tar.gz (218 kB)
            Preparing metadata (setup.py): started
            Preparing metadata (setup.py): finished with status 'done'
            Collecting aioesphomeapi==10.8.2
            Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
            Collecting voluptuous==0.12.2
            Using cached voluptuous-0.12.2.tar.gz (48 kB)
            Preparing metadata (setup.py): started
            Preparing metadata (setup.py): finished with status 'done'
            Collecting kconfiglib==13.7.1
            Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
            Collecting esptool==3.2
            Using cached esptool-3.2.tar.gz (206 kB)
            Preparing metadata (setup.py): started
            Preparing metadata (setup.py): finished with status 'done'
            Collecting tzdata>=2021.1
            Using cached tzdata-2022.1-py2.py3-none-any.whl (339 kB)
            Collecting click==8.0.3
            Using cached click-8.0.3-py3-none-any.whl (97 kB)
            Collecting paho-mqtt==1.6.1
            Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
            Preparing metadata (setup.py): started
            Preparing metadata (setup.py): finished with status 'done'
            Collecting esphome-dashboard==20220209.0
            Using cached esphome_dashboard-20220209.0-py3-none-any.whl (592 kB)
            Collecting tzlocal==4.1
            Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
            Collecting colorama==0.4.4
            Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
            Collecting zeroconf==0.38.3
            Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB)
            Collecting PyYAML==6.0
            Using cached PyYAML-6.0.tar.gz (124 kB)
            Installing build dependencies: started
            Installing build dependencies: finished with status 'done'
            Getting requirements to build wheel: started
            Getting requirements to build wheel: finished with status 'done'
            Preparing metadata (pyproject.toml): started
            Preparing metadata (pyproject.toml): finished with status 'done'
            Collecting pyserial==3.5
            Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
            Collecting noiseprotocol<1.0,>=0.3.1
            Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
            Collecting protobuf<4.0,>=3.12.2
            Using cached protobuf-3.20.0-py2.py3-none-any.whl (162 kB)
            Collecting importlib-metadata
            Using cached importlib_metadata-4.11.3-py3-none-any.whl (18 kB)
            Collecting bitstring>=3.1.6
            Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
            Collecting cryptography>=2.1.4
            Using cached cryptography-36.0.2.tar.gz (572 kB)
            Installing build dependencies: started
            Installing build dependencies: finished with status 'error'
            host.raspberrypi Cannot install iobroker.esphome@0.2.4: 1
            ERROR: Process exited with code 25
            
            1 Reply Last reply Reply Quote 0
            • haus-automatisierung
              haus-automatisierung Developer Most Active @LE-R.Kelly last edited by

              @le-r-kelly sagte in esphome - ERROR: Process exited with code 25:

              Wenn ich das bei meiner Netzrecherche richtig verstanden habe ist Python = Python2 und auf einem Raspbian der Standard.

              Nicht unbedingt. Auf einer frischen Bullseye Installation ist python 3 installiert und der Befehl python führt dann auch python3 aus:

              python --version
              Python 3.9.2
              

              Das Problem ist, dass der ioBroker installer aktuell python-dev installiert.

              Das wiederum installiert python, was auf stable (aktuell bullseye) dazu führt, dass python-is-python2 installiert wird.

              Also hat man danach einen Symlink von python auf python2, obwohl vorher alles gut war:

              python --version
              Python 2.7.18
              

              Zu dem Thema habe ich gerade auch einen Issue geöffnet:

              https://github.com/ioBroker/ioBroker/issues/383

              (heute getestet mit Raspbian Lite OS 64-Bit)

              klein0r created this issue in ioBroker/ioBroker

              closed [Installer] avoid python 2 installation - python-dev to python3-dev #383

              S Homoran 2 Replies Last reply Reply Quote 1
              • S
                Sushibomba @haus-automatisierung last edited by

                @haus-automatisierung

                Verstehe ich noch nicht so ganz. Bei mir schlägt die Installation von ESP Home auch fehl.
                Was muss ich denn jetzt tun um ESP Home installieren zu können? :-S

                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @haus-automatisierung last edited by

                  @haus-automatisierung sagte in esphome - ERROR: Process exited with code 25:

                  @le-r-kelly sagte in esphome - ERROR: Process exited with code 25:

                  Wenn ich das bei meiner Netzrecherche richtig verstanden habe ist Python = Python2 und auf einem Raspbian der Standard.

                  Nicht unbedingt.

                  das wird eine ältere Information gewesen sein. Bei Aufkommen von python3 wurde noch von sehr vielen Programmen python2 benutzt, resp. waren diese nicht python3 kompatibel.
                  Deswegen blieb der Aufruf python für python2 bestehen und python3 musste explizit so aufgerufen werden.
                  Mittlerweile sieht dies anders aus.

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Sushibomba last edited by

                    @sushibomba mach es mal in der konsole mit zusätzlichem --debug und poste den Output in code-tags

                    1 Reply Last reply Reply Quote 1
                    • Thomas Braun
                      Thomas Braun Most Active @Sushibomba last edited by

                      @sushibomba

                      sudo apt update
                      sudo apt install python-is-python3 python-dev-is-python3
                      
                      S 2 Replies Last reply Reply Quote 0
                      • S
                        Sushibomba last edited by Sushibomba

                        @Homoran Soll ich das erst mal probieren was @Thomas-braun vorgeschlagen hat?

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sushibomba @Thomas Braun last edited by

                          @thomas-braun

                          Also das machen und danach nochmal versuchen über die Beta Repo zu installieren?

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

                            @sushibomba python kannst du wie oben geschrieben sauber installieren.
                            Von Beta würde ich ohne triftigen Grund die Finger lassen. Versuch erstmal mit der stable Version dein Glück.
                            Die mit --debug-Option installieren.

                            FredF 1 Reply Last reply Reply Quote 0
                            • FredF
                              FredF Most Active Forum Testing @Thomas Braun last edited by

                              @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                              Versuch erstmal mit der stable Version dein Glück.

                              Den ESPHome Adapter gibt es nur als beta

                              2021.02.27	
                              github:	0.2.4
                              latest:	0.2.4 for 11 months
                              stable:	-.-.-
                              
                              1 Reply Last reply Reply Quote 0
                              • S
                                Sushibomba @Thomas Braun last edited by

                                @thomas-braun

                                sudo apt install python-is-python3 python-dev-is-python3                  Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                The following packages were automatically installed and are no longer required:
                                  libpython2-dev libpython2.7 libpython2.7-dev python2-dev python2.7-dev
                                Use 'sudo apt autoremove' to remove them.
                                The following additional packages will be installed:
                                  libpython3-dev libpython3.9-dev python3-dev python3.9-dev
                                The following packages will be REMOVED:
                                  python-dev-is-python2 python-is-python2
                                The following NEW packages will be installed:
                                  libpython3-dev libpython3.9-dev python-dev-is-python3 python-is-python3 python3-dev
                                  python3.9-dev
                                0 upgraded, 6 newly installed, 2 to remove and 90 not upgraded.
                                Need to get 3,606 kB of archives.
                                After this operation, 14.7 MB of additional disk space will be used.
                                Do you want to continue? [Y/n]
                                
                                

                                Soll ich die Installation durchführen?

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

                                  @sushibomba

                                  Ja.

                                  S 1 Reply Last reply Reply Quote 1
                                  • S
                                    Sushibomba @Thomas Braun last edited by Sushibomba

                                    @thomas-braun
                                    Ok hab ich. Muss ich danach noch irgendwelche Befehle ausführen um alte Dateien zu löschen oder so? Und sollte ich den Pi dann noch neustarten?

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

                                      @sushibomba

                                      Use 'sudo apt autoremove' to remove them.

                                      Aber lös den Update-Stau mal endlich auf:

                                      and 90 not upgraded.

                                      iobroker stop
                                      sudo apt update
                                      sudo apt full-upgrade
                                      sudo apt autoremove
                                      sudo reboot
                                      
                                      S 1 Reply Last reply Reply Quote 1
                                      • S
                                        Sushibomba @Thomas Braun last edited by

                                        @thomas-braun sagte in esphome - ERROR: Process exited with code 25:

                                        sudo reboot

                                        Hab ich gemacht.

                                        Jetzt habe ich ein Problem dadurch in Grafana 😞

                                        InfluxDB plugin failed
                                        ChunkLoadError: Loading chunk 5783 failed. (error: http://192.xxx.xxx.xx:3000/public/build/influxdbPlugin.94c35fd39f967eb67896.js)

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

                                          @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                          Jetzt habe ich ein Problem dadurch in Grafana

                                          Nein, nicht dadurch.

                                          S 1 Reply Last reply Reply Quote 1
                                          • S
                                            Sushibomba @Thomas Braun last edited by

                                            @thomas-braun
                                            Ok. Das heißt?
                                            Also wie bekomme ich es jetzt wieder zum laufen?
                                            InfluxDB nochmal neu starten?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            643
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            12
                                            162
                                            13136
                                            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