RuntimeError with "glances -w" after upgrade to Debian 13 #3271
LordWiseRus
started this conversation in
General
Replies: 1 comment
-
Please read this: https://github.com/nicolargo/glances?tab=readme-ov-file#gnulinux-package |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
RuntimeError when run "glances -w".
Traceback (most recent call last):
File "/usr/bin/glances", line 8, in
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/glances/init.py", line 173, in main
start(config=core.get_config(), args=core.get_args())
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glances/init.py", line 102, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3/dist-packages/glances/webserver.py", line 35, in init
self.web = GlancesRestfulApi(config=config, args=args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/glances/outputs/glances_restful_api.py", line 160, in init
self._app.include_router(self._router())
~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/glances/outputs/glances_restful_api.py", line 285, in _router
self._app.mount(self.url_prefix + '/static', StaticFiles(directory=self.STATIC_PATH), name="static")
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/starlette/staticfiles.py", line 56, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory '/usr/lib/python3/dist-packages/glances/outputs/static/public' does not exist
I tried full reinstall, but it didn't help.
To Reproduce
Steps to reproduce the behavior:
Environement (please complete the following information)
Debian 13
Glances version: 4.3.1, Glances API version: 4, PsUtil version: 7.0.0
sudo apt install glances
Beta Was this translation helpful? Give feedback.
All reactions