Bug 666742 - [abrt] identicurse-0.5.1-1.fc14: identicurse.py:275:loop:TypeError: ord() expected a character, but string of length 2 found
Summary: [abrt] identicurse-0.5.1-1.fc14: identicurse.py:275:loop:TypeError: ord() exp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: identicurse
Version: 14
Hardware: i686
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Steve Milner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6c9987dc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-02 20:30 UTC by Fabian A. Scherschel
Modified: 2011-01-26 20:58 UTC (History)
2 users (show)

Fixed In Version: identicurse-0.6.3-1.fc14
Clone Of:
Environment:
Last Closed: 2011-01-26 20:58:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.04 KB, text/plain)
2011-01-02 20:30 UTC, Fabian A. Scherschel
no flags Details

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.


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