Bug 2248802 - [abrt] glances: end(): glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
Summary: [abrt] glances: end(): glances_curses.py:514:end:_curses.error: nocbreak() re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glances
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5d60db885ffbe47e3bb223cf314...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-09 04:49 UTC by kalgecin
Modified: 2024-06-02 03:37 UTC (History)
3 users (show)

Fixed In Version: glances-4.0.5-2.fc40 glances-4.0.5-2.fc39
Clone Of:
Environment:
Last Closed: 2024-06-02 01:21:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.96 KB, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: environ (1.70 KB, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: mountinfo (3.29 KB, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: os_info (734 bytes, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: cpuinfo (3.17 KB, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: namespaces (171 bytes, text/plain)
2023-11-09 04:49 UTC, kalgecin
no flags Details
File: open_fds (446 bytes, text/plain)
2023-11-09 04:50 UTC, kalgecin
no flags Details

Description kalgecin 2023-11-09 04:49:44 UTC
Version-Release number of selected component:
glances-3.4.0-3.fc39

Additional info:
reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-b45c6144-979b-451d-98b4-f39a07f32222.scope
exception_type: _curses.error
runlevel:       N 5
kernel:         6.5.10-300.fc39.x86_64
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
executable:     /usr/bin/glances
uid:            1000
package:        glances-3.4.0-3.fc39
type:           Python3
interpreter:    python3-3.12.0-1.fc39.x86_64
crash_function: end

Truncated backtrace:
glances_curses.py:514:end:_curses.error: nocbreak() returned ERR

Traceback (most recent call last):
  File "/usr/bin/glances", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 180, in main
    start(config=core.get_config(), args=core.get_args())
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 131, in start
    mode.serve_forever()
  File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 168, in serve_forever
    while self.__serve_once():
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 152, in __serve_once
    ret = not self.screen.update(self.stats, duration=adapted_refresh)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1166, in update
    pressedkey = self.__catch_key(return_to_browser=return_to_browser)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 356, in __catch_key
    self.pressedkey = self.get_key(self.term_window)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 351, in get_key
    ret = window.getch()
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 65, in __signal_handler
    end()
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 71, in end
    mode.end()
  File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 182, in end
    self.screen.end()
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 514, in end
    curses.nocbreak()
_curses.error: nocbreak() returned ERR

Local variables in innermost frame:
self: <glances.outputs.glances_curses.GlancesCursesStandalone object at 0x7f78bd4ec800>

Comment 1 kalgecin 2023-11-09 04:49:49 UTC
Created attachment 1998003 [details]
File: backtrace

Comment 2 kalgecin 2023-11-09 04:49:51 UTC
Created attachment 1998004 [details]
File: environ

Comment 3 kalgecin 2023-11-09 04:49:53 UTC
Created attachment 1998005 [details]
File: mountinfo

Comment 4 kalgecin 2023-11-09 04:49:55 UTC
Created attachment 1998006 [details]
File: os_info

Comment 5 kalgecin 2023-11-09 04:49:57 UTC
Created attachment 1998007 [details]
File: cpuinfo

Comment 6 kalgecin 2023-11-09 04:49:59 UTC
Created attachment 1998008 [details]
File: namespaces

Comment 7 kalgecin 2023-11-09 04:50:02 UTC
Created attachment 1998009 [details]
File: open_fds

Comment 8 kevinleroy 2024-04-15 09:45:44 UTC
L'ordinateur est sorti de veille avec un écran supplémentaire connecté.
plasma a été arrêté


reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
executable:     /usr/bin/glances
exception_type: _curses.error
runlevel:       N 5
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
package:        glances-3.4.0-3.fc39
kernel:         6.5.6-300.fc39.x86_64
uid:            0
type:           Python3
interpreter:    python3-3.12.2-2.fc39.x86_64
cgroup:         0::/user.slice/user-1333.slice/user/app.slice/app-org.kde.konsole-1ec8bc0d98c045cda5fde8a727e7fd87.scope
crash_function: end

Comment 9 kevinleroy 2024-04-15 09:45:54 UTC
L'ordinateur est sorti de veille avec un écran supplémentaire connecté.
plasma a été arrêté


reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
executable:     /usr/bin/glances
exception_type: _curses.error
runlevel:       N 5
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
package:        glances-3.4.0-3.fc39
kernel:         6.5.6-300.fc39.x86_64
uid:            0
type:           Python3
interpreter:    python3-3.12.2-2.fc39.x86_64
cgroup:         0::/user.slice/user-1333.slice/user/app.slice/app-org.kde.konsole-0113408c83f546c39afe607b68ce97f2.scope
crash_function: end

Comment 10 Fedora Update System 2024-05-24 15:04:14 UTC
FEDORA-2024-af1f06c79c (glances-4.0.5-2.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-af1f06c79c

Comment 11 Fedora Update System 2024-05-24 15:04:22 UTC
FEDORA-2024-b8e474fbd3 (glances-4.0.5-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8e474fbd3

Comment 12 Fedora Update System 2024-05-25 01:48:38 UTC
FEDORA-2024-af1f06c79c has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-af1f06c79c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-af1f06c79c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-05-25 01:56:52 UTC
FEDORA-2024-b8e474fbd3 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b8e474fbd3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8e474fbd3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-06-02 01:21:54 UTC
FEDORA-2024-b8e474fbd3 (glances-4.0.5-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2024-06-02 03:37:40 UTC
FEDORA-2024-af1f06c79c (glances-4.0.5-2.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.