Replies: 2 comments
-
Be sure that your glances.conf (with the MQTT server/port defined) file is read by Glances on startup:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Try to pull the latest Docker image (pushed today). I patch it to force a default glances.conf file. |
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
-
Describe the bug
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\exports\glances_mqtt.py", line 48, in init
self.port = int(self.port) or 8883
^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environement (please complete the following information)
To be completed with result of: lsb_release -a
To be completed with result of: glances -V
To be completed
Additional context
Add any other context about the problem here.
You can also pastebin:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Scripts\glances.exe_main.py", line 7, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances_init.py", line 185, in main
start(config=core.get_config(), args=core.get_args())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances_init_.py", line 108, in start
mode = GlancesMode(config=config, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\standalone.py", line 44, in init
self.stats = GlancesStats(config=config, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\stats.py", line 39, in init
self.load_modules(self.args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\stats.py", line 90, in load_modules
self.load_exports(args=args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\stats.py", line 167, in load_exports
self._exports[export_name] = export_module.Export(args=args, config=self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\glances\exports\glances_mqtt.py", line 48, in init
self.port = int(self.port) or 8883
^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Beta Was this translation helpful? Give feedback.
All reactions