Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. XBox-Adapter Fehler

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED XBox-Adapter Fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @TWART016 last edited by

      @TWART016

      apt policy python3
      
      T 1 Reply Last reply Reply Quote 0
      • S
        Schnutexxl @foxriver76 last edited by

        @foxriver76 sorry für das große delay. Frohe Weihnacht:

        # python -V                                                                                                                                                                                                                                                 
        Python 3.7.3  
        
        1 Reply Last reply Reply Quote 0
        • T
          TWART016 @Thomas Braun last edited by

          @Thomas-Braun

           apt policy python3
          python3:
            Installiert:           3.8.2-0ubuntu2
            Installationskandidat: 3.8.2-0ubuntu2
            Versionstabelle:
           *** 3.8.2-0ubuntu2 500
                  500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
                  100 /var/lib/dpkg/status
          
          1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @TWART016 last edited by

            @TWART016 habe eben die 0.7.2 als stable deklariert, da wine Neuinstallation einer 0.6.x vermutlich massig Probleme aufgrund der kaputten Dep bringt, bitte diese probieren.

            S T 2 Replies Last reply Reply Quote 0
            • S
              Schnutexxl @foxriver76 last edited by

              @foxriver76 habe nun 0.7.3 installiert, ging nur manuell und nicht über den iobroker admin, Rechtekonflikt.

              Nach dem Starten der Instanz folgende Fehlermeldung:

              xbox.0	2020-12-26 12:17:31.151	info	(9520) Terminated (NO_ERROR): Without reason
              xbox.0	2020-12-26 12:17:31.149	info	(9520) terminating
              xbox.0	2020-12-26 12:17:31.103	info	(9520) [END] cleaned everything up...
              xbox.0	2020-12-26 12:17:31.069	info	(9520) [END] Could not stop REST server:
              xbox.0	2020-12-26 12:17:31.018	warn	(9520) Restart initiated
              xbox.0	2020-12-26 12:17:31.015	error	(9520) [START] Restarting adapter
              xbox.0	2020-12-26 12:17:31.014	error	(9520) [START] Failed starting REST server: Process exited with code 1: Traceback (most recent call last): File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server",
              xbox.0	2020-12-26 12:17:29.012	info	(9520) [START] Starting REST server
              xbox.0	2020-12-26 12:17:28.984	info	(9520) starting. Version 0.7.3 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.20.0, js-controller: 3.1.6
              xbox.0	2020-12-26 12:16:54.992	info	(8650) Terminated (NO_ERROR): Without reason
              xbox.0	2020-12-26 12:16:54.990	info	(8650) terminating
              xbox.0	2020-12-26 12:16:54.944	info	(8650) [END] cleaned everything up...
              xbox.0	2020-12-26 12:16:54.919	info	(8650) [END] Could not stop REST server:
              xbox.0	2020-12-26 12:16:54.875	warn	(8650) Restart initiated
              xbox.0	2020-12-26 12:16:54.875	error	(8650) [START] Restarting adapter
              xbox.0	2020-12-26 12:16:54.874	error	ModuleNotFoundError: No module named 'requests'
              xbox.0	2020-12-26 12:16:54.874	error	import requests
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/stump/manager.py", line 6, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	from xbox.stump.manager import StumpManager
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/sg/console.py", line 49, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	from xbox.sg.console import Console
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/rest/consolewrap.py", line 5, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	from .consolewrap import ConsoleWrap
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/rest/singletons.py", line 6, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	from . import singletons
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/rest/app.py", line 5, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap_external>", line 728, in exec_module
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap>", line 983, in _find_and_load
              xbox.0	2020-12-26 12:16:54.874	error	File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
              xbox.0	2020-12-26 12:16:54.874	error	return _bootstrap._gcd_import(name[level:], package, level)
              xbox.0	2020-12-26 12:16:54.874	error	File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
              xbox.0	2020-12-26 12:16:54.874	error	module = importlib.import_module(module_str)
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/importer.py", line 20, in import_from_string
              xbox.0	2020-12-26 12:16:54.874	error	raise exc from None
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/importer.py", line 23, in import_from_string
              xbox.0	2020-12-26 12:16:54.874	error	self.loaded_app = import_from_string(self.app)
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/config.py", line 328, in load
              xbox.0	2020-12-26 12:16:54.874	error	config.load()
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/main.py", line 426, in serve
              xbox.0	2020-12-26 12:16:54.874	error	return future.result()
              xbox.0	2020-12-26 12:16:54.874	error	File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
              xbox.0	2020-12-26 12:16:54.874	error	loop.run_until_complete(self.serve(sockets=sockets))
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/main.py", line 419, in run
              xbox.0	2020-12-26 12:16:54.874	error	server.run()
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/uvicorn/main.py", line 391, in run
              xbox.0	2020-12-26 12:16:54.874	error	uvicorn.run('xbox.rest.app:app', host=args.host, port=args.port, reload=args.reload)
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.7/site-packages/xbox/scripts/rest_server.py", line 19, in main
              xbox.0	2020-12-26 12:16:54.874	error	sys.exit(main())
              xbox.0	2020-12-26 12:16:54.874	error	File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 8, in <module>
              xbox.0	2020-12-26 12:16:54.874	error	(8650) [START] Failed starting REST server: Process exited with code 1: Traceback (most recent call last):
              xbox.0	2020-12-26 12:16:52.777	info	(8650) [START] Starting REST server
              xbox.0	2020-12-26 12:16:52.747	info	(8650) starting. Version 0.7.3 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.20.0, js-controller: 3.1.6
              xbox.0	2020-12-26 12:16:44.446	info	(8374) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              xbox.0	2020-12-26 12:16:44.445	info	(8374) terminating
              xbox.0	2020-12-26 12:16:44.444	info	(8374) [END] cleaned everything up...
              xbox.0	2020-12-26 12:16:44.427	info	(8374) [END] Could not stop REST server:
              xbox.0	2020-12-26 12:16:44.401	info	(8374) Got terminate signal TERMINATE_YOURSELF
              xbox.0	2020-12-26 12:16:39.364	warn	(8374) Please provide the ip address and the Live ID of your console
              xbox.0	2020-12-26 12:16:39.316	info	(8374) starting. Version 0.7.3 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.20.0, js-controller: 3.1.6
              

              Wobei nun nur noch die kurzen Fehlermeldungen ausgegeben werden:

              xbox.0	2020-12-26 12:18:08.220	info	(10273) Terminated (NO_ERROR): Without reason
              xbox.0	2020-12-26 12:18:08.219	info	(10273) terminating
              xbox.0	2020-12-26 12:18:08.173	info	(10273) [END] cleaned everything up...
              xbox.0	2020-12-26 12:18:08.119	info	(10273) [END] Could not stop REST server:
              xbox.0	2020-12-26 12:18:08.085	warn	(10273) Restart initiated
              xbox.0	2020-12-26 12:18:08.084	error	(10273) [START] Restarting adapter
              xbox.0	2020-12-26 12:18:08.083	error	(10273) [START] Failed starting REST server: Process exited with code 1: Traceback (most recent call last): File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server"
              xbox.0	2020-12-26 12:18:05.381	info	(10273) [START] Starting REST server
              xbox.0	2020-12-26 12:18:05.318	info	(10273) starting. Version 0.7.3 in /opt/iobroker/node_modules/iobroker.xbox, node: v12.20.0, js-controller: 3.1.6
              

              Grüße

              Thomas Braun foxriver76 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Schnutexxl last edited by

                @Schnutexxl @foxriver76
                Muss das nicht request heißen?

                ModuleNotFoundError: No module named 'requests'
                xbox.0	2020-12-26 12:16:54.874	error	import requests
                
                1 Reply Last reply Reply Quote 0
                • foxriver76
                  foxriver76 Developer @Schnutexxl last edited by foxriver76

                  @Schnutexxl vermutlich haben die dependency Entwickler eine Abhängigkeit vergessen:

                  python3.7 -m pip install requests
                  

                  Oder je nachdem wie dein Interpreter heißt.

                  S R 2 Replies Last reply Reply Quote 0
                  • T
                    TWART016 @foxriver76 last edited by

                    @foxriver76 ich konnte das Update ohne Probleme installieren.
                    Jetzt ist alles verbunden. Besten Dank.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Schnutexxl @foxriver76 last edited by

                      @foxriver76 sagte in XBox-Adapter Fehler:

                      python3.7 -m pip install requests

                      SUPER!!!! 😀 Läuft nun endlich. Besten Dank für den schnellen support.

                      Ich stand schon immer mit python3 auf dem Kriegsfuß.

                      Besten Dank 👍

                      1 Reply Last reply Reply Quote 0
                      • R
                        RkcCorian @foxriver76 last edited by Negalein

                        @foxriver76 Hallo foxdriver76! Ich hoffe hier richtig zu sein, ich bin relativ neu in der ioBroker-Welt. Ich versuche den Xbox Adapter zu nutzen, hab jedoch leider Probleme. Meine Konfig ist wie folgt:

                        • Synology Docker buanet/iobroker:v5.1.0
                        • phyton 3.7.3-1
                        • Xbox Adapter 0.7.3
                        • Xbox Adapter Konfig: Xbox Live ID und IP korrekt ausgefüllt, Authentifizierung auf Xbox Live ist ausgeschaltet

                        Folgende Probleme:

                        1. Wenn ich die Authentifizierung einschalte (Haken setzen) kommt das Feld für Benutzername und Passwort nicht
                        2. Viel schlimmer/wichtiger: Ich sehe im Log lauter Fehler. Auch mit einem komplett frischen und leeren Container sind die gleichen Fehler vorhanden, daher vermute ich keine Querbeziehungen zu anderen Adaptern. Die ersten 3 Fehler im Log lauten:
                        xbox.0	2021-02-24 22:13:47.665	error	(2463) [START] Failed starting REST server: Process exited with code 1: Traceback (most recent call last):
                        xbox.0	2021-02-24 22:13:47.665	error	File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 8, in <module>
                        xbox.0	2021-02-24 22:13:47.665	error	sys.exit(main())
                        

                        Kannst Du /Sie mir helfen? Ich würde mich sehr freuen. Falls ich hier falsch bin bitte um Rückmeldung, wohin ich mich "richtigerweise" wenden kann. Genauso, wenn ich weitere Informationen schicken soll. Bin halt wie gesagt recht neu bei ioBroker.

                        Vielen Dank im Voraus!!!
                        Markus

                        foxriver76 1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @RkcCorian last edited by

                          @markus-2 sagte in XBox-Adapter Fehler:

                          Wenn ich die Authentifizierung einschalte (Haken setzen) kommt das Feld für Benutzername und Passwort nicht

                          Auth mit Nutzername/Passwort ist leider aktuell nicht mehr möglich und muss manuell über Link im Log/Admin gemacht werden, taucht aber nur auf wenn der Adapter korrekt läuft. Ich schätze beim Install hat was nicht ganz geklappt. Sind die Pakete build-essential libssl-dev libffi-dev python3-dev installiert?

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RkcCorian @foxriver76 last edited by RkcCorian

                            @foxriver76 "Sind die Pakete build-essential libssl-dev libffi-dev python3-dev installiert?" => Woran/Wie kann ich das sehen?

                            foxriver76 1 Reply Last reply Reply Quote 0
                            • foxriver76
                              foxriver76 Developer @RkcCorian last edited by

                              @markus-2 apt policy build-essential libssl-dev libffi-dev python3-dev dann sagt er dir ob es installiert ist, falls unsicher gerne Ausgabe hier posten.

                              R 2 Replies Last reply Reply Quote 0
                              • R
                                RkcCorian @foxriver76 last edited by Negalein

                                @foxriver76 sagte in XBox-Adapter Fehler:

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

                                Folgende steht in der Console (terminal adapter). Ich interpretiere mal, dass python nicht (richtig?) installiert ist?!

                                /opt/iobroker$ apt policy build-essential libssl-dev libffi-dev python3-dev
                                
                                
                                WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                                
                                build-essential:
                                  Installiert:           12.6
                                  Installationskandidat: 12.6
                                  Versionstabelle:
                                *** 12.6 100
                                        100 /var/lib/dpkg/status
                                libffi-dev:
                                  Installiert:           3.2.1-9
                                  Installationskandidat: 3.2.1-9
                                  Versionstabelle:
                                *** 3.2.1-9 100
                                        100 /var/lib/dpkg/status
                                python3-dev:
                                  Installiert:           (keine)
                                  Installationskandidat: (keine)
                                  Versionstabelle:
                                /opt/iobroker$
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @RkcCorian last edited by

                                  @markus-2 sagte in XBox-Adapter Fehler:

                                  libssl-dev python3-dev

                                  Das fehlt vermutlich.

                                  sudo apt update
                                  sudo apt install libssl-dev python3-dev
                                  
                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    RkcCorian @Thomas Braun last edited by Negalein

                                    @thomas-braun sagte in XBox-Adapter Fehler:

                                    sudo apt update

                                    Folgende passiert wenn ich es in die Console eingebe...

                                    /opt/iobroker$ sudo apt update
                                    
                                    sudo: Hostname ioBroker_v5.1.0 kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
                                    sudo: Die Audit-Nachricht kann nicht gesendet werden: Die Operation ist nicht erlaubt
                                    
                                    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                                    
                                    OK:1 http://security.debian.org/debian-security buster/updates InRelease
                                    OK:2 http://deb.debian.org/debian buster InRelease
                                    OK:3 http://deb.debian.org/debian buster-updates InRelease
                                    OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                                    Paketlisten werden gelesen...
                                    
                                    Abhängigkeitsbaum wird aufgebaut....
                                    
                                    Statusinformationen werden eingelesen....
                                    
                                    Aktualisierung für 18 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                    /opt/iobroker$ sudo apt install libssl-dev phyton3-dev
                                    
                                    sudo: Hostname ioBroker_v5.1.0 kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
                                    sudo: Die Audit-Nachricht kann nicht gesendet werden: Die Operation ist nicht erlaubt
                                    
                                    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                                    
                                    Paketlisten werden gelesen...
                                    
                                    Abhängigkeitsbaum wird aufgebaut....
                                    
                                    Statusinformationen werden eingelesen....
                                    
                                    E: Paket phyton3-dev kann nicht gefunden werden.
                                    /opt/iobroker$
                                    
                                    Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @RkcCorian last edited by Thomas Braun

                                      @markus-2

                                      Bitte Text in </> CodeTags packen. Danke.
                                      Und bitte vollständig posten, inkl. login prompt.

                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @RkcCorian last edited by

                                        @markus-2

                                        sudo: Die Audit-Nachricht kann nicht gesendet werden: Die Operation ist nicht erlaubt

                                        whoami
                                        sudo whoami
                                        
                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          RkcCorian @Thomas Braun last edited by RkcCorian

                                          @thomas-braun Ahh, mache ich, vielen Dank!

                                          Ich nutze auf der Synology mittels Docker den Container buanet/iobroker:v5.1.0. Im ioBroker nutze ich einen Terminal Adapter. Anbei das Ergebnis

                                          /opt/iobroker$ whoami
                                          
                                          iobroker
                                          /opt/iobroker$ sudo whoami
                                          
                                          sudo: Hostname ioBroker_v5.1.0 kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @RkcCorian last edited by

                                            @markus-2
                                            Okay, docker auf synology ist nicht meine Baustelle.

                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            640
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            xbox
                                            8
                                            98
                                            5736
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo