[Python-apps-team] Bug#581427: ocrfeeder-cli fails with IndexError

Serafeim Zanikolas sez at debian.org
Wed May 12 21:45:51 UTC 2010


Package: ocrfeeder
Version: 0.6.6-2
Severity: important

Once python-gnome is installed (see #580254), ocrfeeder-cli actually fails as
follows:

    $ ./ocrfeeder-cli --o /tmp/b --images /tmp/a.jpeg
    Traceback (most recent call last):
      File "./ocrfeeder-cli", line 54, in <module>
        engine = ocr_engines[1]
    IndexError: list index out of range

Changing the index to zero fixes the issue.

I've set the priority to only important because this is specific to the cli
version.

-S



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocrfeeder depends on:
ii  python                       2.5.4-9     An interactive high-level object-o
ii  python-gtk2                  2.17.0-2    Python bindings for the GTK+ widge
ii  python-imaging               1.1.7-1+b1  Python Imaging Library
ii  python-pygoocanvas           0.10.0-2+b1 GooCanvas Python bindings
ii  python-support               1.0.8       automated rebuilding support for P
ii  tesseract-ocr                2.04-2      Command line OCR tool

Versions of packages ocrfeeder recommends:
pn  unpaper                       <none>     (no description available)

ocrfeeder suggests no packages.

-- no debconf information





More information about the Python-apps-team mailing list