Skip to content
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

Issue following the display_plugin refactoring #2949

Open
nicolargo opened this issue Sep 16, 2024 · 2 comments
Open

Issue following the display_plugin refactoring #2949

nicolargo opened this issue Sep 16, 2024 · 2 comments

Comments

@nicolargo
Copy link
Owner

Some time, when Glances starts on my system, i have the following error:

es/standalone.py", line 186, in serve_forever
                                                 while self.__serve_once():
                                                                             File "/home/nhe/dev/glances/glances/standalone.py", line 158, in __serve_once
                                         ret = not self.screen.update(self.stats, duration=adapted_refresh)
                                                                                                             File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 1105, in update
                                                                                self.flush(stats, cs_status=cs_status)
   File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 1086, in flush
                                                                                          self.display(stats, cs_status=cs_status)
               File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 555, in display
                                                                                                       self.__display_right(__stat_display)
                        File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 797, in __display_right
                                                                                                                        self.display_plugin(
                         File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 979, in display_plugin
                                                                                                                        y, x, x_max = self.display_msg(plugin_stats, init, helper)
                                                               File "/home/nhe/dev/glances/glances/outputs/glances_curses.py", line 1017, in display_msg
                                       x, x_max = self.display_stats_with_current_size(m, y, x, x_max)
                                                                                                      TypeError: cannot unpack non-iterable NoneType object

Introduced in #2932

@ariel-anieli can you have a look ?

@ariel-anieli
Copy link

Sure, @nicolargo; I'm looking at it.

ariel-anieli pushed a commit to ariel-anieli/glances that referenced this issue Sep 16, 2024
@ariel-anieli
Copy link

Fixed in 4bcbc12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants