GNOME Bugzilla – Bug 705610
ocrfeeder freezes when using unpaper
Last modified: 2014-07-07 21:12:22 UTC
The UI freezes ("Preparing image - please wait") if I try to open a document with the "Unpaper images" option enabled. $ ocrfeeder --version ocrfeeder 0.7.11 $ unpaper --version 0.4.2 $ ocrfeeder -i doc.jpg /usr/bin/unpaper --layout single --overwrite /tmp/ocrfeeder_PL5sv9/doc.ppm /tmp/ocrfeeder_PL5sv9/doc.ppm Processing sheet #1: /tmp/ocrfeeder_PL5sv9/doc.ppm -> /tmp/ocrfeeder_PL5sv9/doc.ppm *** error: input file format using magic '' is unknown. Traceback (most recent call last):
+ Trace 232352
self.__addImage(image_path, select_image)
page_data = PageData(image_path)
image = Image.open(image_path)
raise IOError("cannot identify image file")
Same here. Getting a bunch of with auto unpaper Try 'man unpaper' for more information. Traceback (most recent call last):
+ Trace 232959
with unpaper: error: input file format using magic '�' is unknown. unpaper version 5.1, ocrfeeder 0.7.11
Looking into it.
Hi, I have just fixed this. It seems that Unpaper was forked but Fedora (which I am using) is still using the original one, that's why I had version 0.X and you have a version > 1. I installed the fork and the problem is that it no longer supports having the same output image name as the input's. I have filed an issue about this in Unpaper's GitHub: https://github.com/Flameeyes/unpaper/issues/21