Bug 2520985 - [abrt] nemo-search-helpers: handle_data(): nemo-odf-to-txt:26:handle_data:IndexError: list index out of range
Summary: [abrt] nemo-search-helpers: handle_data(): nemo-odf-to-txt:26:handle_data:Ind...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nemo
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f53351888d740cc4ed6e6becead...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-21 13:04 UTC by Louis van Dyk
Modified: 2026-08-21 13:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-21 13:51:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: environ (2.85 KB, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: os_info (699 bytes, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: open_fds (477 bytes, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: backtrace (718 bytes, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: cpuinfo (3.44 KB, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: mountinfo (4.28 KB, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details
File: namespaces (171 bytes, text/plain)
2026-08-21 13:04 UTC, Louis van Dyk
no flags Details

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


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