You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Glances web server fails to start on windows 11.
I have already tried the mentioned solution from here: #3101
C:\Python313\Scripts>pip uninstall netifaces
WARNING: Skipping netifaces as it is not installed.
C:\Python313\Scripts>pip install netifaces2
Requirement already satisfied: netifaces2 in c:\python313\lib\site-packages (0.0.22)
C:\Python313\Scripts>glances.exe -w
Glances Web User Interface started on http://0.0.0.0:61208/
Glances RESTful API Server started on http://0.0.0.0:61208/api/4
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python313\Scripts\glances.exe\__main__.py", line 7, in <module>
sys.exit(main())
~~~~^^
File "C:\Python313\Lib\site-packages\glances\__init__.py", line 173, in main
start(config=core.get_config(), args=core.get_args())
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\site-packages\glances\__init__.py", line 102, in start
mode = GlancesMode(config=config, args=args)
File "C:\Python313\Lib\site-packages\glances\webserver.py", line 35, in __init__
self.web = GlancesRestfulApi(config=config, args=args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\site-packages\glances\outputs\glances_restful_api.py", line 165, in __init__
self.autodiscover_client = GlancesAutoDiscoverClient(socket.gethostname().split('.', 1)[0], self.args)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\site-packages\glances\servers_list_dynamic.py", line 196, in __init__
zeroconf_bind_address = self.find_active_ip_address()
File "C:\Python313\Lib\site-packages\glances\servers_list_dynamic.py", line 247, in find_active_ip_address
gateway_itf = netifaces.gateways()[netifaces.AF_INET][0][1]
~~~~~~~~~~~~~~~~~~^^
File "C:\Python313\Lib\site-packages\netifaces\__init__.py", line 232, in gateways
raise NotImplementedError("No implementation for `gateways()` yet")
NotImplementedError: No implementation for `gateways()` yet
The text was updated successfully, but these errors were encountered:
Describe the bug
Glances web server fails to start on windows 11.
I have already tried the mentioned solution from here: #3101
The text was updated successfully, but these errors were encountered: