FS#69470 - [ocrfeeder] Not compatible with python 3.9
Attached to Project:
Community Packages
Opened by Danny Schneider (schnedan) - Friday, 29 January 2021, 21:58 GMT
Last edited by Balló György (City-busz) - Sunday, 14 March 2021, 17:12 GMT
Opened by Danny Schneider (schnedan) - Friday, 29 January 2021, 21:58 GMT
Last edited by Balló György (City-busz) - Sunday, 14 March 2021, 17:12 GMT
|
Details
Description: I just installed ocrfeeder, tesseract +
tesseract-data-deu
but the Application fails to start Additional info: * package version(s) Name : ocrfeeder Version : 0.8.3-2 Description : GTK+ document layout analysis and optical character recognition application Architecture : any URL : https://wiki.gnome.org/Apps/OCRFeeder Licenses : GPL Groups : None Provides : None Depends On : ghostscript goocanvas gtk3 gtkspell3 iso-codes python-gobject python-odfpy python-pillow python-pyenchant python-reportlab python-sane unpaper Optional Deps : tesseract: character recognition [installed] ocrad: character recognition gocr: character recognition cuneiform: character recognition Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 2.27 MiB Packager : Felix Yan <felixonmars@archlinux.org> Build Date : Thu 12 Nov 2020 07:04:25 PM CET Install Date : Fri 29 Jan 2021 10:37:23 PM CET Install Reason : Explicitly installed Install Script : No Validated By : Signature * config and/or log files etc. calling ocrfeeder from shell: ** (ocrfeeder:131268): WARNING **: 22:52:47.280: Error loading plugin: libnuspell.so.4: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/usr/bin/ocrfeeder", line 36, in <module> studio = Studio() File "/usr/lib/python3.9/site-packages/ocrfeeder/studio/studioBuilder.py", line 76, in __init__ self.ocr_engines_manager.makeEnginesFromFolder(user_engines_folder) File "/usr/lib/python3.9/site-packages/ocrfeeder/feeder/ocrEngines.py", line 197, in makeEnginesFromFolder engine = self.getEngineFromXml(xml_file) File "/usr/lib/python3.9/site-packages/ocrfeeder/feeder/ocrEngines.py", line 236, in getEngineFromXml for child in root_node.getchildren(): AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Balló György (City-busz)
Sunday, 14 March 2021, 17:12 GMT
Reason for closing: Fixed
Additional comments about closing: ocrfeeder 0.8.3-3
Sunday, 14 March 2021, 17:12 GMT
Reason for closing: Fixed
Additional comments about closing: ocrfeeder 0.8.3-3
Comment by loqs (loqs) - Friday, 29
January 2021, 22:19 GMT
Comment by Doug Newgard (Scimmia) -
Friday, 29 January 2021, 23:51 GMT
Comment by loqs (loqs) - Friday, 05
February 2021, 19:21 GMT
Comment by
Danny Schneider (schnedan) - Friday,
05 February 2021, 19:50 GMT
See
https://gitlab.gnome.org/GNOME/ocrfeeder/-/merge_requests/10
Yeah, the missing lib has nothing to do with this.
@schnedan please try rebuilding the package with the attached diff
applied.
seems to work :-)