Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. XBOX Adapter Fehler Pi4

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    308

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    600

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

XBOX Adapter Fehler Pi4

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
xbox adapter
46 Beiträge 6 Kommentatoren 3.6k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R r0b1zZle

    Gibt es schon Neuigkeiten? Stehe vor dem selben Problem.

    pi@raspi:~ $ /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server || /opt/iobroker/node_modules/iobroker.xbox/lib/../../nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server
    -bash: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: Datei oder Verzeichnis nicht gefunden
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    /usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
      return f(*args, **kwds)
    Traceback (most recent call last):
      File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module>
        from xbox.scripts.rest_server import main
      File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/scripts/rest_server.py", line 6, in <module>
        from xbox.scripts import main_cli  # noqa: E402
      File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/scripts/main_cli.py", line 20, in <module>
        from xbox.handlers import tui, gamepad_input, text_input, fallout4_relay
      File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/handlers/tui.py", line 8, in <module>
        import urwid
    ModuleNotFoundError: No module named 'urwid'
    pi@raspi:~ $ pip install "urwid==2.0.1"
    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
    Requirement already satisfied: urwid==2.0.1 in ./.local/lib/python3.7/site-packages (2.0.1)
    
    
    S Offline
    S Offline
    Smallfeuer
    schrieb am zuletzt editiert von
    #22

    @r0b1zZle
    @foxriver76

    Habe heut die Version 0.7.0 installiert die bei Github online ist... ENDLICH ;) Danke @foxriver76

    Bischen Lustig das es zum Release der neuen Xbox Series läuft... jetzt hab ich nen bischen Angst vor dem Upgrade :). Aber mal schauen...

    foxriver76F 1 Antwort Letzte Antwort
    0
    • S Smallfeuer

      @r0b1zZle
      @foxriver76

      Habe heut die Version 0.7.0 installiert die bei Github online ist... ENDLICH ;) Danke @foxriver76

      Bischen Lustig das es zum Release der neuen Xbox Series läuft... jetzt hab ich nen bischen Angst vor dem Upgrade :). Aber mal schauen...

      foxriver76F Offline
      foxriver76F Offline
      foxriver76
      Developer
      schrieb am zuletzt editiert von
      #23

      @Smallfeuer Leider habe ich noch keine Rückmeldung zu der Authentifizierunggeschichte von Team Open Xbox, das möchte ich definitiv wieder verbessern. Ich hoffe die Series X is bald wieder im MS Store on stock, damit man sie mit Guthaben kaufen kann. ;-)

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      S 1 Antwort Letzte Antwort
      0
      • foxriver76F foxriver76

        @Smallfeuer Leider habe ich noch keine Rückmeldung zu der Authentifizierunggeschichte von Team Open Xbox, das möchte ich definitiv wieder verbessern. Ich hoffe die Series X is bald wieder im MS Store on stock, damit man sie mit Guthaben kaufen kann. ;-)

        S Offline
        S Offline
        Smallfeuer
        schrieb am zuletzt editiert von Smallfeuer
        #24

        @foxriver76 Ja, das einloggen war etwas fehlerbehaftet und ist im weißen Screen von firefox geendet... eine schöne Bestätigung wäre da noch gut. Aber es läuft erstmal...:+1:

        Gibts hier irgendwo eine XBox billiger? :blush:

        foxriver76F U 2 Antworten Letzte Antwort
        0
        • S Smallfeuer

          @foxriver76 Ja, das einloggen war etwas fehlerbehaftet und ist im weißen Screen von firefox geendet... eine schöne Bestätigung wäre da noch gut. Aber es läuft erstmal...:+1:

          Gibts hier irgendwo eine XBox billiger? :blush:

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von foxriver76
          #25

          @Smallfeuer Naja, ich habe die One X damals mit Guthaben aus Key Stores gekauft (50 € Guthaben für 40 €, macht dann 100 € Ersparnis bei 500€ Konsole), da kann man meist etwas sparen, gerade in der Anfangszeit wenn es noch nicht so gute Angebote geben wird. Allerdings natürlich alles eher so "Grauzone" mit dem Guthaben aus den Keystores.

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Antwort Letzte Antwort
          0
          • S Smallfeuer

            @foxriver76 Ja, das einloggen war etwas fehlerbehaftet und ist im weißen Screen von firefox geendet... eine schöne Bestätigung wäre da noch gut. Aber es läuft erstmal...:+1:

            Gibts hier irgendwo eine XBox billiger? :blush:

            U Offline
            U Offline
            useful_idiot
            schrieb am zuletzt editiert von useful_idiot
            #26

            Das ist schon mal ein großer Fortschritt für mich: mit dem Adapter in der 0.70 konnte ich auch endlich zumindest wieder eine direkte Verbindung herstellen. Bei der Authentifizierung bei Live ist der Name localhost hinterlegt, der Link wird bei mir aber auch im Firefox geöffnet (https://login.live.com/oauth20_authorize.srf?client_id=XXX&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxlive.offline_access&redirect_uri=http://localhost:5557/auth/callback&state=YYY) und sagt dann, dass er auf localhost natürlich keine Verbindung auf Port 5557 bekommt. Hatte auch mal vergeblich versucht, den dann mit elinks im CLI aufzurufen oder die redirect_uri auf meinen Raspberry abzuändern. Mit eLinks bekomme ich beim Aufruf der return_uri
            http://localhost:5557/auth/callback?code=XXX&state=YYY dann auch tatsächlich JSON (token_type=bearer mit acces_token usw) zurück, aber wohin damit? @Smallfeuer wie hast du denn die Auth am Ende hinbekommen?

            1. Edit: ich glaube der Aufruf in eLinks hat doch was gebracht, bin tatsächlich authentifiziert :-) allerdings wird bisher nur mein Gamertag gefüllt, activeTitleName oder launchTitle funktionieren leider noch nicht (auf series x)
            S foxriver76F 2 Antworten Letzte Antwort
            0
            • U useful_idiot

              Das ist schon mal ein großer Fortschritt für mich: mit dem Adapter in der 0.70 konnte ich auch endlich zumindest wieder eine direkte Verbindung herstellen. Bei der Authentifizierung bei Live ist der Name localhost hinterlegt, der Link wird bei mir aber auch im Firefox geöffnet (https://login.live.com/oauth20_authorize.srf?client_id=XXX&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxlive.offline_access&redirect_uri=http://localhost:5557/auth/callback&state=YYY) und sagt dann, dass er auf localhost natürlich keine Verbindung auf Port 5557 bekommt. Hatte auch mal vergeblich versucht, den dann mit elinks im CLI aufzurufen oder die redirect_uri auf meinen Raspberry abzuändern. Mit eLinks bekomme ich beim Aufruf der return_uri
              http://localhost:5557/auth/callback?code=XXX&state=YYY dann auch tatsächlich JSON (token_type=bearer mit acces_token usw) zurück, aber wohin damit? @Smallfeuer wie hast du denn die Auth am Ende hinbekommen?

              1. Edit: ich glaube der Aufruf in eLinks hat doch was gebracht, bin tatsächlich authentifiziert :-) allerdings wird bisher nur mein Gamertag gefüllt, activeTitleName oder launchTitle funktionieren leider noch nicht (auf series x)
              S Offline
              S Offline
              Smallfeuer
              schrieb am zuletzt editiert von
              #27

              @useful_idiot genau, der Mozilla läuft zwar in ein WhiteScreen, aber nach einem Adapter Neustart hat die Auth dann funktioniert. Mir ging es auch hauptsächlich um An/Aus - Umschalten von TV / Yamaha und Gute Nacht Routinen. Das sind wohl die wichtigsten Funktionen wo Alexa es einem erspart erst 3 Fernbedienungen in die Hand zu nehmen. Zum Glück funkt. es auch bei der neuen X Series. :) Einzigster Wehrmutstropfen ist, das der HDMI2.1 taugliche Yamaha 2080 nun doch nur 4k@60hz kann. Somit musste ich direkt an den LG. Dank EArc aber kein Problem mit Atmos etc. :)

              1 Antwort Letzte Antwort
              0
              • U useful_idiot

                Das ist schon mal ein großer Fortschritt für mich: mit dem Adapter in der 0.70 konnte ich auch endlich zumindest wieder eine direkte Verbindung herstellen. Bei der Authentifizierung bei Live ist der Name localhost hinterlegt, der Link wird bei mir aber auch im Firefox geöffnet (https://login.live.com/oauth20_authorize.srf?client_id=XXX&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxlive.offline_access&redirect_uri=http://localhost:5557/auth/callback&state=YYY) und sagt dann, dass er auf localhost natürlich keine Verbindung auf Port 5557 bekommt. Hatte auch mal vergeblich versucht, den dann mit elinks im CLI aufzurufen oder die redirect_uri auf meinen Raspberry abzuändern. Mit eLinks bekomme ich beim Aufruf der return_uri
                http://localhost:5557/auth/callback?code=XXX&state=YYY dann auch tatsächlich JSON (token_type=bearer mit acces_token usw) zurück, aber wohin damit? @Smallfeuer wie hast du denn die Auth am Ende hinbekommen?

                1. Edit: ich glaube der Aufruf in eLinks hat doch was gebracht, bin tatsächlich authentifiziert :-) allerdings wird bisher nur mein Gamertag gefüllt, activeTitleName oder launchTitle funktionieren leider noch nicht (auf series x)
                foxriver76F Offline
                foxriver76F Offline
                foxriver76
                Developer
                schrieb am zuletzt editiert von
                #28

                @useful_idiot mit der auth bin ich dran, es funktioniert derzeit nur wenn du von dem Device aus dich verifizierst auf dem der Adapter laeuft. Siehe https://github.com/OpenXbox/xbox-smartglass-core-python/issues/49#issuecomment-725420560

                Videotutorials & mehr

                Hier könnt ihr mich unterstützen.

                1 Antwort Letzte Antwort
                1
                • foxriver76F Offline
                  foxriver76F Offline
                  foxriver76
                  Developer
                  schrieb am zuletzt editiert von
                  #29

                  Habe soeben eine 0.7.2 gemacht, hatte noch die ein oder andere Stelle verpasst beim migrieren, weshalb die ganzen currentTitles Geschichten und Bild und Co nicht gesetzt wurde. Geht jetzt wieder. Ebenso behoben, dass es vorkommen konnte, das beim Adapterstopp ein Fehler geloggt wurde, weil der Rest-Server Prozess (korrekterweise) beendet wurde.

                  Fürs Authentifizieren ist momentan folgende Vorgehensweise möglich:

                  • Warten bis das Logging für Rest-Server gestartet erscheint, dann auf den Link im Log klicken oder in den Adaptereinstellungen auf den Link klicken
                  • Hier werdet ihr entweder aufgefordert euch einzuloggen, oder ihr wurdet automatisch bei MS eingeloggt
                  • Dann sollte ein Fehler erscheinen, dass die Seite nicht verfügbar ist, Link sollte mit localhost starten
                  • Link kopieren, aufs Terminal gehen und curl "<Link einfügen>" absetzen
                  • Nun sollte im Log stehen, dass ihr authentifziert seid
                  • Nach Neustart des Server ist man leider wieder ausgeloggt, ich warte nach wie vor auf Rückmeldung, dass das alles wieder nutzerfreunlicher wird.

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  S 2 Antworten Letzte Antwort
                  0
                  • foxriver76F foxriver76

                    Habe soeben eine 0.7.2 gemacht, hatte noch die ein oder andere Stelle verpasst beim migrieren, weshalb die ganzen currentTitles Geschichten und Bild und Co nicht gesetzt wurde. Geht jetzt wieder. Ebenso behoben, dass es vorkommen konnte, das beim Adapterstopp ein Fehler geloggt wurde, weil der Rest-Server Prozess (korrekterweise) beendet wurde.

                    Fürs Authentifizieren ist momentan folgende Vorgehensweise möglich:

                    • Warten bis das Logging für Rest-Server gestartet erscheint, dann auf den Link im Log klicken oder in den Adaptereinstellungen auf den Link klicken
                    • Hier werdet ihr entweder aufgefordert euch einzuloggen, oder ihr wurdet automatisch bei MS eingeloggt
                    • Dann sollte ein Fehler erscheinen, dass die Seite nicht verfügbar ist, Link sollte mit localhost starten
                    • Link kopieren, aufs Terminal gehen und curl "<Link einfügen>" absetzen
                    • Nun sollte im Log stehen, dass ihr authentifziert seid
                    • Nach Neustart des Server ist man leider wieder ausgeloggt, ich warte nach wie vor auf Rückmeldung, dass das alles wieder nutzerfreunlicher wird.
                    S Offline
                    S Offline
                    Smallfeuer
                    schrieb am zuletzt editiert von
                    #30

                    Hallo @foxriver76,
                    klappt leider nicht so einfach, auch nach restart der Instanz kein LogIn.:

                    curl http://localhost:5557/auth/callback?code=M.R
                    sudo curl http://localhost:5557/auth/callback?code="****"
                    [2] 27631
                    [1]   Fertig                  curl http://localhost:5557/auth/callback?code="****"
                    
                    
                    xbox.0	2020-11-24 09:41:55.269	warn	(27688) Not logged in, authenticate at https://login.live.com/oauth20_authorize.srf?client_id="****"&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxli
                    xbox.0	2020-11-24 09:41:55.259	warn	(27688) Could not login, please check adapter config. Code: 401
                    xbox.0	2020-11-24 09:41:54.285	info	(27688) [START] Successfully started REST server
                    xbox.0	2020-11-24 09:41:51.394	info	(27688) [START] Starting REST server
                    xbox.0	2020-11-24 09:41:51.363	info	(27688) starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6
                    
                    foxriver76F 1 Antwort Letzte Antwort
                    0
                    • S Smallfeuer

                      Hallo @foxriver76,
                      klappt leider nicht so einfach, auch nach restart der Instanz kein LogIn.:

                      curl http://localhost:5557/auth/callback?code=M.R
                      sudo curl http://localhost:5557/auth/callback?code="****"
                      [2] 27631
                      [1]   Fertig                  curl http://localhost:5557/auth/callback?code="****"
                      
                      
                      xbox.0	2020-11-24 09:41:55.269	warn	(27688) Not logged in, authenticate at https://login.live.com/oauth20_authorize.srf?client_id="****"&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxli
                      xbox.0	2020-11-24 09:41:55.259	warn	(27688) Could not login, please check adapter config. Code: 401
                      xbox.0	2020-11-24 09:41:54.285	info	(27688) [START] Successfully started REST server
                      xbox.0	2020-11-24 09:41:51.394	info	(27688) [START] Starting REST server
                      xbox.0	2020-11-24 09:41:51.363	info	(27688) starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6
                      
                      foxriver76F Offline
                      foxriver76F Offline
                      foxriver76
                      Developer
                      schrieb am zuletzt editiert von
                      #31

                      @Smallfeuer Setz den Link in "

                      Videotutorials & mehr

                      Hier könnt ihr mich unterstützen.

                      S 2 Antworten Letzte Antwort
                      0
                      • foxriver76F foxriver76

                        @Smallfeuer Setz den Link in "

                        S Offline
                        S Offline
                        Smallfeuer
                        schrieb am zuletzt editiert von
                        #32

                        @foxriver76

                        Super - ja manchmal sieht man den Wald vor "Bäumen" nicht :+1:
                        Wichtig ist - falls man sich vertippt mit all dem, Cookies vom Firefox wieder manuell löschen - sonst wird es auch nichts...

                        1 Antwort Letzte Antwort
                        0
                        • foxriver76F foxriver76

                          @Smallfeuer Setz den Link in "

                          S Offline
                          S Offline
                          Smallfeuer
                          schrieb am zuletzt editiert von Smallfeuer
                          #33

                          @foxriver76 Kann es sein das der XBOX Adapter meinen WEB Socket Fehler auslöst?

                          In der Konsole vom Firefox folgende Meldung, ich kann die leider nicht zuordnen:

                          Die Verbindung zu ws://192.168.XXX.XX:8081/socket.io/?EIO=3&transport=websocket&sid=XXXXXXF0XqtXHFqAAB4 wurde unterbrochen, während die Seite geladen wurde. socket.io.js:8:6159
                          Error: websocket error
                              onError http://192.168.XXX.XX:8081/socket.io/socket.io.js:7
                              onerror http://192.168.XXX.XX:8081/socket.io/socket.io.js:8
                          

                          Leider kann ich es zeitlich nicht zuordnen. Beim Zugriff mit Firefox wird ab und zu einfach alles abgebrochen - extrem nervig im blockly - und dann reload nach dem bestätigen der Meldung.
                          Eine Idee wo ich suchen muss?

                          foxriver76F 1 Antwort Letzte Antwort
                          0
                          • S Smallfeuer

                            @foxriver76 Kann es sein das der XBOX Adapter meinen WEB Socket Fehler auslöst?

                            In der Konsole vom Firefox folgende Meldung, ich kann die leider nicht zuordnen:

                            Die Verbindung zu ws://192.168.XXX.XX:8081/socket.io/?EIO=3&transport=websocket&sid=XXXXXXF0XqtXHFqAAB4 wurde unterbrochen, während die Seite geladen wurde. socket.io.js:8:6159
                            Error: websocket error
                                onError http://192.168.XXX.XX:8081/socket.io/socket.io.js:7
                                onerror http://192.168.XXX.XX:8081/socket.io/socket.io.js:8
                            

                            Leider kann ich es zeitlich nicht zuordnen. Beim Zugriff mit Firefox wird ab und zu einfach alles abgebrochen - extrem nervig im blockly - und dann reload nach dem bestätigen der Meldung.
                            Eine Idee wo ich suchen muss?

                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            schrieb am zuletzt editiert von
                            #34

                            @Smallfeuer ne sollte damit nix zu tun haben.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            1 Antwort Letzte Antwort
                            0
                            • foxriver76F foxriver76

                              Habe soeben eine 0.7.2 gemacht, hatte noch die ein oder andere Stelle verpasst beim migrieren, weshalb die ganzen currentTitles Geschichten und Bild und Co nicht gesetzt wurde. Geht jetzt wieder. Ebenso behoben, dass es vorkommen konnte, das beim Adapterstopp ein Fehler geloggt wurde, weil der Rest-Server Prozess (korrekterweise) beendet wurde.

                              Fürs Authentifizieren ist momentan folgende Vorgehensweise möglich:

                              • Warten bis das Logging für Rest-Server gestartet erscheint, dann auf den Link im Log klicken oder in den Adaptereinstellungen auf den Link klicken
                              • Hier werdet ihr entweder aufgefordert euch einzuloggen, oder ihr wurdet automatisch bei MS eingeloggt
                              • Dann sollte ein Fehler erscheinen, dass die Seite nicht verfügbar ist, Link sollte mit localhost starten
                              • Link kopieren, aufs Terminal gehen und curl "<Link einfügen>" absetzen
                              • Nun sollte im Log stehen, dass ihr authentifziert seid
                              • Nach Neustart des Server ist man leider wieder ausgeloggt, ich warte nach wie vor auf Rückmeldung, dass das alles wieder nutzerfreunlicher wird.
                              S Offline
                              S Offline
                              Smallfeuer
                              schrieb am zuletzt editiert von
                              #35

                              @foxriver76 Leider funktioniert die ganze Geschichte jetzt wieder nicht. Ich bekomme zwar eine Verbindung und der User wird laut LOG eingeloggt. Werte kommen zwar an, aber ich kann die Xbox nicht einschalten. Habe daraufhin die 0.7.3 Version mal probiert, aber das Problem bleibt.

                              Adapter sagt Auth ist aktiv, aber die Instanz bleibt gelb. Bei Power true or false kommt dann:

                              COMMAND] ===> Can not handle id change settings.power with value false because not connected
                              

                              Das Problem schon bekannt? Ich nehme an es liegt an Änderungen bei Microsoft?

                              Dann trotzdem schonmal einen Guten Rutsch ins neue Jahr...

                              foxriver76F 1 Antwort Letzte Antwort
                              0
                              • S Smallfeuer

                                @foxriver76 Leider funktioniert die ganze Geschichte jetzt wieder nicht. Ich bekomme zwar eine Verbindung und der User wird laut LOG eingeloggt. Werte kommen zwar an, aber ich kann die Xbox nicht einschalten. Habe daraufhin die 0.7.3 Version mal probiert, aber das Problem bleibt.

                                Adapter sagt Auth ist aktiv, aber die Instanz bleibt gelb. Bei Power true or false kommt dann:

                                COMMAND] ===> Can not handle id change settings.power with value false because not connected
                                

                                Das Problem schon bekannt? Ich nehme an es liegt an Änderungen bei Microsoft?

                                Dann trotzdem schonmal einen Guten Rutsch ins neue Jahr...

                                foxriver76F Offline
                                foxriver76F Offline
                                foxriver76
                                Developer
                                schrieb am zuletzt editiert von
                                #36

                                @Smallfeuer Um die Authentifizierung vorzunehmen muss sich mit Micrsoft im Internet authentifiziert werden, das hat aber erst mal nix mit der Verbindung zur lokalen Konsole zu tun. Sprich Auth kann klappen und die Verbindung zur Konsole nicht.

                                Der einzige Befehl der funktioniert während keine Verbindung aktiv ist zur Xbox ist PowerOn, das aber auch nur wenn schnelles Hochfahren aktiv ist auf der Konsole. Es wird immer versucht die Xbox dann anzuschalten, klappen tut das aber wohl nicht immer. FritzBox schaltet wohl auch LAN Ports ab bei nicht Nutzung, was das einschalten dann verhindern kann.

                                Der Adapter ist immer nur grün wenn eine Verbindung aktiv ist und das ist eigentlich nur der Fall wenn die Xbox auch an ist.

                                Videotutorials & mehr

                                Hier könnt ihr mich unterstützen.

                                1 Antwort Letzte Antwort
                                0
                                • E Offline
                                  E Offline
                                  erikmettra
                                  schrieb am zuletzt editiert von erikmettra
                                  #37

                                  Servus,

                                  ich schaffe es leider nicht den Adapter zu installieren.

                                  Weder über Github noch über die Admin Oberfläche komme ich weiter.

                                  Folgender Fehlerlog wird mir angezeigt:

                                  code_text
                                  ```$ ./iobroker add xbox  --host controlsystem
                                  NPM version: 6.14.10
                                  npm install iobroker.xbox@0.7.3 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                    Cache entry deserialization failed, entry ignored
                                    Cache entry deserialization failed, entry ignored
                                    ERROR: Command errored out with exit status 1:   command: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''       cwd: None  Complete output (100 lines):  Collecting setuptools>=40.6.0    Using cached setuptools-53.0.0-py3-none-any.whl (784 kB)  Collecting wheel    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)  Collecting cffi!=1.11.3,>=1.8    Using cached cffi-1.14.4.tar.gz (471 kB)  Collecting pycparser    Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)  Building wheels for collected packages: cffi    Building wheel for cffi (setup.py): started    Building wheel for cffi (setup.py): finished with status 'error'    ERROR: Command errored out with exit status 1:     command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0ez46e_t         cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/    Complete output (36 lines):    running bdist_wheel    running build    running build_py    creating build    creating build/lib.linux-armv7l-3.7    creating build/lib.linux-armv7l-3.7/cffi    copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi    running build_ext    building '_cffi_backend' extension    creating build/temp.linux-armv7l-3.7    creating build/temp.linux-armv7l-3.7/c    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o    c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory     #include <Python.h>              ^~~~~~~~~~    compilation terminated.    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1    ----------------------------------------    ERROR: Failed building wheel for cffi    Running setup.py clean for cffi  Failed to build cffi  Installing collected packages: pycparser, wheel, setuptools, cffi      Running setup.py install for cffi: started      Running setup.py install for cffi: finished with status 'error'      ERROR: Command errored out with exit status 1:       command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi           cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/      Complete output (36 lines):      running install      running build      running build_py      creating build      creating build/lib.linux-armv7l-3.7      creating build/lib.linux-armv7l-3.7/cffi      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi      running build_ext      building '_cffi_backend' extension      creating build/temp.linux-armv7l-3.7      creating build/temp.linux-armv7l-3.7/c      arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o      c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory       #include <Python.h>                ^~~~~~~~~~      compilation terminated.      error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1      ----------------------------------------  ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi Check the logs for full command output.  ----------------------------------------
                                  WARNING: Discarding https://files.pythonhosted.org/packages/94/5c/42de91c7fbdb817b2d9a4e64b067946eb38a4eb36c1a09c96c87a0f86a82/cryptography-3.2.1.tar.gz#sha256=d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3 (from https://pypi.org/simple/cryptography/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*). Command errored out with exit status 1: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
                                  ERROR: Could not find a version that satisfies the requirement cryptography==3.2.1 (from xbox-smartglass-core)ERROR: No matching distribution found for cryptography==3.2.1
                                  npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! iobroker.xbox@0.7.3 install: `npip install`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.xbox@0.7.3 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-02-03T12_21_22_104Z-debug.log
                                  ERROR: host.controlsystem Cannot install iobroker.xbox@0.7.3: 1
                                  ERROR: process exited with code 25```
                                  
                                  

                                  Gruß

                                  Erik

                                  Thomas BraunT foxriver76F 2 Antworten Letzte Antwort
                                  0
                                  • E erikmettra

                                    Servus,

                                    ich schaffe es leider nicht den Adapter zu installieren.

                                    Weder über Github noch über die Admin Oberfläche komme ich weiter.

                                    Folgender Fehlerlog wird mir angezeigt:

                                    code_text
                                    ```$ ./iobroker add xbox  --host controlsystem
                                    NPM version: 6.14.10
                                    npm install iobroker.xbox@0.7.3 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                      Cache entry deserialization failed, entry ignored
                                      Cache entry deserialization failed, entry ignored
                                      ERROR: Command errored out with exit status 1:   command: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''       cwd: None  Complete output (100 lines):  Collecting setuptools>=40.6.0    Using cached setuptools-53.0.0-py3-none-any.whl (784 kB)  Collecting wheel    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)  Collecting cffi!=1.11.3,>=1.8    Using cached cffi-1.14.4.tar.gz (471 kB)  Collecting pycparser    Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)  Building wheels for collected packages: cffi    Building wheel for cffi (setup.py): started    Building wheel for cffi (setup.py): finished with status 'error'    ERROR: Command errored out with exit status 1:     command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0ez46e_t         cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/    Complete output (36 lines):    running bdist_wheel    running build    running build_py    creating build    creating build/lib.linux-armv7l-3.7    creating build/lib.linux-armv7l-3.7/cffi    copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi    running build_ext    building '_cffi_backend' extension    creating build/temp.linux-armv7l-3.7    creating build/temp.linux-armv7l-3.7/c    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o    c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory     #include <Python.h>              ^~~~~~~~~~    compilation terminated.    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1    ----------------------------------------    ERROR: Failed building wheel for cffi    Running setup.py clean for cffi  Failed to build cffi  Installing collected packages: pycparser, wheel, setuptools, cffi      Running setup.py install for cffi: started      Running setup.py install for cffi: finished with status 'error'      ERROR: Command errored out with exit status 1:       command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi           cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/      Complete output (36 lines):      running install      running build      running build_py      creating build      creating build/lib.linux-armv7l-3.7      creating build/lib.linux-armv7l-3.7/cffi      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi      running build_ext      building '_cffi_backend' extension      creating build/temp.linux-armv7l-3.7      creating build/temp.linux-armv7l-3.7/c      arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o      c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory       #include <Python.h>                ^~~~~~~~~~      compilation terminated.      error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1      ----------------------------------------  ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi Check the logs for full command output.  ----------------------------------------
                                    WARNING: Discarding https://files.pythonhosted.org/packages/94/5c/42de91c7fbdb817b2d9a4e64b067946eb38a4eb36c1a09c96c87a0f86a82/cryptography-3.2.1.tar.gz#sha256=d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3 (from https://pypi.org/simple/cryptography/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*). Command errored out with exit status 1: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
                                    ERROR: Could not find a version that satisfies the requirement cryptography==3.2.1 (from xbox-smartglass-core)ERROR: No matching distribution found for cryptography==3.2.1
                                    npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! iobroker.xbox@0.7.3 install: `npip install`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.xbox@0.7.3 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-02-03T12_21_22_104Z-debug.log
                                    ERROR: host.controlsystem Cannot install iobroker.xbox@0.7.3: 1
                                    ERROR: process exited with code 25```
                                    
                                    

                                    Gruß

                                    Erik

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von Thomas Braun
                                    #38

                                    @erikmettra sagte in XBOX Adapter Fehler Pi4:

                                    Bitte Text in CodeTags setzen.

                                    ERROR: Could not find a version that satisfies the requirement cryptography==3.2.1

                                    Da wirst du wohl python 3.2. installieren müssen. Du hast python3.7 im System. Oder eine der anderen Versionen:

                                    requires-python:>=2.7,!=3.0.,!=3.1.,!=3.2.,!=3.3.,!=3.4.*
                                    

                                    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 Antwort Letzte Antwort
                                    0
                                    • E erikmettra

                                      Servus,

                                      ich schaffe es leider nicht den Adapter zu installieren.

                                      Weder über Github noch über die Admin Oberfläche komme ich weiter.

                                      Folgender Fehlerlog wird mir angezeigt:

                                      code_text
                                      ```$ ./iobroker add xbox  --host controlsystem
                                      NPM version: 6.14.10
                                      npm install iobroker.xbox@0.7.3 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                        Cache entry deserialization failed, entry ignored
                                        Cache entry deserialization failed, entry ignored
                                        ERROR: Command errored out with exit status 1:   command: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''       cwd: None  Complete output (100 lines):  Collecting setuptools>=40.6.0    Using cached setuptools-53.0.0-py3-none-any.whl (784 kB)  Collecting wheel    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)  Collecting cffi!=1.11.3,>=1.8    Using cached cffi-1.14.4.tar.gz (471 kB)  Collecting pycparser    Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)  Building wheels for collected packages: cffi    Building wheel for cffi (setup.py): started    Building wheel for cffi (setup.py): finished with status 'error'    ERROR: Command errored out with exit status 1:     command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0ez46e_t         cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/    Complete output (36 lines):    running bdist_wheel    running build    running build_py    creating build    creating build/lib.linux-armv7l-3.7    creating build/lib.linux-armv7l-3.7/cffi    copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi    running build_ext    building '_cffi_backend' extension    creating build/temp.linux-armv7l-3.7    creating build/temp.linux-armv7l-3.7/c    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o    c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory     #include <Python.h>              ^~~~~~~~~~    compilation terminated.    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1    ----------------------------------------    ERROR: Failed building wheel for cffi    Running setup.py clean for cffi  Failed to build cffi  Installing collected packages: pycparser, wheel, setuptools, cffi      Running setup.py install for cffi: started      Running setup.py install for cffi: finished with status 'error'      ERROR: Command errored out with exit status 1:       command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi           cwd: /tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/      Complete output (36 lines):      running install      running build      running build_py      creating build      creating build/lib.linux-armv7l-3.7      creating build/lib.linux-armv7l-3.7/cffi      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi      running build_ext      building '_cffi_backend' extension      creating build/temp.linux-armv7l-3.7      creating build/temp.linux-armv7l-3.7/c      arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o      c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory       #include <Python.h>                ^~~~~~~~~~      compilation terminated.      error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1      ----------------------------------------  ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z3l88ths/cffi_b92d3a94b89a490d91b9f3ec14a7871c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hu_7zb3c/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aztj4_0t/overlay --compile --install-headers /tmp/pip-build-env-aztj4_0t/overlay/include/python3.7m/cffi Check the logs for full command output.  ----------------------------------------
                                      WARNING: Discarding https://files.pythonhosted.org/packages/94/5c/42de91c7fbdb817b2d9a4e64b067946eb38a4eb36c1a09c96c87a0f86a82/cryptography-3.2.1.tar.gz#sha256=d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3 (from https://pypi.org/simple/cryptography/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*). Command errored out with exit status 1: /usr/bin/python3.7 /opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aztj4_0t/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
                                      ERROR: Could not find a version that satisfies the requirement cryptography==3.2.1 (from xbox-smartglass-core)ERROR: No matching distribution found for cryptography==3.2.1
                                      npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! iobroker.xbox@0.7.3 install: `npip install`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.xbox@0.7.3 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-02-03T12_21_22_104Z-debug.log
                                      ERROR: host.controlsystem Cannot install iobroker.xbox@0.7.3: 1
                                      ERROR: process exited with code 25```
                                      
                                      

                                      Gruß

                                      Erik

                                      foxriver76F Offline
                                      foxriver76F Offline
                                      foxriver76
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #39

                                      @erikmettra zeig mal python3.8 -v, python3.7 -v, python3 -v, python-v

                                      Videotutorials & mehr

                                      Hier könnt ihr mich unterstützen.

                                      E 1 Antwort Letzte Antwort
                                      0
                                      • foxriver76F foxriver76

                                        @erikmettra zeig mal python3.8 -v, python3.7 -v, python3 -v, python-v

                                        E Offline
                                        E Offline
                                        erikmettra
                                        schrieb am zuletzt editiert von erikmettra
                                        #40

                                        @foxriver76 said in XBOX Adapter Fehler Pi4:

                                        python3.8 -v

                                        /opt/iobroker$ python3.8 -v
                                        
                                        /bin/sh: 1: python3.8: not found
                                        /opt/iobroker$ python3.7 -v
                                        
                                        import _frozen_importlib # frozen
                                        import _imp # builtin
                                        import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
                                        import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
                                        import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
                                        # installing zipimport hook
                                        import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
                                        # installed zipimport hook
                                        import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
                                        import '_io' # <class '_frozen_importlib.BuiltinImporter'>
                                        import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
                                        import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
                                        import _thread # previously loaded ('_thread')
                                        import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
                                        import _weakref # previously loaded ('_weakref')
                                        import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
                                        # /usr/lib/python3.7/encodings/__pycache__/__init__.cpython-37.pyc matches /usr/lib/python3.7/encodings/__init__.py
                                        # code object from '/usr/lib/python3.7/encodings/__pycache__/__init__.cpython-37.pyc'
                                        # /usr/lib/python3.7/__pycache__/codecs.cpython-37.pyc matches /usr/lib/python3.7/codecs.py
                                        # code object from '/usr/lib/python3.7/__pycache__/codecs.cpython-37.pyc'
                                        import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
                                        import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0xb6742570>
                                        # /usr/lib/python3.7/encodings/__pycache__/aliases.cpython-37.pyc matches /usr/lib/python3.7/encodings/aliases.py
                                        # code object from '/usr/lib/python3.7/encodings/__pycache__/aliases.cpython-37.pyc'
                                        import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0xb67560d0>
                                        import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0xb6742250>
                                        # /usr/lib/python3.7/encodings/__pycache__/utf_8.cpython-37.pyc matches /usr/lib/python3.7/encodings/utf_8.py
                                        # code object from '/usr/lib/python3.7/encodings/__pycache__/utf_8.cpython-37.pyc'
                                        import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0xb6759a50>
                                        import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
                                        # /usr/lib/python3.7/encodings/__pycache__/latin_1.cpython-37.pyc matches /usr/lib/python3.7/encodings/latin_1.py
                                        # code object from '/usr/lib/python3.7/encodings/__pycache__/latin_1.cpython-37.pyc'
                                        import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d070>
                                        # /usr/lib/python3.7/__pycache__/io.cpython-37.pyc matches /usr/lib/python3.7/io.py
                                        # code object from '/usr/lib/python3.7/__pycache__/io.cpython-37.pyc'
                                        # /usr/lib/python3.7/__pycache__/abc.cpython-37.pyc matches /usr/lib/python3.7/abc.py
                                        # code object from '/usr/lib/python3.7/__pycache__/abc.cpython-37.pyc'
                                        import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
                                        import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d2f0>
                                        import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d150>
                                        # /usr/lib/python3.7/__pycache__/_bootlocale.cpython-37.pyc matches /usr/lib/python3.7/_bootlocale.py
                                        # code object from '/usr/lib/python3.7/__pycache__/_bootlocale.cpython-37.pyc'
                                        import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
                                        import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d9f0>
                                        Python 3.7.3 (default, Jul 25 2020, 13:03:44)
                                        [GCC 8.3.0] on linux
                                        Type "help", "copyright", "credits" or "license" for more information.
                                         
                                        /opt/iobroker$ python3 -v
                                        
                                        /opt/iobroker$ python -v
                                        
                                        /opt/iobroker$  
                                        
                                        /opt/iobroker$ python -v
                                        
                                        # installing zipimport hook
                                        import zipimport # builtin
                                        # installed zipimport hook
                                        # /usr/lib/python2.7/site.pyc matches /usr/lib/python2.7/site.py
                                        import site # precompiled from /usr/lib/python2.7/site.pyc
                                        # /usr/lib/python2.7/os.pyc matches /usr/lib/python2.7/os.py
                                        import os # precompiled from /usr/lib/python2.7/os.pyc
                                        import errno # builtin
                                        import posix # builtin
                                        # /usr/lib/python2.7/posixpath.pyc matches /usr/lib/python2.7/posixpath.py
                                        import posixpath # precompiled from /usr/lib/python2.7/posixpath.pyc
                                        # /usr/lib/python2.7/stat.pyc matches /usr/lib/python2.7/stat.py
                                        import stat # precompiled from /usr/lib/python2.7/stat.pyc
                                        # /usr/lib/python2.7/genericpath.pyc matches /usr/lib/python2.7/genericpath.py
                                        import genericpath # precompiled from /usr/lib/python2.7/genericpath.pyc
                                        # /usr/lib/python2.7/warnings.pyc matches /usr/lib/python2.7/warnings.py
                                        import warnings # precompiled from /usr/lib/python2.7/warnings.pyc
                                        # /usr/lib/python2.7/linecache.pyc matches /usr/lib/python2.7/linecache.py
                                        import linecache # precompiled from /usr/lib/python2.7/linecache.pyc
                                        # /usr/lib/python2.7/types.pyc matches /usr/lib/python2.7/types.py
                                        import types # precompiled from /usr/lib/python2.7/types.pyc
                                        # /usr/lib/python2.7/UserDict.pyc matches /usr/lib/python2.7/UserDict.py
                                        import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyc
                                        # /usr/lib/python2.7/_abcoll.pyc matches /usr/lib/python2.7/_abcoll.py
                                        import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyc
                                        # /usr/lib/python2.7/abc.pyc matches /usr/lib/python2.7/abc.py
                                        import abc # precompiled from /usr/lib/python2.7/abc.pyc
                                        # /usr/lib/python2.7/_weakrefset.pyc matches /usr/lib/python2.7/_weakrefset.py
                                        import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyc
                                        import _weakref # builtin
                                        # /usr/lib/python2.7/copy_reg.pyc matches /usr/lib/python2.7/copy_reg.py
                                        import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyc
                                        # /usr/lib/python2.7/traceback.pyc matches /usr/lib/python2.7/traceback.py
                                        import traceback # precompiled from /usr/lib/python2.7/traceback.pyc
                                        # /usr/lib/python2.7/sysconfig.pyc matches /usr/lib/python2.7/sysconfig.py
                                        import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyc
                                        # /usr/lib/python2.7/re.pyc matches /usr/lib/python2.7/re.py
                                        import re # precompiled from /usr/lib/python2.7/re.pyc
                                        # /usr/lib/python2.7/sre_compile.pyc matches /usr/lib/python2.7/sre_compile.py
                                        import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyc
                                        import _sre # builtin
                                        # /usr/lib/python2.7/sre_parse.pyc matches /usr/lib/python2.7/sre_parse.py
                                        import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyc
                                        # /usr/lib/python2.7/sre_constants.pyc matches /usr/lib/python2.7/sre_constants.py
                                        import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyc
                                        import _locale # builtin
                                        # /usr/lib/python2.7/_sysconfigdata.pyc matches /usr/lib/python2.7/_sysconfigdata.py
                                        import _sysconfigdata # precompiled from /usr/lib/python2.7/_sysconfigdata.pyc
                                        # /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc matches /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.py
                                        import _sysconfigdata_nd # precompiled from /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc
                                        # /usr/lib/python2.7/sitecustomize.pyc matches /usr/lib/python2.7/sitecustomize.py
                                        import sitecustomize # precompiled from /usr/lib/python2.7/sitecustomize.pyc
                                        import encodings # directory /usr/lib/python2.7/encodings
                                        # /usr/lib/python2.7/encodings/__init__.pyc matches /usr/lib/python2.7/encodings/__init__.py
                                        import encodings # precompiled from /usr/lib/python2.7/encodings/__init__.pyc
                                        # /usr/lib/python2.7/codecs.pyc matches /usr/lib/python2.7/codecs.py
                                        import codecs # precompiled from /usr/lib/python2.7/codecs.pyc
                                        import _codecs # builtin
                                        # /usr/lib/python2.7/encodings/aliases.pyc matches /usr/lib/python2.7/encodings/aliases.py
                                        import encodings.aliases # precompiled from /usr/lib/python2.7/encodings/aliases.pyc
                                        # /usr/lib/python2.7/encodings/utf_8.pyc matches /usr/lib/python2.7/encodings/utf_8.py
                                        import encodings.utf_8 # precompiled from /usr/lib/python2.7/encodings/utf_8.pyc
                                        Python 2.7.16 (default, Oct 10 2019, 22:02:15)
                                        [GCC 8.3.0] on linux2
                                        Type "help", "copyright", "credits" or "license" for more information.
                                          
                                        
                                        foxriver76F 1 Antwort Letzte Antwort
                                        0
                                        • E erikmettra

                                          @foxriver76 said in XBOX Adapter Fehler Pi4:

                                          python3.8 -v

                                          /opt/iobroker$ python3.8 -v
                                          
                                          /bin/sh: 1: python3.8: not found
                                          /opt/iobroker$ python3.7 -v
                                          
                                          import _frozen_importlib # frozen
                                          import _imp # builtin
                                          import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
                                          import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
                                          import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
                                          # installing zipimport hook
                                          import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
                                          # installed zipimport hook
                                          import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
                                          import '_io' # <class '_frozen_importlib.BuiltinImporter'>
                                          import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
                                          import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
                                          import _thread # previously loaded ('_thread')
                                          import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
                                          import _weakref # previously loaded ('_weakref')
                                          import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
                                          # /usr/lib/python3.7/encodings/__pycache__/__init__.cpython-37.pyc matches /usr/lib/python3.7/encodings/__init__.py
                                          # code object from '/usr/lib/python3.7/encodings/__pycache__/__init__.cpython-37.pyc'
                                          # /usr/lib/python3.7/__pycache__/codecs.cpython-37.pyc matches /usr/lib/python3.7/codecs.py
                                          # code object from '/usr/lib/python3.7/__pycache__/codecs.cpython-37.pyc'
                                          import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
                                          import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0xb6742570>
                                          # /usr/lib/python3.7/encodings/__pycache__/aliases.cpython-37.pyc matches /usr/lib/python3.7/encodings/aliases.py
                                          # code object from '/usr/lib/python3.7/encodings/__pycache__/aliases.cpython-37.pyc'
                                          import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0xb67560d0>
                                          import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0xb6742250>
                                          # /usr/lib/python3.7/encodings/__pycache__/utf_8.cpython-37.pyc matches /usr/lib/python3.7/encodings/utf_8.py
                                          # code object from '/usr/lib/python3.7/encodings/__pycache__/utf_8.cpython-37.pyc'
                                          import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0xb6759a50>
                                          import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
                                          # /usr/lib/python3.7/encodings/__pycache__/latin_1.cpython-37.pyc matches /usr/lib/python3.7/encodings/latin_1.py
                                          # code object from '/usr/lib/python3.7/encodings/__pycache__/latin_1.cpython-37.pyc'
                                          import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d070>
                                          # /usr/lib/python3.7/__pycache__/io.cpython-37.pyc matches /usr/lib/python3.7/io.py
                                          # code object from '/usr/lib/python3.7/__pycache__/io.cpython-37.pyc'
                                          # /usr/lib/python3.7/__pycache__/abc.cpython-37.pyc matches /usr/lib/python3.7/abc.py
                                          # code object from '/usr/lib/python3.7/__pycache__/abc.cpython-37.pyc'
                                          import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
                                          import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d2f0>
                                          import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d150>
                                          # /usr/lib/python3.7/__pycache__/_bootlocale.cpython-37.pyc matches /usr/lib/python3.7/_bootlocale.py
                                          # code object from '/usr/lib/python3.7/__pycache__/_bootlocale.cpython-37.pyc'
                                          import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
                                          import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0xb675d9f0>
                                          Python 3.7.3 (default, Jul 25 2020, 13:03:44)
                                          [GCC 8.3.0] on linux
                                          Type "help", "copyright", "credits" or "license" for more information.
                                           
                                          /opt/iobroker$ python3 -v
                                          
                                          /opt/iobroker$ python -v
                                          
                                          /opt/iobroker$  
                                          
                                          /opt/iobroker$ python -v
                                          
                                          # installing zipimport hook
                                          import zipimport # builtin
                                          # installed zipimport hook
                                          # /usr/lib/python2.7/site.pyc matches /usr/lib/python2.7/site.py
                                          import site # precompiled from /usr/lib/python2.7/site.pyc
                                          # /usr/lib/python2.7/os.pyc matches /usr/lib/python2.7/os.py
                                          import os # precompiled from /usr/lib/python2.7/os.pyc
                                          import errno # builtin
                                          import posix # builtin
                                          # /usr/lib/python2.7/posixpath.pyc matches /usr/lib/python2.7/posixpath.py
                                          import posixpath # precompiled from /usr/lib/python2.7/posixpath.pyc
                                          # /usr/lib/python2.7/stat.pyc matches /usr/lib/python2.7/stat.py
                                          import stat # precompiled from /usr/lib/python2.7/stat.pyc
                                          # /usr/lib/python2.7/genericpath.pyc matches /usr/lib/python2.7/genericpath.py
                                          import genericpath # precompiled from /usr/lib/python2.7/genericpath.pyc
                                          # /usr/lib/python2.7/warnings.pyc matches /usr/lib/python2.7/warnings.py
                                          import warnings # precompiled from /usr/lib/python2.7/warnings.pyc
                                          # /usr/lib/python2.7/linecache.pyc matches /usr/lib/python2.7/linecache.py
                                          import linecache # precompiled from /usr/lib/python2.7/linecache.pyc
                                          # /usr/lib/python2.7/types.pyc matches /usr/lib/python2.7/types.py
                                          import types # precompiled from /usr/lib/python2.7/types.pyc
                                          # /usr/lib/python2.7/UserDict.pyc matches /usr/lib/python2.7/UserDict.py
                                          import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyc
                                          # /usr/lib/python2.7/_abcoll.pyc matches /usr/lib/python2.7/_abcoll.py
                                          import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyc
                                          # /usr/lib/python2.7/abc.pyc matches /usr/lib/python2.7/abc.py
                                          import abc # precompiled from /usr/lib/python2.7/abc.pyc
                                          # /usr/lib/python2.7/_weakrefset.pyc matches /usr/lib/python2.7/_weakrefset.py
                                          import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyc
                                          import _weakref # builtin
                                          # /usr/lib/python2.7/copy_reg.pyc matches /usr/lib/python2.7/copy_reg.py
                                          import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyc
                                          # /usr/lib/python2.7/traceback.pyc matches /usr/lib/python2.7/traceback.py
                                          import traceback # precompiled from /usr/lib/python2.7/traceback.pyc
                                          # /usr/lib/python2.7/sysconfig.pyc matches /usr/lib/python2.7/sysconfig.py
                                          import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyc
                                          # /usr/lib/python2.7/re.pyc matches /usr/lib/python2.7/re.py
                                          import re # precompiled from /usr/lib/python2.7/re.pyc
                                          # /usr/lib/python2.7/sre_compile.pyc matches /usr/lib/python2.7/sre_compile.py
                                          import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyc
                                          import _sre # builtin
                                          # /usr/lib/python2.7/sre_parse.pyc matches /usr/lib/python2.7/sre_parse.py
                                          import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyc
                                          # /usr/lib/python2.7/sre_constants.pyc matches /usr/lib/python2.7/sre_constants.py
                                          import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyc
                                          import _locale # builtin
                                          # /usr/lib/python2.7/_sysconfigdata.pyc matches /usr/lib/python2.7/_sysconfigdata.py
                                          import _sysconfigdata # precompiled from /usr/lib/python2.7/_sysconfigdata.pyc
                                          # /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc matches /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.py
                                          import _sysconfigdata_nd # precompiled from /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc
                                          # /usr/lib/python2.7/sitecustomize.pyc matches /usr/lib/python2.7/sitecustomize.py
                                          import sitecustomize # precompiled from /usr/lib/python2.7/sitecustomize.pyc
                                          import encodings # directory /usr/lib/python2.7/encodings
                                          # /usr/lib/python2.7/encodings/__init__.pyc matches /usr/lib/python2.7/encodings/__init__.py
                                          import encodings # precompiled from /usr/lib/python2.7/encodings/__init__.pyc
                                          # /usr/lib/python2.7/codecs.pyc matches /usr/lib/python2.7/codecs.py
                                          import codecs # precompiled from /usr/lib/python2.7/codecs.pyc
                                          import _codecs # builtin
                                          # /usr/lib/python2.7/encodings/aliases.pyc matches /usr/lib/python2.7/encodings/aliases.py
                                          import encodings.aliases # precompiled from /usr/lib/python2.7/encodings/aliases.pyc
                                          # /usr/lib/python2.7/encodings/utf_8.pyc matches /usr/lib/python2.7/encodings/utf_8.py
                                          import encodings.utf_8 # precompiled from /usr/lib/python2.7/encodings/utf_8.pyc
                                          Python 2.7.16 (default, Oct 10 2019, 22:02:15)
                                          [GCC 8.3.0] on linux2
                                          Type "help", "copyright", "credits" or "license" for more information.
                                            
                                          
                                          foxriver76F Offline
                                          foxriver76F Offline
                                          foxriver76
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #41

                                          @erikmettra Ups python nimmt wohl nur --version aber Python3.7 funktioniert und sollte passen.

                                          Check mal ob die Pakete build-essential libssl-dev libffi-dev python3-dev installiert sind, je nach js-c werden sie nicht automatisch mitinstalliert.

                                          Videotutorials & mehr

                                          Hier könnt ihr mich unterstützen.

                                          E 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          989

                                          Online

                                          32.5k

                                          Benutzer

                                          81.9k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe