Bug 666742

Summary: [abrt] identicurse-0.5.1-1.fc14: identicurse.py:275:loop:TypeError: ord() expected a character, but string of length 2 found
Product: [Fedora] Fedora Reporter: Fabian A. Scherschel <fabsh>
Component: identicurseAssignee: Steve Milner <smilner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: fabsh, smilner
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:6c9987dc
Fixed In Version: identicurse-0.6.3-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 20:58:48 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

Description Fabian A. Scherschel 2011-01-02 20:30:23 UTC
abrt version: 1.1.14
architecture: i686
cmdline: /usr/bin/python /usr/bin/identicurse
comment: I think I switched to another tab from in-context view.
component: identicurse
executable: /usr/bin/identicurse
kernel: 2.6.35.10-74.fc14.i686
package: identicurse-0.5.1-1.fc14
reason: identicurse.py:275:loop:TypeError: ord() expected a character, but string of length 2 found
release: Fedora release 14 (Laughlin)
time: 1294000133
uid: 500

backtrace
-----
identicurse.py:275:loop:TypeError: ord() expected a character, but string of length 2 found

Traceback (most recent call last):
  File "/usr/bin/identicurse", line 9, in <module>
    load_entry_point('identicurse==0.5', 'console_scripts', 'identicurse')()
  File "/usr/lib/python2.7/site-packages/identicurse/__init__.py", line 62, in main
    IdentiCurse()
  File "/usr/lib/python2.7/site-packages/identicurse/identicurse.py", line 129, in __init__
    curses.wrapper(self.initialise)
  File "/usr/lib/python2.7/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib/python2.7/site-packages/identicurse/identicurse.py", line 228, in initialise
    self.loop()
  File "/usr/lib/python2.7/site-packages/identicurse/identicurse.py", line 275, in loop
    if input == ord(str(x+1)):
TypeError: ord() expected a character, but string of length 2 found

Local variables in innermost frame:
switch_to_tab: 0
self: <identicurse.identicurse.IdentiCurse object at 0xa03116c>
running: True
key: ' '
input: 49
y: 52
x: 9
id: 61436592

How to reproduce
-----
1. Go to a dent in-context view.
2. Switch tabs by pressing "1"

Comment 1 Fabian A. Scherschel 2011-01-02 20:30:25 UTC
Created attachment 471407 [details]
File: backtrace

Comment 2 Steve Milner 2011-01-19 15:02:26 UTC
I was not able to reproduce this by doing the above steps but this may be related to the bugs that 0.6.3 fixed http://bugzilla.identicurse.net/show_bug.cgi?id=1 && http://bugzilla.identicurse.net/show_bug.cgi?id=2.

0.6.3 is currently in testing. Please give it a shot and let me know if it doesn't fix the crash.

Comment 3 Fedora Update System 2011-01-19 15:14:20 UTC
identicurse-0.6.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/identicurse-0.6.3-1.fc14

Comment 4 Fedora Update System 2011-01-26 20:58:24 UTC
identicurse-0.6.3-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.