Public bug reported:

I am running Ubuntu 5.10. Some time ago software-center
(13.10-0ubuntu12) started to crash on the first launch during a session.
It turned out that software-center tries to determine a country code
from the locale data (region.py, line 114, in _get_region_dumb) by
splitting the locale at the underscore. My locale ("eo") does not
contain an underscore.
A second launch usually succeeds; I suppose there is another way of
getting the country information (_get_region_geoclue?). I have no idea
what the country information is used for, so I would rather not hack it.

In my opinion programs should not depend on an underscore in the locale.

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: ubuntu => software-center (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1535620

Title:
  software-center crashes on locale without underscore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1535620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to