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.
  • S Smallfeuer

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

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

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

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

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

    @Smallfeuer ne sollte damit nix zu tun haben.

    Videotutorials & mehr

    Hier könnt ihr mich unterstützen.

    1 Antwort Letzte Antwort
    0
    • foxriver76F foxriver76

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

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

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

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

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

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

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

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

      foxriver76F 1 Antwort Letzte Antwort
      0
      • S Smallfeuer

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

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

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

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

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

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

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

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

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

        Videotutorials & mehr

        Hier könnt ihr mich unterstützen.

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

          Servus,

          ich schaffe es leider nicht den Adapter zu installieren.

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

          Folgender Fehlerlog wird mir angezeigt:

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

          Gruß

          Erik

          Thomas BraunT foxriver76F 2 Antworten Letzte Antwort
          0
          • E erikmettra

            Servus,

            ich schaffe es leider nicht den Adapter zu installieren.

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

            Folgender Fehlerlog wird mir angezeigt:

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

            Gruß

            Erik

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

            @erikmettra sagte in XBOX Adapter Fehler Pi4:

            Bitte Text in CodeTags setzen.

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

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

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

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • E erikmettra

              Servus,

              ich schaffe es leider nicht den Adapter zu installieren.

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

              Folgender Fehlerlog wird mir angezeigt:

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

              Gruß

              Erik

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

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

              Videotutorials & mehr

              Hier könnt ihr mich unterstützen.

              E 1 Antwort Letzte Antwort
              0
              • foxriver76F foxriver76

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

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

                @foxriver76 said in XBOX Adapter Fehler Pi4:

                python3.8 -v

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

                  @foxriver76 said in XBOX Adapter Fehler Pi4:

                  python3.8 -v

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

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

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

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  E 1 Antwort Letzte Antwort
                  0
                  • foxriver76F foxriver76

                    @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 Offline
                    E Offline
                    erikmettra
                    schrieb am zuletzt editiert von
                    #42

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

                      @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 BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #43

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

                      apt policy build-essential libssl-dev libffi-dev python3-dev
                      

                      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

                      E 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

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

                        apt policy build-essential libssl-dev libffi-dev python3-dev
                        
                        E Offline
                        E Offline
                        erikmettra
                        schrieb am zuletzt editiert von
                        #44

                        @thomas-braun said in XBOX Adapter Fehler Pi4:

                        apt policy build-essential libssl-dev libffi-dev python3-dev

                        Danke dir :) Muss mich erst in der Linux Welt zurechtfinden.

                        /opt/iobroker$ apt policy build-essential libssl-dev libffi-dev python3-dev
                        
                        
                        WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                        
                        build-essential:
                          Installed: 12.6
                          Candidate: 12.6
                          Version table:
                        *** 12.6 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        libssl-dev:
                          Installed: (none)
                          Candidate: 1.1.1d-0+deb10u4+rpt1
                          Version table:
                             1.1.1d-0+deb10u4+rpt1 500
                                500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                             1.1.1d-0+deb10u4 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        libffi-dev:
                          Installed: 3.2.1-9
                          Candidate: 3.2.1-9
                          Version table:
                        *** 3.2.1-9 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        python3-dev:
                          Installed: (none)
                          Candidate: 3.7.3-1
                          Version table:
                             3.7.3-1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        /opt/iobroker$  
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • E erikmettra

                          @thomas-braun said in XBOX Adapter Fehler Pi4:

                          apt policy build-essential libssl-dev libffi-dev python3-dev

                          Danke dir :) Muss mich erst in der Linux Welt zurechtfinden.

                          /opt/iobroker$ apt policy build-essential libssl-dev libffi-dev python3-dev
                          
                          
                          WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                          
                          build-essential:
                            Installed: 12.6
                            Candidate: 12.6
                            Version table:
                          *** 12.6 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                          libssl-dev:
                            Installed: (none)
                            Candidate: 1.1.1d-0+deb10u4+rpt1
                            Version table:
                               1.1.1d-0+deb10u4+rpt1 500
                                  500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                               1.1.1d-0+deb10u4 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          libffi-dev:
                            Installed: 3.2.1-9
                            Candidate: 3.2.1-9
                            Version table:
                          *** 3.2.1-9 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                          python3-dev:
                            Installed: (none)
                            Candidate: 3.7.3-1
                            Version table:
                               3.7.3-1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          /opt/iobroker$  
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #45

                          @erikmettra sagte in XBOX Adapter Fehler Pi4:

                          Dann schaufel dir die fehlenden Pakete noch auf das System:

                          sudo apt install libssl-dev python3-dev
                          

                          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

                          E 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @erikmettra sagte in XBOX Adapter Fehler Pi4:

                            Dann schaufel dir die fehlenden Pakete noch auf das System:

                            sudo apt install libssl-dev python3-dev
                            
                            E Offline
                            E Offline
                            erikmettra
                            schrieb am zuletzt editiert von
                            #46

                            @thomas-braun said in XBOX Adapter Fehler Pi4:

                            sudo apt install libssl-dev python3-dev

                            Vielen Dank für den Support!

                            Der Adapter hat sich nun installieren lassen :)

                            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

                            758

                            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