Bug 875366

Summary: [abrt] cherrytree-0.28-1.fc17: imports.py:1405:handle_endtag:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: spam
Component: cherrytreeAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: giuspen, mr.zqfan, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e83e13db728a70bc77220d665749ac6498d628ed
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-28 03:47:42 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: environ
none
File: executable
none
File: dso_list
none
File: smolt_data
none
File: core_backtrace none

Description spam 2012-11-10 20:12:36 UTC
Version-Release number of selected component:
cherrytree-0.28-1.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
cmdline:        /usr/bin/python /usr/bin/cherrytree
kernel:         3.6.6-1.fc17.x86_64

backtrace:
:imports.py:1405:handle_endtag:IndexError: list index out of range
:
:Traceback (most recent call last):
:  File "/usr/share/cherrytree/modules/clipboard.py", line 249, in to_html
:    xml_string = html_import.get_clipboard_selection_xml(selection_data)
:  File "/usr/share/cherrytree/modules/imports.py", line 1488, in get_clipboard_selection_xml
:    self.feed(input_string)
:  File "/usr/lib64/python2.7/HTMLParser.py", line 114, in feed
:    self.goahead(0)
:  File "/usr/lib64/python2.7/HTMLParser.py", line 160, in goahead
:    k = self.parse_endtag(i)
:  File "/usr/lib64/python2.7/HTMLParser.py", line 398, in parse_endtag
:    self.handle_endtag(elem)
:  File "/usr/share/cherrytree/modules/imports.py", line 1405, in handle_endtag
:    if self.curr_rows_span[index] == 1: self.curr_rows_span[index] = self.curr_rowspan
:IndexError: list index out of range
:
:Local variables in innermost frame:
:index: 2
:self: <imports.HTMLFromClipboardHandler instance at 0x1cb3c20>
:tag: u'td'

Comment 1 spam 2012-11-10 20:12:39 UTC
Created attachment 642311 [details]
File: environ

Comment 2 spam 2012-11-10 20:12:41 UTC
Created attachment 642312 [details]
File: executable

Comment 3 spam 2012-11-10 20:12:43 UTC
Created attachment 642313 [details]
File: dso_list

Comment 4 spam 2012-11-10 20:12:46 UTC
Created attachment 642314 [details]
File: smolt_data

Comment 5 spam 2012-11-10 20:12:48 UTC
Created attachment 642315 [details]
File: core_backtrace

Comment 6 Giuseppe Penone 2012-11-12 21:10:13 UTC
It seems to me to understand you copied a table somewhere (from the internet or from an office document probably) and then pasted in a cherrytree rich text node.

It would be of great help if you cold tell me the source of this data so that I could reproduce the bug myself and so fix it.

Comment 7 Giuseppe Penone 2012-11-20 07:02:37 UTC
this bug should be fixed in upcoming 0.28.5

Comment 8 Fedora Update System 2012-12-19 03:01:33 UTC
cherrytree-0.28.5-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/cherrytree-0.28.5-1.fc17

Comment 9 Fedora Update System 2012-12-20 03:20:39 UTC
Package cherrytree-0.28.5-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cherrytree-0.28.5-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20705/cherrytree-0.28.5-1.fc17
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2012-12-28 03:47:43 UTC
cherrytree-0.28.5-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.