Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

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

NEWS

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

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    12
    1
    566

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

XBOX Adapter Fehler Pi4

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

    @Smallfeuer ja Live Id der Konsole. Was passiert wenn du den Server mal manuell startest?

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

    @foxriver76 Soll ich den Fix nochmal laufen lassen?

    Binary compatibility issues on Python 3.7/Linux
    #1260

    Übergangslösung:

    pip install -U --force-reinstall --no-binary :all: gevent
    

    Ich sehe grad, das sind die falschen Zeilen in dem Workaround :( Da hab ich wohl nicht ordentlich geschaut beim ersten mal.... dann wird das wohl nicht helfen.

    foxriver76F 1 Antwort Letzte Antwort
    0
    • S Smallfeuer

      @foxriver76 Soll ich den Fix nochmal laufen lassen?

      Binary compatibility issues on Python 3.7/Linux
      #1260

      Übergangslösung:

      pip install -U --force-reinstall --no-binary :all: gevent
      

      Ich sehe grad, das sind die falschen Zeilen in dem Workaround :( Da hab ich wohl nicht ordentlich geschaut beim ersten mal.... dann wird das wohl nicht helfen.

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

      @Smallfeuer Anscheinend machen die Freunde öfter mal was kaputt (https://github.com/python-greenlet/greenlet/issues/179).

      Funktioniert deine Lösung?

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      S 2 Antworten Letzte Antwort
      0
      • foxriver76F foxriver76

        @Smallfeuer Anscheinend machen die Freunde öfter mal was kaputt (https://github.com/python-greenlet/greenlet/issues/179).

        Funktioniert deine Lösung?

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

        @foxriver76 Hier kommt folgendes:

        Defaulting to user installation because normal site-packages is not writeableCollecting gevent
          Using cached gevent-20.9.0.tar.gz (5.8 MB)
          Installing build dependencies ... done
          Getting requirements to build wheel ... done
            Preparing wheel metadata ... done
        Collecting zope.event
          Using cached zope.event-4.5.0.tar.gz (18 kB)
        Collecting zope.interface
          Using cached zope.interface-5.1.0.tar.gz (225 kB)
        Collecting greenlet>=0.4.17; platform_python_implementation == "CPython"
          Using cached greenlet-0.4.17.tar.gz (61 kB)
        Collecting setuptools
          Using cached setuptools-44.1.1.zip (858 kB)
        Skipping wheel build for zope.event, due to binaries being disabled for it.
        Skipping wheel build for zope.interface, due to binaries being disabled for it.
        Skipping wheel build for greenlet, due to binaries being disabled for it.
        Skipping wheel build for setuptools, due to binaries being disabled for it.
        Building wheels for collected packages: gevent
          Building wheel for gevent (PEP 517) ... done
          Created wheel for gevent: filename=gevent-20.9.0-cp27-cp27mu-linux_armv7l.whl size=4501677 sha256=34465c35edb88c52b43a8565da7443a911e1feea7161dcb1d10647a3653d50b3
          Stored in directory: /home/pi/.cache/pip/wheels/3b/b7/3e/f9e38f94c533b9b3549acf90ae8fc70283aab07f8f01ff527a
        Successfully built gevent
        Installing collected packages: setuptools, zope.event, zope.interface, greenlet, gevent
          Attempting uninstall: setuptools
            Found existing installation: setuptools 44.1.1
            Uninstalling setuptools-44.1.1:
              Successfully uninstalled setuptools-44.1.1
            Running setup.py install for setuptools ... done
          Attempting uninstall: zope.event
            Found existing installation: zope.event 4.5.0
            Uninstalling zope.event-4.5.0:
              Successfully uninstalled zope.event-4.5.0
            Running setup.py install for zope.event ... done
          Attempting uninstall: zope.interface
            Found existing installation: zope.interface 5.1.0
            Uninstalling zope.interface-5.1.0:
              Successfully uninstalled zope.interface-5.1.0
            Running setup.py install for zope.interface ... done
          Attempting uninstall: greenlet
            Found existing installation: greenlet 0.4.17
            Uninstalling greenlet-0.4.17:
              Successfully uninstalled greenlet-0.4.17
            Running setup.py install for greenlet ... done
          Attempting uninstall: gevent
            Found existing installation: gevent 1.3.7
            Uninstalling gevent-1.3.7:
              Successfully uninstalled gevent-1.3.7
        ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
        
        We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
        
        xbox-smartglass-core 1.1.1 requires gevent==1.3.7, but you'll have gevent 20.9.0 which is incompatible.
        
        S 1 Antwort Letzte Antwort
        0
        • S Smallfeuer

          @foxriver76 Hier kommt folgendes:

          Defaulting to user installation because normal site-packages is not writeableCollecting gevent
            Using cached gevent-20.9.0.tar.gz (5.8 MB)
            Installing build dependencies ... done
            Getting requirements to build wheel ... done
              Preparing wheel metadata ... done
          Collecting zope.event
            Using cached zope.event-4.5.0.tar.gz (18 kB)
          Collecting zope.interface
            Using cached zope.interface-5.1.0.tar.gz (225 kB)
          Collecting greenlet>=0.4.17; platform_python_implementation == "CPython"
            Using cached greenlet-0.4.17.tar.gz (61 kB)
          Collecting setuptools
            Using cached setuptools-44.1.1.zip (858 kB)
          Skipping wheel build for zope.event, due to binaries being disabled for it.
          Skipping wheel build for zope.interface, due to binaries being disabled for it.
          Skipping wheel build for greenlet, due to binaries being disabled for it.
          Skipping wheel build for setuptools, due to binaries being disabled for it.
          Building wheels for collected packages: gevent
            Building wheel for gevent (PEP 517) ... done
            Created wheel for gevent: filename=gevent-20.9.0-cp27-cp27mu-linux_armv7l.whl size=4501677 sha256=34465c35edb88c52b43a8565da7443a911e1feea7161dcb1d10647a3653d50b3
            Stored in directory: /home/pi/.cache/pip/wheels/3b/b7/3e/f9e38f94c533b9b3549acf90ae8fc70283aab07f8f01ff527a
          Successfully built gevent
          Installing collected packages: setuptools, zope.event, zope.interface, greenlet, gevent
            Attempting uninstall: setuptools
              Found existing installation: setuptools 44.1.1
              Uninstalling setuptools-44.1.1:
                Successfully uninstalled setuptools-44.1.1
              Running setup.py install for setuptools ... done
            Attempting uninstall: zope.event
              Found existing installation: zope.event 4.5.0
              Uninstalling zope.event-4.5.0:
                Successfully uninstalled zope.event-4.5.0
              Running setup.py install for zope.event ... done
            Attempting uninstall: zope.interface
              Found existing installation: zope.interface 5.1.0
              Uninstalling zope.interface-5.1.0:
                Successfully uninstalled zope.interface-5.1.0
              Running setup.py install for zope.interface ... done
            Attempting uninstall: greenlet
              Found existing installation: greenlet 0.4.17
              Uninstalling greenlet-0.4.17:
                Successfully uninstalled greenlet-0.4.17
              Running setup.py install for greenlet ... done
            Attempting uninstall: gevent
              Found existing installation: gevent 1.3.7
              Uninstalling gevent-1.3.7:
                Successfully uninstalled gevent-1.3.7
          ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
          
          We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
          
          xbox-smartglass-core 1.1.1 requires gevent==1.3.7, but you'll have gevent 20.9.0 which is incompatible.
          
          S Offline
          S Offline
          Smallfeuer
          schrieb am zuletzt editiert von
          #12

          @foxriver76 nach manuellem Start des Servers die gleichen Fehler, also durch das Workaround kein Eingriff an den betroffenen Zeilen -und auf Grund der Meldung am Ende auch keine Option:

          **%(#ff0000)[ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts]**
          
          1 Antwort Letzte Antwort
          0
          • S Smallfeuer

            Systemdata:
            |Hardwaresystem:| Pi 4 |
            |Arbeitsspeicher:| 4GB |
            |Festplattenart:| 16GB SD |
            |Betriebssystem:| Raspian Buster Lite |
            |Node-Version:| 10.22.1 |
            |Nodejs-Version:| 10.22.1|
            |NPM-Version:| 6.14.6 |
            |Installationsart:| Raspian Buster Lite + IO Broker | python Python 2.7.16 |

            pi@Pi4IOBroker:~ $ python --version
            Python 2.7.16
            pi@Pi4IOBroker:~ $ python3 --version
            Python 3.7.3
            
            

            Hallo @foxriver76, vielleicht könntest du mal probieren mit weiter zu helfen.
            Ich bin bereits alle Punkte von hier durchgegangen, komme aber leider nicht weiter.

            Die Installation läuft mittlerweile reibungslos. Leider lande ich immer wieder in der Endlosschleife:

            2020-09-24 13:40:54.720 - info: host.Pi4IOBroker "system.adapter.xbox.0" enabled
            2020-09-24 13:40:54.739 - info: host.Pi4IOBroker instance system.adapter.xbox.0 started with pid 21711
            2020-09-24 13:40:56.035 - debug: xbox.0 (21711) Redis Objects: Use Redis connection: 0.0.0.0:9001
            2020-09-24 13:40:56.071 - debug: xbox.0 (21711) Objects client ready ... initialize now
            2020-09-24 13:40:56.076 - debug: xbox.0 (21711) Objects create System PubSub Client
            2020-09-24 13:40:56.077 - debug: xbox.0 (21711) Objects create User PubSub Client
            2020-09-24 13:40:56.078 - debug: xbox.0 (21711) Objects client initialize lua scripts
            2020-09-24 13:40:56.089 - debug: xbox.0 (21711) Objects connected to redis: 0.0.0.0:9001
            2020-09-24 13:40:56.097 - debug: xbox.0 (21711) objectDB connected
            2020-09-24 13:40:56.100 - debug: xbox.0 (21711) Redis States: Use Redis connection: 0.0.0.0:9000
            2020-09-24 13:40:56.106 - debug: xbox.0 (21711) States create User PubSub Client
            2020-09-24 13:40:56.108 - debug: xbox.0 (21711) States create System PubSub Client
            2020-09-24 13:40:56.116 - debug: xbox.0 (21711) States connected to redis: 0.0.0.0:9000
            2020-09-24 13:40:56.117 - debug: xbox.0 (21711) statesDB connected
            2020-09-24 13:40:56.894 - info: xbox.0 (21711) starting. Version 0.6.5 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.22.1, js-controller: 3.1.6
            2020-09-24 13:40:56.924 - debug: xbox.0 (21711) [START] IP address is 192.168.178.5
            2020-09-24 13:40:56.925 - info: xbox.0 (21711) [START] Starting REST server
            2020-09-24 13:40:57.633 - debug: xbox.0 (21711) system.adapter.admin.0: logging true
            2020-09-24 13:41:02.053 - debug: xbox.0 (21711) [LOGOUT] <=== Failed to logout: undefined
            2020-09-24 13:41:02.078 - debug: xbox.0 (21711) Could not parse body
            2020-09-24 13:41:02.079 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
            2020-09-24 13:41:04.582 - debug: xbox.0 (21711) Could not parse body
            2020-09-24 13:41:04.583 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
            2020-09-24 13:41:07.088 - debug: xbox.0 (21711) Could not parse body
            2020-09-24 13:41:07.089 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
            2020-09-24 13:41:09.595 - debug: xbox.0 (21711) Could not parse body
            2020-09-24 13:41:09.596 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
            2020-09-24 13:41:10.146 - debug: xbox.0 (21711) [CHECK] Auth is not established
            2020-09-24 13:41:10.147 - debug: xbox.0 (21711) [PING] Xbox offline
            2020-09-24 13:41:12.103 - debug: xbox.0 (21711) Could not parse body
            
            

            Problem muss wohl hier liegen:

            2020-09-24 13:40:57.633 - debug: xbox.0 (21711) system.adapter.admin.0: logging true
            2020-09-24 13:41:02.053 - debug: xbox.0 (21711) [LOGOUT] <=== Failed to logout: undefined
            

            Wenn ich vorher den Server manuell starte, siehe 2. Befehl:

            pi@Pi4IOBroker:~ $ ls -lah /opt/iobroker/node_modules/nopy/src
            insgesamt 1,6M
            drwxr-xr-x+ 3 iobroker iobroker 4,0K Sep 23 09:22 .
            drwxrwxr-x+ 4 iobroker iobroker 4,0K Sep 23 09:22 ..
            -rw-r--r--+ 1 iobroker iobroker 7,5K Okt 26  1985 api.js
            -rw-r--r--+ 1 iobroker iobroker 1,6M Okt 26  1985 get-pip.py
            -rwxr-xr-x+ 1 iobroker iobroker  530 Okt 26  1985 nopenv.js
            -rwxr-xr-x+ 1 iobroker iobroker  397 Okt 26  1985 nopy.js
            -rwxr-xr-x+ 1 iobroker iobroker 2,3K Okt 26  1985 npip.js
            -rw-r--r--+ 1 iobroker iobroker  313 Okt 26  1985 promisify.js
            drwxr-xr-x+ 2 iobroker iobroker 4,0K Sep 23 09:22 test
            pi@Pi4IOBroker:~ $ /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js /opt/iob                                                                                                roker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server || /opt/iobroker/node_modules                                                                                                /iobroker.xbox/lib/../../nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/                                                                                                bin/xbox-rest-server
            -bash: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: Datei oder Verzeich                                                                                                nis nicht gefunden
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
              return f(*args, **kwds)
            Starting REST server from dedicated script
            Xbox SmartGlass main client started
            Xbox Smartglass REST server started on 127.0.0.1:5557
            
            

            daraufhin habe ich einen Workaround für Greenlet gefunden:

            pip install -U --force-reinstall --no-binary :all: gevent
            DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please u                                                                                                                       More details about Python 2 support in pip can be found at https://pip.pypa.io/en/
            Defaulting to user installation because normal site-packages is not writeable
            Collecting gevent
              Downloading gevent-20.9.0.tar.gz (5.8 MB)
                 |████████████████████████████████| 5.8 MB 1.5 MB/s
              Installing build dependencies ... done
              Getting requirements to build wheel ... done
                Preparing wheel metadata ... done
            Collecting zope.event
              Downloading zope.event-4.5.0.tar.gz (18 kB)
            Collecting zope.interface
              Downloading zope.interface-5.1.0.tar.gz (225 kB)
                 |████████████████████████████████| 225 kB 11.0 MB/s
            Collecting greenlet>=0.4.17; platform_python_implementation == "CPython"
              Using cached greenlet-0.4.17.tar.gz (61 kB)
            Collecting setuptools
              Using cached setuptools-44.1.1.zip (858 kB)
            Skipping wheel build for zope.event, due to binaries being disabled for it.
            Skipping wheel build for zope.interface, due to binaries being disabled for it.
            Skipping wheel build for greenlet, due to binaries being disabled for it.
            Skipping wheel build for setuptools, due to binaries being disabled for it.
            Building wheels for collected packages: gevent
              Building wheel for gevent (PEP 517) ... done
              Created wheel for gevent: filename=gevent-20.9.0-cp27-cp27mu-linux_armv7l.whl size=4501621 s                                                                                                           ha256=61c3b9ac4bd8ca92b479d6d3a1ef79e8746f286641c1e85cbeae13c5f1238434
              Stored in directory: /home/pi/.cache/pip/wheels/3b/b7/3e/f9e38f94c533b9b3549acf90ae8fc70283a                                                                                                           ab07f8f01ff527a
            Successfully built gevent
            Installing collected packages: setuptools, zope.event, zope.interface, greenlet, gevent
              Attempting uninstall: setuptools
                Found existing installation: setuptools 44.1.1
                Uninstalling setuptools-44.1.1:
                  Successfully uninstalled setuptools-44.1.1
                Running setup.py install for setuptools ... done
                Running setup.py install for zope.event ... done
                Running setup.py install for zope.interface ... done
                Running setup.py install for greenlet ... done
            Successfully installed gevent-20.9.0 greenlet-0.4.17 setuptools-44.1.1 zope.event-4.5.0 zope.i                                                                                                           nterface-5.1.0
            
            

            Leider auch keine Hilfe, noch immer ist der Adapter Gelb.

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

            @foxriver76 Hab mal eine LOG von der Installation gemacht:

            > iobroker.xbox@0.6.8 install /opt/iobroker/node_modules/iobroker.xbox
            > npip install
            
            No python_modules directory; installing pip locally if needed.
            Successfully completed pip check.
            Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
            Collecting xbox-smartglass-core>=1.2.2
              Using cached xbox_smartglass_core-1.2.2-py2.py3-none-any.whl (84 kB)
            Collecting gevent==1.5a3
              Downloading https://www.piwheels.org/simple/gevent/gevent-1.5a3-cp37-cp37m-linux_armv7l.whl (6.3 MB)
            Collecting xbox-webapi>=1.1.8
              Using cached xbox_webapi-1.1.8-py2.py3-none-any.whl (48 kB)
            Collecting Flask
              Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
            Collecting cryptography==2.8
              Downloading https://www.piwheels.org/simple/cryptography/cryptography-2.8-cp37-cp37m-linux_armv7l.whl (852 kB)
            Collecting marshmallow-objects
              Using cached marshmallow_objects-2.3.0-py3-none-any.whl (6.7 kB)
            Collecting dpkt
              Using cached dpkt-1.9.4-py3-none-any.whl (149 kB)
            Collecting construct==2.10.56
              Downloading https://www.piwheels.org/simple/construct/construct-2.10.56-py3-none-any.whl (56 kB)
            Collecting greenlet>=0.4.14; platform_python_implementation == "CPython"
              Downloading https://www.piwheels.org/simple/greenlet/greenlet-0.4.17-cp37-cp37m-linux_armv7l.whl (47 kB)
            Collecting appdirs
              Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
            Collecting urwid
              Downloading https://www.piwheels.org/simple/urwid/urwid-2.1.1-cp37-cp37m-linux_armv7l.whl (258 kB)
            Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from xbox-webapi>=1.1.8->xbox-smartglass-core>=1.2.2) (2.21.0)
            Collecting demjson
              Downloading https://www.piwheels.org/simple/demjson/demjson-2.2.4-py3-none-any.whl (60 kB)
            Collecting itsdangerous>=0.24
              Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
            Collecting click>=5.1
              Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
            Collecting Werkzeug>=0.15
              Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
            Collecting Jinja2>=2.10.1
              Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
            Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography==2.8->xbox-smartglass-core>=1.2.2) (1.12.0)
            Collecting cffi!=1.11.3,>=1.8
              Downloading https://www.piwheels.org/simple/cffi/cffi-1.14.3-cp37-cp37m-linux_armv7l.whl (345 kB)
            Collecting marshmallow>=3.0.0
              Using cached marshmallow-3.8.0-py2.py3-none-any.whl (46 kB)
            Collecting MarkupSafe>=0.23
              Downloading https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp37-cp37m-linux_armv7l.whl (33 kB)
            Collecting pycparser
              Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
            Installing collected packages: greenlet, gevent, appdirs, urwid, demjson, xbox-webapi, itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, pycparser, cffi, cryptography, marshmallow, marshmallow-objects, dpkt, construct, xbox-smartglass-core
            Successfully installed Flask-1.1.2 Jinja2-2.11.2 MarkupSafe-1.1.1 Werkzeug-1.0.1 appdirs-1.4.4 cffi-1.14.3 click-7.1.2 construct-2.10.56 cryptography-2.8 demjson-2.2.4 dpkt-1.9.4 gevent-1.5a3 greenlet-0.4.17 itsdangerous-1.1.0 marshmallow-3.8.0 marshmallow-objects-2.3.0 pycparser-2.20 urwid-2.1.1 xbox-smartglass-core-1.2.2 xbox-webapi-1.1.8
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            
            + iobroker.xbox@0.6.8
            added 1 package from 1 contributor and removed 1702 packages in 77.297s
            

            npm update hatt die WARN auch nicht weg bekommen- ist aber wenn ich das hier richtig lese nur für WIN User wichtig.
            Unsupported platform for fsevents@1.0.14: wanted

            1 Antwort Letzte Antwort
            0
            • S Smallfeuer

              @foxriver76 da lande ich wieder bei den grenlet Fehlern... was immer das ist ;)

              pi@Pi4IOBroker:/opt/iobroker $ /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server || /opt/iobroker/node_modules/iobroker.xbox/lib/../../nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server
              -bash: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: Datei oder Verzeichnis nicht gefunden
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                return f(*args, **kwds)
              Starting REST server from dedicated script
              Xbox SmartGlass main client started
              Xbox Smartglass REST server started on 127.0.0.1:5557
              
              
              S Offline
              S Offline
              Smallfeuer
              schrieb am zuletzt editiert von
              #14

              @foxriver76 falls es etwas nutzt:

              In der _bootstrap.py Zeile 72 steht dann: "if lock is None:" Leider reichen meine Linux Kenntnisse hier bei weitem nicht aus :( 74 wäre dann "tid = lock.owner"

                  def has_deadlock(self):
                      # Deadlock avoidance for concurrent circular imports.
                      me = _thread.get_ident()
                      tid = self.owner
                      while True:
                          lock = _blocking_on.get(tid)
                          if lock is None:
                              return False
                          tid = lock.owner
                          if tid == me:
              
              
              1 Antwort Letzte Antwort
              0
              • S Smallfeuer

                Systemdata:
                |Hardwaresystem:| Pi 4 |
                |Arbeitsspeicher:| 4GB |
                |Festplattenart:| 16GB SD |
                |Betriebssystem:| Raspian Buster Lite |
                |Node-Version:| 10.22.1 |
                |Nodejs-Version:| 10.22.1|
                |NPM-Version:| 6.14.6 |
                |Installationsart:| Raspian Buster Lite + IO Broker | python Python 2.7.16 |

                pi@Pi4IOBroker:~ $ python --version
                Python 2.7.16
                pi@Pi4IOBroker:~ $ python3 --version
                Python 3.7.3
                
                

                Hallo @foxriver76, vielleicht könntest du mal probieren mit weiter zu helfen.
                Ich bin bereits alle Punkte von hier durchgegangen, komme aber leider nicht weiter.

                Die Installation läuft mittlerweile reibungslos. Leider lande ich immer wieder in der Endlosschleife:

                2020-09-24 13:40:54.720 - info: host.Pi4IOBroker "system.adapter.xbox.0" enabled
                2020-09-24 13:40:54.739 - info: host.Pi4IOBroker instance system.adapter.xbox.0 started with pid 21711
                2020-09-24 13:40:56.035 - debug: xbox.0 (21711) Redis Objects: Use Redis connection: 0.0.0.0:9001
                2020-09-24 13:40:56.071 - debug: xbox.0 (21711) Objects client ready ... initialize now
                2020-09-24 13:40:56.076 - debug: xbox.0 (21711) Objects create System PubSub Client
                2020-09-24 13:40:56.077 - debug: xbox.0 (21711) Objects create User PubSub Client
                2020-09-24 13:40:56.078 - debug: xbox.0 (21711) Objects client initialize lua scripts
                2020-09-24 13:40:56.089 - debug: xbox.0 (21711) Objects connected to redis: 0.0.0.0:9001
                2020-09-24 13:40:56.097 - debug: xbox.0 (21711) objectDB connected
                2020-09-24 13:40:56.100 - debug: xbox.0 (21711) Redis States: Use Redis connection: 0.0.0.0:9000
                2020-09-24 13:40:56.106 - debug: xbox.0 (21711) States create User PubSub Client
                2020-09-24 13:40:56.108 - debug: xbox.0 (21711) States create System PubSub Client
                2020-09-24 13:40:56.116 - debug: xbox.0 (21711) States connected to redis: 0.0.0.0:9000
                2020-09-24 13:40:56.117 - debug: xbox.0 (21711) statesDB connected
                2020-09-24 13:40:56.894 - info: xbox.0 (21711) starting. Version 0.6.5 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.22.1, js-controller: 3.1.6
                2020-09-24 13:40:56.924 - debug: xbox.0 (21711) [START] IP address is 192.168.178.5
                2020-09-24 13:40:56.925 - info: xbox.0 (21711) [START] Starting REST server
                2020-09-24 13:40:57.633 - debug: xbox.0 (21711) system.adapter.admin.0: logging true
                2020-09-24 13:41:02.053 - debug: xbox.0 (21711) [LOGOUT] <=== Failed to logout: undefined
                2020-09-24 13:41:02.078 - debug: xbox.0 (21711) Could not parse body
                2020-09-24 13:41:02.079 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
                2020-09-24 13:41:04.582 - debug: xbox.0 (21711) Could not parse body
                2020-09-24 13:41:04.583 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
                2020-09-24 13:41:07.088 - debug: xbox.0 (21711) Could not parse body
                2020-09-24 13:41:07.089 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
                2020-09-24 13:41:09.595 - debug: xbox.0 (21711) Could not parse body
                2020-09-24 13:41:09.596 - warn: xbox.0 (21711) [LOGIN] Connection refused, will try again
                2020-09-24 13:41:10.146 - debug: xbox.0 (21711) [CHECK] Auth is not established
                2020-09-24 13:41:10.147 - debug: xbox.0 (21711) [PING] Xbox offline
                2020-09-24 13:41:12.103 - debug: xbox.0 (21711) Could not parse body
                
                

                Problem muss wohl hier liegen:

                2020-09-24 13:40:57.633 - debug: xbox.0 (21711) system.adapter.admin.0: logging true
                2020-09-24 13:41:02.053 - debug: xbox.0 (21711) [LOGOUT] <=== Failed to logout: undefined
                

                Wenn ich vorher den Server manuell starte, siehe 2. Befehl:

                pi@Pi4IOBroker:~ $ ls -lah /opt/iobroker/node_modules/nopy/src
                insgesamt 1,6M
                drwxr-xr-x+ 3 iobroker iobroker 4,0K Sep 23 09:22 .
                drwxrwxr-x+ 4 iobroker iobroker 4,0K Sep 23 09:22 ..
                -rw-r--r--+ 1 iobroker iobroker 7,5K Okt 26  1985 api.js
                -rw-r--r--+ 1 iobroker iobroker 1,6M Okt 26  1985 get-pip.py
                -rwxr-xr-x+ 1 iobroker iobroker  530 Okt 26  1985 nopenv.js
                -rwxr-xr-x+ 1 iobroker iobroker  397 Okt 26  1985 nopy.js
                -rwxr-xr-x+ 1 iobroker iobroker 2,3K Okt 26  1985 npip.js
                -rw-r--r--+ 1 iobroker iobroker  313 Okt 26  1985 promisify.js
                drwxr-xr-x+ 2 iobroker iobroker 4,0K Sep 23 09:22 test
                pi@Pi4IOBroker:~ $ /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js /opt/iob                                                                                                roker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server || /opt/iobroker/node_modules                                                                                                /iobroker.xbox/lib/../../nopy/src/nopy.js /opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/                                                                                                bin/xbox-rest-server
                -bash: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: Datei oder Verzeich                                                                                                nis nicht gefunden
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                /usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indic                                                                                                ate binary incompatibility. Expected 72 from C header, got 76 from PyObject
                  return f(*args, **kwds)
                Starting REST server from dedicated script
                Xbox SmartGlass main client started
                Xbox Smartglass REST server started on 127.0.0.1:5557
                
                

                daraufhin habe ich einen Workaround für Greenlet gefunden:

                pip install -U --force-reinstall --no-binary :all: gevent
                DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please u                                                                                                                       More details about Python 2 support in pip can be found at https://pip.pypa.io/en/
                Defaulting to user installation because normal site-packages is not writeable
                Collecting gevent
                  Downloading gevent-20.9.0.tar.gz (5.8 MB)
                     |████████████████████████████████| 5.8 MB 1.5 MB/s
                  Installing build dependencies ... done
                  Getting requirements to build wheel ... done
                    Preparing wheel metadata ... done
                Collecting zope.event
                  Downloading zope.event-4.5.0.tar.gz (18 kB)
                Collecting zope.interface
                  Downloading zope.interface-5.1.0.tar.gz (225 kB)
                     |████████████████████████████████| 225 kB 11.0 MB/s
                Collecting greenlet>=0.4.17; platform_python_implementation == "CPython"
                  Using cached greenlet-0.4.17.tar.gz (61 kB)
                Collecting setuptools
                  Using cached setuptools-44.1.1.zip (858 kB)
                Skipping wheel build for zope.event, due to binaries being disabled for it.
                Skipping wheel build for zope.interface, due to binaries being disabled for it.
                Skipping wheel build for greenlet, due to binaries being disabled for it.
                Skipping wheel build for setuptools, due to binaries being disabled for it.
                Building wheels for collected packages: gevent
                  Building wheel for gevent (PEP 517) ... done
                  Created wheel for gevent: filename=gevent-20.9.0-cp27-cp27mu-linux_armv7l.whl size=4501621 s                                                                                                           ha256=61c3b9ac4bd8ca92b479d6d3a1ef79e8746f286641c1e85cbeae13c5f1238434
                  Stored in directory: /home/pi/.cache/pip/wheels/3b/b7/3e/f9e38f94c533b9b3549acf90ae8fc70283a                                                                                                           ab07f8f01ff527a
                Successfully built gevent
                Installing collected packages: setuptools, zope.event, zope.interface, greenlet, gevent
                  Attempting uninstall: setuptools
                    Found existing installation: setuptools 44.1.1
                    Uninstalling setuptools-44.1.1:
                      Successfully uninstalled setuptools-44.1.1
                    Running setup.py install for setuptools ... done
                    Running setup.py install for zope.event ... done
                    Running setup.py install for zope.interface ... done
                    Running setup.py install for greenlet ... done
                Successfully installed gevent-20.9.0 greenlet-0.4.17 setuptools-44.1.1 zope.event-4.5.0 zope.i                                                                                                           nterface-5.1.0
                
                

                Leider auch keine Hilfe, noch immer ist der Adapter Gelb.

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

                Wenn die Xbox läuft kommt noch dieser Fehler:

                xbox.0	2020-09-25 12:30:13.259	debug	(1823) [CONNECT] Ping response, but provided LiveID has not been discovered until now
                xbox.0	2020-09-25 12:30:13.258	debug	(1823) [CONNECT] Check connection
                xbox.0	2020-09-25 12:30:13.256	error	(1823) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557
                xbox.0	2020-09-25 12:30:13.248	debug	(1823) [DISCOVER] Searching for consoles
                xbox.0	2020-09-25 12:30:13.245	debug	(1823) [PING] Xbox online
                xbox.0	2020-09-25 12:30:13.243	debug	(1823) [CHECK] Auth is not established
                xbox.0	2020-09-25 12:30:11.776	warn	(1823) [LOGIN] Connection refused, will try again
                xbox.0	2020-09-25 12:30:11.775	debug	(1823) Could not parse body
                xbox.0	2020-09-25 12:30:09.268	warn	(1823) [LOGIN] Connection refused, will try again
                
                1 Antwort Letzte Antwort
                0
                • foxriver76F foxriver76

                  @Smallfeuer Anscheinend machen die Freunde öfter mal was kaputt (https://github.com/python-greenlet/greenlet/issues/179).

                  Funktioniert deine Lösung?

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

                  @foxriver76 Der Workaround bringt nichts, hast du noch eine Idee was ich testen kann, bzw. gehst du dem Problem aktuell noch nach?

                  foxriver76F 1 Antwort Letzte Antwort
                  0
                  • S Smallfeuer

                    @foxriver76 Der Workaround bringt nichts, hast du noch eine Idee was ich testen kann, bzw. gehst du dem Problem aktuell noch nach?

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

                    @Smallfeuer Es gibt mittlerweile zumindest ein Issue bei smartglass-core https://github.com/OpenXbox/xbox-smartglass-core-python/issues/42

                    Videotutorials & mehr

                    Hier könnt ihr mich unterstützen.

                    1 Antwort Letzte Antwort
                    0
                    • R Offline
                      R Offline
                      r0b1zZle
                      schrieb am zuletzt editiert von r0b1zZle
                      #18

                      Gibt es schon Neuigkeiten? Stehe vor dem selben Problem.

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

                        Gibt es schon Neuigkeiten? Stehe vor dem selben Problem.

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

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

                        Videotutorials & mehr

                        Hier könnt ihr mich unterstützen.

                        S 1 Antwort Letzte Antwort
                        0
                        • foxriver76F foxriver76

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

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

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

                          R 1 Antwort Letzte Antwort
                          0
                          • S Smallfeuer

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

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

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

                            1 Antwort Letzte Antwort
                            0
                            • R r0b1zZle

                              Gibt es schon Neuigkeiten? Stehe vor dem selben Problem.

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

                              @r0b1zZle
                              @foxriver76

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

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

                              foxriver76F 1 Antwort Letzte Antwort
                              0
                              • S Smallfeuer

                                @r0b1zZle
                                @foxriver76

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

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

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

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

                                Videotutorials & mehr

                                Hier könnt ihr mich unterstützen.

                                S 1 Antwort Letzte Antwort
                                0
                                • foxriver76F foxriver76

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

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

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

                                  Gibts hier irgendwo eine XBox billiger? :blush:

                                  foxriver76F U 2 Antworten Letzte Antwort
                                  0
                                  • S Smallfeuer

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

                                    Gibts hier irgendwo eine XBox billiger? :blush:

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

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

                                    Videotutorials & mehr

                                    Hier könnt ihr mich unterstützen.

                                    1 Antwort Letzte Antwort
                                    0
                                    • S Smallfeuer

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

                                      Gibts hier irgendwo eine XBox billiger? :blush:

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

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

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

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

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

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

                                        1 Antwort Letzte Antwort
                                        0
                                        • U useful_idiot

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

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

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

                                          Videotutorials & mehr

                                          Hier könnt ihr mich unterstützen.

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          286

                                          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