← Back to team overview

quickshotdevs team mailing list archive

[Bug 556532] Re: screenshots don't have the correct language code

 

I just tried the following as a test...

import locale
print locale.getdefaultlocale()

...and this happened.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/locale.py", line 478, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.6/locale.py", line 410, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: nl_AW


Environment: LiveCD, installed to disk, running with Quickshot user. Nothing else was changed.

We may need to check with Python's Issue Tracker to see if this is a
known problem and possibly submit a patch, if it isn't somehow specific
to the Lucid Python build.

-- 
screenshots don't have the correct language code
https://bugs.launchpad.net/bugs/556532
You received this bug notification because you are a member of Quickshot
Developers, which is the registrant for Quickshot.

Status in Quickshot - Capturing translated screenshots: New

Bug description:
I think this is python-pybabel related but some how the dutch screenshots are not being taken in dutch. I asked in #ubuntu-nl to double check but this is not dutch http://screenshots.ubuntu-manual.org/data/02-assistive-technologies@nl@xxxxxxxxxxxxxx .
This is http://screenshots.ubuntu-manual.org/data/05-firefox-ppa@nl@xxxxxxxxxxxxxx . A lot of the dutch screenshots are in arabic of some form. 

When running quickshot the language is detected ok except netherlands (aruba) which causes quickshot to crash. I have added a commet to https://bugs.edge.launchpad.net/quickshot/+bug/554861 .





References