-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: invalid literal for int() with base 10: 'history_size' #2532
Comments
conf file was corrupted. |
I am having the same problem when upgrading from 3.2.7 to 3.3.x or 3.4.x. Any ideas? glances runs for maybe 30 seconds before crashing. Seems to happen only when I enable |
I am having the same error, using the Docker container for running with the default command file
I tried adding @drewzeee can we please re-open this Issue |
is this related to #2407 ? |
looks like this is related to the seems like adding |
Describe the bug
Glances export to influxdb crashes after initializing
To Reproduce
Start
glances --export influxdb2
receive the following error:
File "/usr/local/lib/python3.9/dist-packages/glances/outputs/glances_curses.py", line 1133, in flush self.display(stats, cs_status=cs_status) File "/usr/local/lib/python3.9/dist-packages/glances/outputs/glances_curses.py", line 614, in display __stat_display = self.__get_stat_display(stats, layer=cs_status) File "/usr/local/lib/python3.9/dist-packages/glances/outputs/glances_curses.py", line 590, in __get_stat_display ret[p] = stats.get_plugin(p).get_stats_display(args=self.args, max_width=plugin_max_width) File "/usr/local/lib/python3.9/dist-packages/glances/plugins/glances_plugin.py", line 888, in get_stats_display ret = {'display': display_curse, 'msgdict': self.msg_curse(args, max_width=max_width), 'align': align_curse} File "/usr/local/lib/python3.9/dist-packages/glances/plugins/glances_smart.py", line 185, in msg_curse for smart_stat in sorted([i for i in device_stat.keys() if i != 'DeviceName'], key=int): ValueError: invalid literal for int() with base 10: 'history_size'
Environement (please complete the following information)
The text was updated successfully, but these errors were encountered: