Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54085 - recoll PDF indexing uses wrong python version

Attached to Project: Community Packages
Opened by Johannes Wienke (languitar) - Tuesday, 16 May 2017, 11:17 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 22 May 2017, 12:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Indexing PDF files with recoll doesn't work because the indexer seems to expect python 2 but is executed under python 3:

:2:internfile/mh_execm.cpp:89::MHExecMultiple: getline error
:2:internfile/internfile.cpp:738::FileInterner::internfile: next_document error [/home/languitar/Seafile/photography/ebooks/Chasing The Light.pdf] application/pdf
:2:./utils/workqueue.h:102::WorkQueue::put:Split: !ok
:2:index/fsindexer.cpp:777::processonefile: wqueue.put failed
:2:index/fsindexer.cpp:531::FsIndexerInternfileWorker: processone failed
Traceback (most recent call last):
File "/usr/share/recoll/filters/rclpdf.py", line 386, in <module>
rclexecm.main(proto, extract)
File "/usr/share/recoll/filters/rclexecm.py", line 338, in main
proto.mainloop(extract)
File "/usr/share/recoll/filters/rclexecm.py", line 265, in mainloop
self.processmessage(processor, params)
File "/usr/share/recoll/filters/rclexecm.py", line 245, in processmessage
self.answer(data, ipath, eof)
File "/usr/share/recoll/filters/rclexecm.py", line 192, in answer
for nm,value in self.fields.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

According to  FS#45632  this should have been fixed, but it isn't for /usr/share/recoll/filters/rclpdf.py.

Additional info:
local/recoll 1.23.1-1


Steps to reproduce:
Configure indexing with a folder including PDFs and start recollindex.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 22 May 2017, 12:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  rclpdf.py uses python2
Comment by Sergej Pupykin (sergej) - Monday, 22 May 2017, 12:38 GMT
Fixed in recoll-1.23.2

Loading...