Package: ocrfeeder
Version: 0.8.3-3
Severity: normal

ocrfeeder-cli doesn't work at all:
$ ocrfeeder-cli -h
/usr/lib/python3/dist-packages/ocrfeeder/util/lib.py:25: 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/dist-packages/ocrfeeder/util/graphics.py", line
20, in <module>
    from .lib import getNonExistingFileName
  File "/usr/lib/python3/dist-packages/ocrfeeder/util/lib.py", line 35,
in <module>
    def getIconOrLabel(icon_name, label_text, icon_size =
Gtk.IconSize.SMALL_TOOLBAR):
AttributeError: type object 'IconSize' has no attribute 'SMALL_TOOLBAR'


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (2, 'unstable-
debug'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ocrfeeder depends on:
ii  ghostscript           9.56.1~dfsg-1
ii  gir1.2-goocanvas-2.0  2.0.4-1+b1
ii  gir1.2-gtk-3.0        3.24.34-1
ii  gir1.2-gtkspell3-3.0  3.0.10-1
ii  iso-codes             4.10.0-1
ii  python3               3.10.4-1+b1
ii  python3-enchant       3.2.2-1
ii  python3-gi            3.42.1-1
ii  python3-lxml          4.8.0-1
ii  python3-odf           1.4.2-1
ii  python3-pil           9.1.1-1
ii  python3-reportlab     3.6.9-1
ii  python3-sane          2.9.1-2+b1
ii  tesseract-ocr         5.1.0-2

Versions of packages ocrfeeder recommends:
ii  unpaper  6.1-2+b2
ii  yelp     42.1-2

ocrfeeder suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to