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
glances -w
Traceback (most recent call last):
File "/home/ubuntu/.local/bin/glances", line 8, in <module>
sys.exit(main())
File "/home/ubuntu/.local/lib/python3.8/site-packages/glances/__init__.py", line 173, in main
start(config=core.get_config(), args=core.get_args())
File "/home/ubuntu/.local/lib/python3.8/site-packages/glances/__init__.py", line 98, in start
from glances.webserver import GlancesWebServer as GlancesMode
File "/home/ubuntu/.local/lib/python3.8/site-packages/glances/webserver.py", line 12, in <module>
from glances.outputs.glances_restful_api import GlancesRestfulApi
File "/home/ubuntu/.local/lib/python3.8/site-packages/glances/outputs/glances_restful_api.py", line 59, in <module>
class GlancesJSONResponse(JSONResponse):
File "/home/ubuntu/.local/lib/python3.8/site-packages/glances/outputs/glances_restful_api.py", line 66, in GlancesJSONResponse
def render(self, content: Any) -> bytes:
NameError: name 'Any' is not defined
Check the bug
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
glances works fine without -w
Screenshots
Environement (please complete the following information)
Additional context
glances works as expected with pyenv using python version 3.12
The text was updated successfully, but these errors were encountered: