Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. XBOX Adapter Fehler Pi4

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    SOLVED XBOX Adapter Fehler Pi4

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Smallfeuer @foxriver76 last edited by 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...👍

      Gibts hier irgendwo eine XBox billiger? 😊

      foxriver76 U 2 Replies Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer @Smallfeuer last edited by foxriver76

        @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.

        1 Reply Last reply Reply Quote 0
        • U
          useful_idiot @Smallfeuer last edited by 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 foxriver76 2 Replies Last reply Reply Quote 0
          • S
            Smallfeuer @useful_idiot last edited by

            @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 Reply Last reply Reply Quote 0
            • foxriver76
              foxriver76 Developer @useful_idiot last edited by

              @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

              tuxuser created this issue in OpenXbox/xbox-smartglass-core-python

              open HELP! Everything is broken! OMG #49

              1 Reply Last reply Reply Quote 1
              • foxriver76
                foxriver76 Developer last edited by

                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 2 Replies Last reply Reply Quote 0
                • S
                  Smallfeuer @foxriver76 last edited by

                  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
                  
                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Smallfeuer last edited by

                    @Smallfeuer Setz den Link in "

                    S 2 Replies Last reply Reply Quote 0
                    • S
                      Smallfeuer @foxriver76 last edited by

                      @foxriver76

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

                      1 Reply Last reply Reply Quote 0
                      • S
                        Smallfeuer @foxriver76 last edited by 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?

                        foxriver76 1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @Smallfeuer last edited by

                          @Smallfeuer ne sollte damit nix zu tun haben.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Smallfeuer @foxriver76 last edited by

                            @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...

                            foxriver76 1 Reply Last reply Reply Quote 0
                            • foxriver76
                              foxriver76 Developer @Smallfeuer last edited by

                              @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.

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

                                  @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.*
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • foxriver76
                                    foxriver76 Developer @erikmettra last edited by

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

                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      erikmettra @foxriver76 last edited by 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.
                                        
                                      
                                      foxriver76 1 Reply Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer @erikmettra last edited by

                                        @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.

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          erikmettra @foxriver76 last edited by

                                          @foxriver76 said in XBOX Adapter Fehler Pi4:

                                          build-essential libssl-dev libffi-dev python3-dev

                                          Scheint nicht installiert zu sein.

                                          
                                          /bin/sh: 1: build-essential: not found
                                          /opt/iobroker$ build-essential libssl-dev libffi-dev python3-dev
                                          
                                          /bin/sh: 1: build-essential: not found
                                          /opt/iobroker$  
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @erikmettra last edited by

                                            @erikmettra
                                            So schaut man das nicht nach.
                                            Mach es so:

                                            apt policy build-essential libssl-dev libffi-dev python3-dev
                                            
                                            E 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            929
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            xbox adapter
                                            6
                                            46
                                            2282
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo