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!
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!
FS#80264 - [ocrfeeder] does not run
Attached to Project:
Arch Linux
Opened by fenugrec (fenugrec) - Wednesday, 15 November 2023, 14:56 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 15 November 2023, 20:21 GMT
Opened by fenugrec (fenugrec) - Wednesday, 15 November 2023, 14:56 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 15 November 2023, 20:21 GMT
|
DetailsDescription:
neither ocrfeeder nor ocrfeeder-cli will even run : ``` $ ocrfeeder Traceback (most recent call last): File "/usr/bin/ocrfeeder", line 36, in <module> studio = Studio() ^^^^^^^^ File "/usr/lib/python3.11/site-packages/ocrfeeder/studio/studioBuilder.py", line 147, in __init__ add_engines_dialog = widgetPresenter.SystemEnginesDialog(engines) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: SystemEnginesDialog.__init__() missing 1 required positional argument: 'engines' $ ocrfeeder-cli /usr/lib/python3.11/site-packages/ocrfeeder/util/lib.py:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk Traceback (most recent call last): File "/usr/bin/ocrfeeder-cli", line 33, in <module> from ocrfeeder.util.graphics import getImageResolution, convertMultiImagesInList File "/usr/lib/python3.11/site-packages/ocrfeeder/util/graphics.py", line 20, in <module> from .lib import getNonExistingFileName File "/usr/lib/python3.11/site-packages/ocrfeeder/util/lib.py", line 37, in <module> def getIconOrLabel(icon_name, label_text, icon_size = Gtk.IconSize.SMALL_TOOLBAR): ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'IconSize' has no attribute 'SMALL_TOOLBAR' ``` First issue is already known upstream, with what appears to be a simple fix. Not sure why it's not fixed yet; https://gitlab.gnome.org/GNOME/ocrfeeder/-/issues/83 Not sure what's going on with the second issue. Additional info: * package version : 0.8.5-2 |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 15 November 2023, 20:21 GMT
Reason for closing: Upstream
Additional comments about closing: Refer comments
Wednesday, 15 November 2023, 20:21 GMT
Reason for closing: Upstream
Additional comments about closing: Refer comments
Re the first issue. Works fine here in a fresh install i.e. cannot repro. Looks similar to
FS#79235. You likely have some (foreign pip installed?) local python stuff interfering which you'll need to debug yourself (or visit the Arch support channels).The 2nd issue only crops up when gtk4 is present...which smells like an upstream bug. In other words, it works fine in a gtk3-only environment. Please report upstream.