Bug 922453

Summary: [abrt] glances-1.5.2-4.fc18: glances.py:1147:__init__:error: use_default_colors() returned ERR
Product: [Fedora] Fedora Reporter: Christopher Dello Russo <tophdogg>
Component: glancesAssignee: Edouard Bourguignon <madko>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: freetux, madko, tophdogg
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8b4afb0de8580cb7557ecf2951b967beaa64bd04
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-23 17:10:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Christopher Dello Russo 2013-03-17 03:30:08 UTC
Version-Release number of selected component:
glances-1.5.2-4.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/glances
executable:     /usr/bin/glances
kernel:         3.8.2-206.fc18.x86_64
uid:            1000

Truncated backtrace:
glances.py:1147:__init__:error: use_default_colors() returned ERR

Traceback (most recent call last):
  File "/usr/bin/glances", line 9, in <module>
    load_entry_point('Glances==1.5.2', 'console_scripts', 'glances')()
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 3131, in main
    screen = glancesScreen(refresh_time=refresh_time)
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 1147, in __init__
    curses.use_default_colors()
error: use_default_colors() returned ERR

Local variables in innermost frame:
self: <glances.glances.glancesScreen instance at 0x13e3638>
refresh_time: 3

Comment 1 Christopher Dello Russo 2013-03-17 03:30:10 UTC
Created attachment 711265 [details]
File: backtrace

Comment 2 Christopher Dello Russo 2013-03-17 03:30:12 UTC
Created attachment 711266 [details]
File: core_backtrace

Comment 3 Christopher Dello Russo 2013-03-17 03:30:14 UTC
Created attachment 711267 [details]
File: environ

Comment 4 Edouard Bourguignon 2013-03-17 14:58:55 UTC
How did you get this error? How can I reproduce?

Comment 5 Christopher Dello Russo 2013-03-17 19:07:45 UTC
This is about all I can remember happening: I've been toying around with Fluxbox, learning how to tweek and configure it. I was changing around some of the options in the .fluxbox/menu file to personalized the menu. I saw an option for opening up a terminal window with vim started ('xterm -e vim'). Unaware of the '-e' option before this, I played around with it through my d_menu launcher with different programs through my xfce-terminal command; glances being one of the programs I started this way ('Terminal -e glances') was the exact command I used.

It opened fine and I quickly closed down the window, and moved along. About an hour later I switched back over to Xfce, and upon logging in, there was an ABRT alert in my notification bar.

Comment 6 Edouard Bourguignon 2013-08-23 17:09:00 UTC
*** Bug 929386 has been marked as a duplicate of this bug. ***

Comment 7 Edouard Bourguignon 2013-08-23 17:10:21 UTC
Please reopen this bug if problem still persists with 1.7 (or 1.7.1 which is coming soon).