Open
Description
Hi. I have a problem after upgrading a minipc from Windows 10 to Windows 11.
I have upgraded Glances too and now I get this error:
C:\Users\user>C:\Users\user\AppData\Local\Programs\Python\Python310\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 "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\glances.exe\__main__.py", line 7, in <module>
sys.exit(main())
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\glances\__init__.py", line 190, in main
start(config=core.get_config(), args=core.get_args())
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\glances\__init__.py", line 149, in start
mode = GlancesMode(config=config, args=args)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\glances\webserver.py", line 35, in __init__
self.web = GlancesRestfulApi(config=config, args=args)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\glances\outputs\glances_restful_api.py", line 168, in __init__
self.autodiscover_client = GlancesAutoDiscoverClient(socket.gethostname().split('.', 1)[0], self.args)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\glances\servers_list_dynamic.py", line 196, in __init__
zeroconf_bind_address = self.find_active_ip_address()
File "C:\Users\user\AppData\Local\Programs\Python\Python310\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:\Users\user\AppData\Roaming\Python\Python310\site-packages\netifaces\__init__.py", line 232, in gateways
I have configured the task scheduler to start Glances three minutes after login with this command:
C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\glances.exe -w
Maybe the problem is in the task scheduler and some incompatibility between the tasks created in Windows 10 and the execution in Windows 11.
Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels