← Back to team overview

quickshotdevs team mailing list archive

[Bug 554861] Re: Quickshot crashes on unknown locale

 

also affects netherlands (aruba) in the latest version of quickshot both
in bzr and released version

Mask' as enum when in fact it is of type 'GFlags'
Using http://screenshots.ubuntu-manual.org/ for network operations
Completing window initialisation
Determining active language
Traceback (most recent call last):
  File "/usr/bin/quickshot", line 673, in <module>
    window = NewQuickshotWindow()
  File "/usr/bin/quickshot", line 636, in NewQuickshotWindow
    window.finish_initializing(builder)
  File "/usr/bin/quickshot", line 140, in finish_initializing
    get("languagelabel").set_text(self.get_active_language()[1])
  File "/usr/bin/quickshot", line 326, in get_active_language
    short_code = locale.getdefaultlocale()[0]
  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


** Changed in: quickshot
       Status: Fix Committed => Confirmed

-- 
Quickshot crashes on unknown locale
https://bugs.launchpad.net/bugs/554861
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: Confirmed

Bug description:
If Quickshot doesn't recognize the locale, it crashes when it first starts, but doesn't present a GUI error message to the user.





References