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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

XBOX Adapter Fehler Pi4

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

    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 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)
      
      
      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
      • foxriver76F Offline
        foxriver76F Offline
        foxriver76
        Developer
        schrieb am zuletzt editiert von
        #2

        Kommt beim stoppen des Adapters ein Fehler?

        Videotutorials & mehr

        Hier könnt ihr mich unterstützen.

        S 2 Antworten Letzte Antwort
        0
        • foxriver76F foxriver76

          Kommt beim stoppen des Adapters ein Fehler?

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

          @foxriver76 sieht eigentlich gut aus:

          xbox.0	2020-09-24 17:30:44.158	info	(25197) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          xbox.0	2020-09-24 17:30:44.157	info	(25197) terminating
          xbox.0	2020-09-24 17:30:44.156	info	(25197) [END] cleaned everything up...
          xbox.0	2020-09-24 17:30:44.139	info	(25197) [END] REST server stopped
          xbox.0	2020-09-24 17:30:44.114	warn	(25197) [LOGIN] Connection refused, will try again
          xbox.0	2020-09-24 17:30:44.113	debug	(25197) Could not parse body
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • S Smallfeuer

            @foxriver76 sieht eigentlich gut aus:

            xbox.0	2020-09-24 17:30:44.158	info	(25197) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            xbox.0	2020-09-24 17:30:44.157	info	(25197) terminating
            xbox.0	2020-09-24 17:30:44.156	info	(25197) [END] cleaned everything up...
            xbox.0	2020-09-24 17:30:44.139	info	(25197) [END] REST server stopped
            xbox.0	2020-09-24 17:30:44.114	warn	(25197) [LOGIN] Connection refused, will try again
            xbox.0	2020-09-24 17:30:44.113	debug	(25197) Could not parse body
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #4

            @Smallfeuer
            Ich würde vielleicht auch mal auf Node12 gehen.

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

            S 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @Smallfeuer
              Ich würde vielleicht auch mal auf Node12 gehen.

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

              @Thomas-Braun Hab ich mal gemacht:

              pi@Pi4IOBroker:/opt/iobroker $ node -v
              v12.18.4
              pi@Pi4IOBroker:/opt/iobroker $ nodejs -v
              v12.18.4
              
              
              host.Pi4IOBroker	2020-09-24 20:24:11.035	info	instance system.adapter.xbox.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              xbox.0	2020-09-24 20:24:10.505	info	(4675) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              xbox.0	2020-09-24 20:24:10.503	info	(4675) terminating
              xbox.0	2020-09-24 20:24:10.502	info	(4675) [END] cleaned everything up...
              xbox.0	2020-09-24 20:24:10.484	info	(4675) [END] REST server stopped
              xbox.0	2020-09-24 20:24:10.443	debug	(4675) [LOGOUT] <=== Failed to logout: undefined
              xbox.0	2020-09-24 20:24:10.422	info	(4675) Got terminate signal TERMINATE_YOURSELF
              host.Pi4IOBroker	2020-09-24 20:24:10.415	info	stopInstance system.adapter.xbox.0 send kill signal
              host.Pi4IOBroker	2020-09-24 20:24:10.411	info	stopInstance system.adapter.xbox.0 (force=false, process=true)
              host.Pi4IOBroker	2020-09-24 20:24:10.407	info	"system.adapter.xbox.0" disabled
              xbox.0	2020-09-24 20:24:08.921	warn	(4675) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:24:08.920	debug	(4675) Could not parse body
              xbox.0	2020-09-24 20:24:06.414	warn	(4675) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:24:06.414	debug	(4675) Could not parse body
              xbox.0	2020-09-24 20:24:06.402	debug	(4675) [LOGOUT] <=== Failed to logout: undefined
              xbox.0	2020-09-24 20:24:01.309	info	(4675) [START] Starting REST server
              xbox.0	2020-09-24 20:24:01.307	debug	(4675) [START] IP address is 192.168.178.5
              xbox.0	2020-09-24 20:24:01.276	info	(4675) starting. Version 0.6.4 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6
              xbox.0	2020-09-24 20:24:00.519	debug	(4675) statesDB connected
              xbox.0	2020-09-24 20:24:00.518	debug	(4675) States connected to redis: 0.0.0.0:9000
              xbox.0	2020-09-24 20:24:00.510	debug	(4675) States create System PubSub Client
              xbox.0	2020-09-24 20:24:00.507	debug	(4675) States create User PubSub Client
              xbox.0	2020-09-24 20:24:00.500	debug	(4675) Redis States: Use Redis connection: 0.0.0.0:9000
              xbox.0	2020-09-24 20:24:00.497	debug	(4675) objectDB connected
              xbox.0	2020-09-24 20:24:00.491	debug	(4675) Objects connected to redis: 0.0.0.0:9001
              xbox.0	2020-09-24 20:24:00.479	debug	(4675) Objects client initialize lua scripts
              xbox.0	2020-09-24 20:24:00.478	debug	(4675) Objects create User PubSub Client
              xbox.0	2020-09-24 20:24:00.476	debug	(4675) Objects create System PubSub Client
              xbox.0	2020-09-24 20:24:00.458	debug	(4675) Objects client ready ... initialize now
              xbox.0	2020-09-24 20:24:00.415	debug	(4675) Redis Objects: Use Redis connection: 0.0.0.0:9001
              host.Pi4IOBroker	2020-09-24 20:23:59.206	info	instance system.adapter.xbox.0 started with pid 4675
              host.Pi4IOBroker	2020-09-24 20:23:59.161	info	"system.adapter.xbox.0" enabled
              

              downgrade auf 0,6,4 und dann wieder auf 0.6.5

              box.0	2020-09-24 20:28:02.528	warn	(4818) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:28:02.527	debug	(4818) Could not parse body
              xbox.0	2020-09-24 20:28:00.558	debug	(4818) [PING] Xbox offline
              xbox.0	2020-09-24 20:28:00.556	debug	(4818) [CHECK] Auth is not established
              xbox.0	2020-09-24 20:28:00.024	warn	(4818) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:28:00.022	debug	(4818) Could not parse body
              xbox.0	2020-09-24 20:27:57.514	warn	(4818) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:27:57.513	debug	(4818) Could not parse body
              xbox.0	2020-09-24 20:27:55.005	warn	(4818) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:27:55.004	debug	(4818) Could not parse body
              xbox.0	2020-09-24 20:27:52.498	warn	(4818) [LOGIN] Connection refused, will try again
              xbox.0	2020-09-24 20:27:52.497	debug	(4818) Could not parse body
              xbox.0	2020-09-24 20:27:52.486	debug	(4818) [LOGOUT] <=== Failed to logout: undefined
              xbox.0	2020-09-24 20:27:47.365	info	(4818) [START] Starting REST server
              xbox.0	2020-09-24 20:27:47.364	debug	(4818) [START] IP address is 192.168.178.5
              xbox.0	2020-09-24 20:27:47.332	info	(4818) starting. Version 0.6.5 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.18.4, js-controller: 3.1.6
              xbox.0	2020-09-24 20:27:46.690	debug	(4818) statesDB connected
              xbox.0	2020-09-24 20:27:46.689	debug	(4818) States connected to redis: 0.0.0.0:9000
              xbox.0	2020-09-24 20:27:46.681	debug	(4818) States create System PubSub Client
              xbox.0	2020-09-24 20:27:46.678	debug	(4818) States create User PubSub Client
              xbox.0	2020-09-24 20:27:46.670	debug	(4818) Redis States: Use Redis connection: 0.0.0.0:9000
              xbox.0	2020-09-24 20:27:46.668	debug	(4818) objectDB connected
              xbox.0	2020-09-24 20:27:46.661	debug	(4818) Objects connected to redis: 0.0.0.0:9001
              xbox.0	2020-09-24 20:27:46.641	debug	(4818) Objects client initialize lua scripts
              xbox.0	2020-09-24 20:27:46.640	debug	(4818) Objects create User PubSub Client
              xbox.0	2020-09-24 20:27:46.638	debug	(4818) Objects create System PubSub Client
              xbox.0	2020-09-24 20:27:46.634	debug	(4818) Objects client ready ... initialize now
              xbox.0	2020-09-24 20:27:46.601	debug	(4818) Redis Objects: Use Redis connection: 0.0.0.0:9001
              host.Pi4IOBroker	2020-09-24 20:27:45.385	info	instance system.adapter.xbox.0 started with pid 4818
              host.Pi4IOBroker	2020-09-24 20:27:45.320	info	"system.adapter.xbox.0" enabled
              host.Pi4IOBroker	2020-09-24 20:27:16.543	info	iobroker exit 0
              host.Pi4IOBroker	2020-09-24 20:27:15.516	info	iobroker Adapter "xbox" updated
              host.Pi4IOBroker	2020-09-24 20:27:15.447	info	iobroker upload [0] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/index_m.html index_m.html text/html
              host.Pi4IOBroker	2020-09-24 20:27:15.391	info	iobroker upload [1] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/words.js words.js application/javascript
              host.Pi4IOBroker	2020-09-24 20:27:15.259	info	iobroker Update "system.adapter.xbox.0"
              host.Pi4IOBroker	2020-09-24 20:27:15.210	info	iobroker upload [2] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/xbox.png xbox.png image/png
              host.Pi4IOBroker	2020-09-24 20:25:58.530	info	iobroker npm install iobroker.xbox@0.6.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
              host.Pi4IOBroker	2020-09-24 20:25:58.527	info	iobroker NPM version: 6.14.6
              host.Pi4IOBroker	2020-09-24 20:25:57.925	info	iobroker Update xbox from @0.6.4 to @0.6.5
              

              Leider keine Verbesserung...

              1 Antwort Letzte Antwort
              0
              • foxriver76F foxriver76

                Kommt beim stoppen des Adapters ein Fehler?

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

                @foxriver76

                Muss ich auf Microsoft Live ID noch etwas freischalten ? Oder in der XBoxOneX? Anschalten via Alexa Skill funktioniert bereits, das war damals die alternative.
                Es muss auch die Live ID eingetragen werden und nicht die Globale ID, richtig?

                foxriver76F 1 Antwort Letzte Antwort
                0
                • S Smallfeuer

                  @foxriver76

                  Muss ich auf Microsoft Live ID noch etwas freischalten ? Oder in der XBoxOneX? Anschalten via Alexa Skill funktioniert bereits, das war damals die alternative.
                  Es muss auch die Live ID eingetragen werden und nicht die Globale ID, richtig?

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

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

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  S 2 Antworten Letzte Antwort
                  0
                  • 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
                    #8

                    @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 1 Antwort Letzte Antwort
                    0
                    • 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
                                            Antworten
                                            • In einem neuen Thema antworten
                                            Anmelden zum Antworten
                                            • Älteste zuerst
                                            • Neuste zuerst
                                            • Meiste Stimmen


                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            818

                                            Online

                                            32.5k

                                            Benutzer

                                            81.7k

                                            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