[Python-apps-team] Bug#717576: ocrfeeder version 0.7.11-3 (testing) fails to start in Wheezy

Subhashis Roy subhashis3 at fastmail.fm
Mon Jul 22 16:17:30 UTC 2013


Package: ocrfeeder
Version: 0.7.11-3
Severity: important

I installed ocrfeeder from testing in my desktop (amd64) running Debian
stable. It did not show any problem in installation.

However, while running it on the command line by typing 'ocrfeeder',
I get the following error
----------
Traceback (most recent call last):
  File "/usr/bin/ocrfeeder", line 31, in <module>
    from ocrfeeder.studio.studioBuilder import Studio
  File "/usr/lib/python2.7/dist-packages/ocrfeeder/studio/studioBuilder.py", line 26, in <module>
    import widgetPresenter
  File "/usr/lib/python2.7/dist-packages/ocrfeeder/studio/widgetPresenter.py", line 24, in <module>
    from ocrfeeder.util.configuration import ConfigurationManager
  File "/usr/lib/python2.7/dist-packages/ocrfeeder/util/configuration.py", line 83, in <module>
    class ConfigurationManager(object):
  File "/usr/lib/python2.7/dist-packages/ocrfeeder/util/configuration.py", line 123, in ConfigurationManager
    LANGUAGE: locale.getdefaultlocale()[0].split('_')[0],
AttributeError: 'NoneType' object has no attribute 'split'
-------------

Please fix, so that one can a more updated version from testing in
Debian stable.

Yours sincerely,
Subhashis
----------------------

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocrfeeder depends on:
ii  ghostscript          9.05~dfsg-6.3
ii  gocr                 0.49-1
ii  python               2.7.3-4
ii  python-enchant       1.6.5-2
ii  python-gtk2          2.24.0-3+b1
ii  python-imaging-sane  1.1.7-4
ii  python-lxml          2.3.2-1
ii  python-pygoocanvas   0.14.1-1+b3
ii  python-reportlab     2.5-1.1
ii  tesseract-ocr        3.02.01-6

Versions of packages ocrfeeder recommends:
ii  unpaper  0.4.2-1
pn  yelp     <none>

ocrfeeder suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list