[Reopened - Dapper] Bug #29484 - Pybliographer doesn't start

Bug #38706 reported by Erich Pawlik
This bug report is a duplicate of:  Bug #29484: Pybliographer doesn't start. Edit Remove
8
Affects Status Importance Assigned to Milestone
pybliographer (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

The command sequence described on my latest post at bug #29484 still leads to pybliographer aborting.

Regards

Erich

Revision history for this message
Roshan Shariff (roshan.shariff) wrote :

The same bug occurs for me. Pertinent environment variables are:
LANG="en_IN"
LANGUAGE="en_IN:en_US:en_GB:en"
Typing:
$ LANG="" pybliographic
works fine

Changed in pybliographer:
status: Unconfirmed → Confirmed
Revision history for this message
Gary Coady (garycoady) wrote :

I had a look at the set of locales on my machine, and interestingly, POSIX doesn't have a UTF-8 variant - as seen by running 'locale -a'.
Sounds like whatever sets the locale to POSIX.UTF8 should think again about that (en_IN has the same issue).

It might also be a reasonable thing to add something like
try:
    locale.setlocale (locale.LC_ALL, '')
except locale.Error:
    pass

on line 35 of pybliographer.py.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.