Package: ocrfeeder
Version: 0.8.5-1
Severity: important

Dear Maintainer,

ocrfeeder depends on python3-standard-imghr, it won't start without that
package installed, but the ocrfeeder package doesn't list it as a dependency:

$ ocrfeeder                               [11:49:05]
Traceback (most recent call last):
  File "/usr/bin/ocrfeeder", line 31, in <module>
    from ocrfeeder.studio.studioBuilder import Studio
  File "/usr/lib/python3/dist-packages/ocrfeeder/studio/studioBuilder.py", line
29, in <module>
    from . import widgetPresenter
  File "/usr/lib/python3/dist-packages/ocrfeeder/studio/widgetPresenter.py",
line 21, in <module>
    from .dataHolder import DataBox, TEXT_TYPE, IMAGE_TYPE
  File "/usr/lib/python3/dist-packages/ocrfeeder/studio/dataHolder.py", line
20, in <module>
    from ocrfeeder.util import graphics
  File "/usr/lib/python3/dist-packages/ocrfeeder/util/graphics.py", line 25, in
<module>
    import imghdr
ModuleNotFoundError: No module named 'imghdr'

Installing python3-standard-imghr fixes the problem.

--
Toto


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
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           10.04.0~dfsg-2+b1
ii  gir1.2-goocanvas-2.0  2.0.4-1.1
ii  gir1.2-gtk-3.0        3.24.48-4
ii  gir1.2-gtkspell3-3.0  3.0.10-2
ii  gocr                  0.52-6.1+b1
ii  iso-codes             4.17.0-1
ii  python3               3.13.2-1
ii  python3-enchant       3.3.0~rc1-1
ii  python3-gi            3.50.0-4+b1
ii  python3-lxml          5.3.1-1+b1
ii  python3-odf           1.4.2-4
ii  python3-pil           11.1.0-5+b1
ii  python3-reportlab     4.3.1-1
ii  python3-sane          2.9.1-3+b7
ii  tesseract-ocr         5.5.0-1

Versions of packages ocrfeeder recommends:
ii  unpaper  7.0.0-3+b2
ii  yelp     42.2-2

ocrfeeder suggests no packages.

-- no debconf information

Reply via email to