NEWS
XBOX Adapter Fehler Pi4
-
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.3Hallo @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 bodyProblem 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: undefinedWenn 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:5557daraufhin 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.0Leider auch keine Hilfe, noch immer ist der Adapter Gelb.
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 -
@Smallfeuer Anscheinend machen die Freunde öfter mal was kaputt (https://github.com/python-greenlet/greenlet/issues/179).
Funktioniert deine Lösung?
@foxriver76 Der Workaround bringt nichts, hast du noch eine Idee was ich testen kann, bzw. gehst du dem Problem aktuell noch nach?
-
@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) -
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..... -
@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..... -
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)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...
-
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. ;-)
-
@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...:+1:
Gibts hier irgendwo eine XBox billiger? :blush:
-
@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:
@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.
-
@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:
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)
-
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)
@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. :)
-
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)
@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
-
Habe soeben eine 0.7.2 gemacht, hatte noch die ein oder andere Stelle verpasst beim migrieren, weshalb die ganzen
currentTitlesGeschichten und Bild und Co nicht gesetzt wurde. Geht jetzt wieder. Ebenso behoben, dass es vorkommen konnte, das beim Adapterstopp ein Fehler geloggt wurde, weil der Rest-Server Prozess (korrekterweise) beendet wurde.Fürs Authentifizieren ist momentan folgende Vorgehensweise möglich:
- Warten bis das Logging für Rest-Server gestartet erscheint, dann auf den Link im Log klicken oder in den Adaptereinstellungen auf den Link klicken
- Hier werdet ihr entweder aufgefordert euch einzuloggen, oder ihr wurdet automatisch bei MS eingeloggt
- Dann sollte ein Fehler erscheinen, dass die Seite nicht verfügbar ist, Link sollte mit
localhoststarten - Link kopieren, aufs Terminal gehen und
curl "<Link einfügen>"absetzen - Nun sollte im Log stehen, dass ihr authentifziert seid
- Nach Neustart des Server ist man leider wieder ausgeloggt, ich warte nach wie vor auf Rückmeldung, dass das alles wieder nutzerfreunlicher wird.
-
Habe soeben eine 0.7.2 gemacht, hatte noch die ein oder andere Stelle verpasst beim migrieren, weshalb die ganzen
currentTitlesGeschichten und Bild und Co nicht gesetzt wurde. Geht jetzt wieder. Ebenso behoben, dass es vorkommen konnte, das beim Adapterstopp ein Fehler geloggt wurde, weil der Rest-Server Prozess (korrekterweise) beendet wurde.Fürs Authentifizieren ist momentan folgende Vorgehensweise möglich:
- Warten bis das Logging für Rest-Server gestartet erscheint, dann auf den Link im Log klicken oder in den Adaptereinstellungen auf den Link klicken
- Hier werdet ihr entweder aufgefordert euch einzuloggen, oder ihr wurdet automatisch bei MS eingeloggt
- Dann sollte ein Fehler erscheinen, dass die Seite nicht verfügbar ist, Link sollte mit
localhoststarten - Link kopieren, aufs Terminal gehen und
curl "<Link einfügen>"absetzen - Nun sollte im Log stehen, dass ihr authentifziert seid
- Nach Neustart des Server ist man leider wieder ausgeloggt, ich warte nach wie vor auf Rückmeldung, dass das alles wieder nutzerfreunlicher wird.
Hallo @foxriver76,
klappt leider nicht so einfach, auch nach restart der Instanz kein LogIn.:curl http://localhost:5557/auth/callback?code=M.R sudo curl http://localhost:5557/auth/callback?code="****" [2] 27631 [1] Fertig curl http://localhost:5557/auth/callback?code="****"xbox.0 2020-11-24 09:41:55.269 warn (27688) Not logged in, authenticate at https://login.live.com/oauth20_authorize.srf?client_id="****"&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxli xbox.0 2020-11-24 09:41:55.259 warn (27688) Could not login, please check adapter config. Code: 401 xbox.0 2020-11-24 09:41:54.285 info (27688) [START] Successfully started REST server xbox.0 2020-11-24 09:41:51.394 info (27688) [START] Starting REST server xbox.0 2020-11-24 09:41:51.363 info (27688) starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6 -
Hallo @foxriver76,
klappt leider nicht so einfach, auch nach restart der Instanz kein LogIn.:curl http://localhost:5557/auth/callback?code=M.R sudo curl http://localhost:5557/auth/callback?code="****" [2] 27631 [1] Fertig curl http://localhost:5557/auth/callback?code="****"xbox.0 2020-11-24 09:41:55.269 warn (27688) Not logged in, authenticate at https://login.live.com/oauth20_authorize.srf?client_id="****"&response_type=code&approval_prompt=auto&scope=Xboxlive.signin+Xboxli xbox.0 2020-11-24 09:41:55.259 warn (27688) Could not login, please check adapter config. Code: 401 xbox.0 2020-11-24 09:41:54.285 info (27688) [START] Successfully started REST server xbox.0 2020-11-24 09:41:51.394 info (27688) [START] Starting REST server xbox.0 2020-11-24 09:41:51.363 info (27688) starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6@Smallfeuer Setz den Link in
" -
@Smallfeuer Setz den Link in
"Super - ja manchmal sieht man den Wald vor "Bäumen" nicht :+1:
Wichtig ist - falls man sich vertippt mit all dem, Cookies vom Firefox wieder manuell löschen - sonst wird es auch nichts... -
@Smallfeuer Setz den Link in
"@foxriver76 Kann es sein das der XBOX Adapter meinen WEB Socket Fehler auslöst?
In der Konsole vom Firefox folgende Meldung, ich kann die leider nicht zuordnen:
Die Verbindung zu ws://192.168.XXX.XX:8081/socket.io/?EIO=3&transport=websocket&sid=XXXXXXF0XqtXHFqAAB4 wurde unterbrochen, während die Seite geladen wurde. socket.io.js:8:6159 Error: websocket error onError http://192.168.XXX.XX:8081/socket.io/socket.io.js:7 onerror http://192.168.XXX.XX:8081/socket.io/socket.io.js:8Leider kann ich es zeitlich nicht zuordnen. Beim Zugriff mit Firefox wird ab und zu einfach alles abgebrochen - extrem nervig im blockly - und dann reload nach dem bestätigen der Meldung.
Eine Idee wo ich suchen muss? -
@foxriver76 Kann es sein das der XBOX Adapter meinen WEB Socket Fehler auslöst?
In der Konsole vom Firefox folgende Meldung, ich kann die leider nicht zuordnen:
Die Verbindung zu ws://192.168.XXX.XX:8081/socket.io/?EIO=3&transport=websocket&sid=XXXXXXF0XqtXHFqAAB4 wurde unterbrochen, während die Seite geladen wurde. socket.io.js:8:6159 Error: websocket error onError http://192.168.XXX.XX:8081/socket.io/socket.io.js:7 onerror http://192.168.XXX.XX:8081/socket.io/socket.io.js:8Leider kann ich es zeitlich nicht zuordnen. Beim Zugriff mit Firefox wird ab und zu einfach alles abgebrochen - extrem nervig im blockly - und dann reload nach dem bestätigen der Meldung.
Eine Idee wo ich suchen muss?@Smallfeuer ne sollte damit nix zu tun haben.