Bug 756541

Summary: [abrt] sx-2.03-9.fc15: __init__.py:190:_checkLevel:TypeError: Level not an integer or a valid string: [20, 21, 22, 30, 40, 31, 50, 10]
Product: [Fedora] Fedora Reporter: Petr Ruzicka <pruzicka>
Component: sxAssignee: Niels de Vos <ndevos>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: adam.stokes, mhomolov, ndevos, plambri
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:678c0f03d8d3a1d3f9ca75f9cb45d7ae7629b5ef
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-23 22:26: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:
Bug Depends On: 744297    
Bug Blocks:    

Description Petr Ruzicka 2011-11-23 21:32:54 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
cmdline:        /usr/bin/python /usr/bin/sxconsole
comment:        I juste executed command sxconsole.
executable:     /usr/bin/sxconsole
kernel:         3.1.1-2.fc16.x86_64
reason:         __init__.py:190:_checkLevel:TypeError: Level not an integer or a valid string: [20, 21, 22, 30, 40, 31, 50, 10]
time:           Wed 23 Nov 2011 22:30:47 CET
uid:            1000
username:       pruzicka

backtrace:
:__init__.py:190:_checkLevel:TypeError: Level not an integer or a valid string: [20, 21, 22, 30, 40, 31, 50, 10]
:
:Traceback (most recent call last):
:  File "/usr/bin/sxconsole", line 806, in <module>
:    disableConsoleLog=False)
:  File "/usr/lib/python2.7/site-packages/sx/logwriter.py", line 76, in __init__
:    logging.DEBUG])
:  File "/usr/lib64/python2.7/logging/__init__.py", line 1108, in setLevel
:    self.level = _checkLevel(level)
:  File "/usr/lib64/python2.7/logging/__init__.py", line 190, in _checkLevel
:    raise TypeError("Level not an integer or a valid string: %r" % level)
:TypeError: Level not an integer or a valid string: [20, 21, 22, 30, 40, 31, 50, 10]
:
:Local variables in innermost frame:
:level: [20, 21, 22, 30, 40, 31, 50, 10]

Comment 1 Petr Ruzicka 2011-11-23 21:35:03 UTC
I just executed sxconsole on Fedora 16 and I got the error described above.

Comment 2 Niels de Vos 2011-11-23 22:26:21 UTC
There was an errata in updates-testing, it has now been pushed to stable and should fix this bug.

*** This bug has been marked as a duplicate of bug 744297 ***