NEWS
SOLVED XBOX Adapter Fehler Pi4
-
@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
-
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...
-
@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.
-
@Smallfeuer Anscheinend machen die Freunde öfter mal was kaputt (https://github.com/python-greenlet/greenlet/issues/179).
Funktioniert deine Lösung?
-
@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.
-
@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]**
-
@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 -
@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:
-
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
-
@foxriver76 Der Workaround bringt nichts, hast du noch eine Idee was ich testen kann, bzw. gehst du dem Problem aktuell noch nach?
-
@Smallfeuer Es gibt mittlerweile zumindest ein Issue bei smartglass-core https://github.com/OpenXbox/xbox-smartglass-core-python/issues/42
-
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)
-
-
@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..... -
@Smallfeuer Hier steht noch, dass man ein Downgrade auf Greenlet 0.4.13 machen soll. Hat bei mir aber nichts gebracht, eventuell bei euch?
-
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...
-
@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.
-
@foxriver76 Ja, das einloggen war etwas fehlerbehaftet und ist im weißen Screen von firefox geendet... eine schöne Bestätigung wäre da noch gut. Aber es läuft erstmal...
Gibts hier irgendwo eine XBox billiger?
-
@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.
-
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?- 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)
- Edit: ich glaube der Aufruf in eLinks hat doch was gebracht, bin tatsächlich authentifiziert
-
@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.