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

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    473

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

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

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.
  • foxriver76F foxriver76

    @r0b1zZle es sind mittlerwele zwei Issues offen im smartglass package, habe nun auch nochmal was zu geschrieben. Kann von meiner Seite leider nichts machen.

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

    @foxriver76 Danke trotzdem für deine Mühe.
    @r0b1zZle Das Problem besteht bei mir noch immer. Wenn sich im Issue etwas tut wäre es toll eine Info zu bekommen. Würde mich dann nochmal ransetzen und probieren ob ich es zum Laufen bekomme. Aktuell scheint der Adapter sogar in die Alexa Skill Verbindung rein zu gretschen. Immer wenn ich den Adapter an hatte, kann ich den Skill neu installieren, dass er wieder läuft. Über Iobroker ist es immerhin möglich die Alexa Xbox devices einzuschalten, leider funktioniert die Rückmeldung zu langsam und ungenau. Ansonsten wäre das für die Steuerung eine alternative gewesen.
    Also Abwarten.....

    R 1 Antwort Letzte Antwort
    0
    • S Smallfeuer

      @foxriver76 Danke trotzdem für deine Mühe.
      @r0b1zZle Das Problem besteht bei mir noch immer. Wenn sich im Issue etwas tut wäre es toll eine Info zu bekommen. Würde mich dann nochmal ransetzen und probieren ob ich es zum Laufen bekomme. Aktuell scheint der Adapter sogar in die Alexa Skill Verbindung rein zu gretschen. Immer wenn ich den Adapter an hatte, kann ich den Skill neu installieren, dass er wieder läuft. Über Iobroker ist es immerhin möglich die Alexa Xbox devices einzuschalten, leider funktioniert die Rückmeldung zu langsam und ungenau. Ansonsten wäre das für die Steuerung eine alternative gewesen.
      Also Abwarten.....

      R Offline
      R Offline
      r0b1zZle
      schrieb am zuletzt editiert von r0b1zZle
      #21

      @Smallfeuer Hier steht noch, dass man ein Downgrade auf Greenlet 0.4.13 machen soll. Hat bei mir aber nichts gebracht, eventuell bei euch?

      1 Antwort Letzte Antwort
      0
      • 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
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          770

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          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