[Bug 1510237] Re: Software Center doesn't start on systems in Esperanto

Robie Basak 1510237 at bugs.launchpad.net
Sat Dec 19 12:41:19 UTC 2015


@Michael,

Do you mind taking a look please? This looks like a valid bug with a
particularly trivial fix/workaround to me.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1510237

Title:
  Software Center doesn't start on systems in Esperanto

Status in software-center package in Ubuntu:
  Triaged

Bug description:
  When I start the Software Center it immediately gives me a fatal error
  on my fresh 15.10 installation in Esperanto.

  I got the following traceback when I tried to start the software-
  center from the terminal: http://paste.ubuntu.com/12972133/

  I looked at the traceback and I noticed the error occurred in the file region.py.
  In the method _get_region_dumb we try to split the variable loc with the delimeter "_", but the input string does not contain an underscore in the first place. The variable loc only contains "eo" at this point, since Esperanto is not connected to a certain country there is no country code.

  I managed to fix the method _get_region_dumb by adding a try/except
  statement, but I am not able to do a pull request myself as I am not
  really an expert in Bazaar and branches.

  Could somebody update the method _get_region_dumb in region.py and replace it with the following or an other similar method: http://paste.ubuntu.com/12972109/
  I only added the last try/except statement.

  robin at robin-pc:~$ lsb_release -rd
  Description:	Ubuntu 15.10
  Release:	15.10

  robin at robin-pc:~$ apt-cache policy software-center
  software-center:
    Instalita: 13.10-0ubuntu12
    Kandidato: 13.10-0ubuntu12
    Version table:
   *** 13.10-0ubuntu12 0
          500 http://nl.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

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



More information about the Ubuntu-sponsors mailing list