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

Crach when ENTER key is pressed in the Alpine minimal image #2658

Closed
nicolargo opened this issue Jan 14, 2024 · 1 comment
Closed

Crach when ENTER key is pressed in the Alpine minimal image #2658

nicolargo opened this issue Jan 14, 2024 · 1 comment
Labels
Milestone

Comments

@nicolargo
Copy link
Owner

Trace:

File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/glances/__main__.py", line 18, in <module>
glances.main()
File "/app/glances/__init__.py", line 184, in main
start(config=core.get_config(), args=core.get_args())
File "/app/glances/__init__.py", line 130, in start
mode.serve_forever()
File "/app/glances/standalone.py", line 181, in serve_forever
while self.__serve_once():
^^^^^^^^^^^^^^^^^^^
File "/app/glances/standalone.py", line 160, in __serve_once
ret = not self.screen.update(self.stats, duration=adapted_refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/glances/outputs/glances_curses.py", line 1252, in update
self.flush(stats, cs_status=cs_status)
File "/app/glances/outputs/glances_curses.py", line 1198, in flush
self.display(stats, cs_status=cs_status)
File "/app/glances/outputs/glances_curses.py", line 738, in display
new_filter = self.display_popup(
^^^^^^^^^^^^^^^^^^^
File "/app/glances/outputs/glances_curses.py", line 1029, in display_popup
popup.addnstr(2 + y, 2, m, len(m))
_curses.error: addnwstr() returned ERR
make: *** [Makefile:216: run-docker-alpine-minimal] Error 1

Works fine with non Docker image.
Works fine with Ubuntu based Docker image.

@nicolargo
Copy link
Owner Author

Merged into develop

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

No branches or pull requests

1 participant