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

Alberto Garcia berto at igalia.com
Tue Jul 23 22:40:31 UTC 2013


On Mon, Jul 22, 2013 at 09:47:30PM +0530, Subhashis Roy wrote:

>   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'

> 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

Can you try with a locale other than 'C'?

$ LANG=en_US ocrfeeder

Berto



More information about the Python-apps-team mailing list