Bug 1085800

Summary: [abrt] recoll: ole.py:60:byteOrder:IndexError: string index out of range
Product: [Fedora] Fedora Reporter: Matthias Bruegge <mbruegge73>
Component: recollAssignee: Terje Røsten <terje.rosten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: mbruegge73, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/52ae3c5b1d1f864a615dbf972f763c4d9446224d
Whiteboard: abrt_hash:de532f01f18890d61cf35e6bfe6e88d3f59a9916
Fixed In Version: recoll-1.19.13-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 10:25:12 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
File: environ none

Description Matthias Bruegge 2014-04-09 11:59:51 UTC
Version-Release number of selected component:
recoll-1.19.11-1.fc19

Additional info:
reporter:       libreport-2.2.0
cmdline:        python2 /usr/share/recoll/filters/ppt-dump.py --no-struct-output --dump-text /data/OTR/Funstuff/Gentechnik.pps
executable:     /usr/share/recoll/filters/ppt-dump.py
kernel:         3.13.7-100.fc19.i686.PAE
runlevel:       3 5
type:           Python
uid:            1000

Truncated backtrace:
ole.py:60:byteOrder:IndexError: string index out of range

Traceback (most recent call last):
  File "/usr/share/recoll/filters/ppt-dump.py", line 141, in <module>
    main(sys.argv)
  File "/usr/share/recoll/filters/ppt-dump.py", line 135, in main
    if not dumper.dump():
  File "/usr/share/recoll/filters/ppt-dump.py", line 62, in dump
    strm = pptstream.PPTFile(file.read(), self.params)
  File "/usr/share/recoll/filters/msodump.zip/src/pptstream.py", line 36, in __init__
    self.pos = self.header.parse()
  File "/usr/share/recoll/filters/msodump.zip/src/ole.py", line 190, in parse
    self.byteOrder = Header.byteOrder(self.bytes[28:30])
  File "/usr/share/recoll/filters/msodump.zip/src/ole.py", line 60, in byteOrder
    b1, b2 = ord(chars[0]), ord(chars[1])
IndexError: string index out of range

Local variables in innermost frame:
chars: ''

Comment 1 Matthias Bruegge 2014-04-09 11:59:56 UTC
Created attachment 884478 [details]
File: backtrace

Comment 2 Matthias Bruegge 2014-04-09 11:59:58 UTC
Created attachment 884479 [details]
File: environ

Comment 3 Terje Røsten 2014-04-12 13:13:07 UTC
Thanks for your report.

Comment 4 Terje Røsten 2014-04-17 06:56:42 UTC
Would is be possible for you to share the file causing the issue? That would really help upstream fixing the problem.

Comment 5 Fedora Update System 2014-05-06 21:07:35 UTC
recoll-1.19.13-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/recoll-1.19.13-1.fc20

Comment 6 Fedora Update System 2014-05-06 21:08:01 UTC
recoll-1.19.13-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/recoll-1.19.13-1.fc19

Comment 7 Fedora Update System 2014-05-08 10:17:32 UTC
Package recoll-1.19.13-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing recoll-1.19.13-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6134/recoll-1.19.13-1.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-06-30 10:25:12 UTC
recoll-1.19.13-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-06-30 10:27:29 UTC
recoll-1.19.13-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.