ValueError: unknown locale: my_MM

Bug #1330810 reported by Sithu Thwin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phatch (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I click Phatch icons in Application list, it do not come up. So I try to run from terminal. When I run phatch command in terminal, I got following error message -

$ phatch
Traceback (most recent call last):
  File "/usr/bin/phatch", line 16, in <module>
    main(config_paths, app_file = __file__)
  File "/usr/share/phatch/phatch/app.py", line 203, in main
    from core.settings import create_settings
  File "/usr/share/phatch/phatch/core/settings.py", line 23, in <module>
    from pil import IMAGE_READ_EXTENSIONS
  File "/usr/share/phatch/phatch/core/pil.py", line 38, in <module>
    from lib import metadata
  File "/usr/share/phatch/phatch/lib/metadata.py", line 46, in <module>
    from metadataTest import DateTime, INFO_TEST, is_string, MONTHS, now, WEEKDAYS
  File "/usr/share/phatch/phatch/lib/metadataTest.py", line 789, in <module>
    'Exif_GPSInfo_GPSDateStamp': DateTime('2009:06:21 23:06:40'),
  File "/usr/share/phatch/phatch/lib/metadataTest.py", line 66, in __init__
    self.from_exif_string(source)
  File "/usr/share/phatch/phatch/lib/metadataTest.py", line 95, in from_exif_string
    self.datetime = d.strptime(exif_string, self.format)
  File "/usr/lib/python2.7/_strptime.py", line 270, in <module>
    _TimeRE_cache = TimeRE()
  File "/usr/lib/python2.7/_strptime.py", line 188, in __init__
    self.locale_time = LocaleTime()
  File "/usr/lib/python2.7/_strptime.py", line 70, in __init__
    self.lang = _getlang()
  File "/usr/lib/python2.7/_strptime.py", line 29, in _getlang
    return locale.getlocale(locale.LC_TIME)
  File "/usr/lib/python2.7/locale.py", line 562, in getlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.7/locale.py", line 475, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: my_MM

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.