Bug 2520985

Summary: [abrt] nemo-search-helpers: handle_data(): nemo-odf-to-txt:26:handle_data:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Louis van Dyk <louis>
Component: nemoAssignee: leigh scott <leigh123linux>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: leigh123linux, louis, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/46e79b352f49c617fa18a51b5836f4a2ad8a0c4
Whiteboard: abrt_hash:f53351888d740cc4ed6e6becead4dbe9dd08171b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-21 13:51:40 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: os_info
none
File: open_fds
none
File: backtrace
none
File: cpuinfo
none
File: mountinfo
none
File: namespaces none

Description Louis van Dyk 2026-08-21 13:04:03 UTC
Description of problem:
I asked it to scan for a string as "contents of a file" in a douments folder.  It ran for a short while, then crashed.

Version-Release number of selected component:
nemo-search-helpers-6.4.5-2.fc43

Additional info:
reporter:       libreport-2.17.15
type:           Python3
reason:         nemo-odf-to-txt:26:handle_data:IndexError: list index out of range
interpreter:    python3-3.14.6-1.fc43.i686
exception_type: IndexError
package:        nemo-search-helpers-6.4.5-2.fc43
crash_function: handle_data
comment:        I asked it to scan for a string as "contents of a file" in a douments folder.  It ran for a short while, then crashed.
executable:     /usr/bin/nemo-odf-to-txt
cmdline:        /usr/bin/python3 /usr/bin/nemo-odf-to-txt /home/louis/Documents/Volkswagen/OracleRac/VWSA_Oracle_Prod_Services_2020-08-05_signed6.odg
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.freedesktop.FileManager1
uid:            1000
kernel:         7.1.8-100.fc43.x86_64
runlevel:       /bin/sh: line 1: runlevel: command not found

Truncated backtrace:
nemo-odf-to-txt:26:handle_data:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/nemo-odf-to-txt", line 41, in <module>
    parser.feed(contents)
    ~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib64/python3.14/html/parser.py", line 169, in feed
    self.goahead(0)
    ~~~~~~~~~~~~^^^
  File "/usr/lib64/python3.14/html/parser.py", line 243, in goahead
    self.handle_data(unescape(rawdata[i:j]))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/nemo-odf-to-txt", line 26, in handle_data
    self.parsed[-1] += " " + data
    ~~~~~~~~~~~^^^^
IndexError: list index out of range

Local variables in innermost frame:
self: <__main__.Parser object at 0x7f327cf05400>
data: 's'

Comment 1 Louis van Dyk 2026-08-21 13:04:07 UTC
Created attachment 2155193 [details]
File: environ

Comment 2 Louis van Dyk 2026-08-21 13:04:08 UTC
Created attachment 2155194 [details]
File: os_info

Comment 3 Louis van Dyk 2026-08-21 13:04:09 UTC
Created attachment 2155195 [details]
File: open_fds

Comment 4 Louis van Dyk 2026-08-21 13:04:10 UTC
Created attachment 2155196 [details]
File: backtrace

Comment 5 Louis van Dyk 2026-08-21 13:04:12 UTC
Created attachment 2155197 [details]
File: cpuinfo

Comment 6 Louis van Dyk 2026-08-21 13:04:13 UTC
Created attachment 2155198 [details]
File: mountinfo

Comment 7 Louis van Dyk 2026-08-21 13:04:15 UTC
Created attachment 2155199 [details]
File: namespaces

Comment 8 leigh scott 2026-08-21 13:51:40 UTC
I don't have time to fix old fedora releases, it's addressed upstream on will be included in nemo-6.8.x release or 6.7.x-unstable (f45+).

It's a simple file edit to fix see

https://github.com/linuxmint/nemo/pull/3826