This bug affects two of mine computers, desktop and laptop, both set with serbian locale sr_RS:
zarko@zarko-desktop:~$ software-center Traceback (most recent call last): File "/usr/bin/software-center", line 80, in <module> app = SoftwareCenterApp(datadir, xapian_base_path) File "/usr/share/software-center/softwarecenter/app.py", line 140, in __init__ self.icons, datadir) File "/usr/share/software-center/softwarecenter/view/availablepane.py", line 58, in __init__ SoftwarePane.__init__(self, cache, db, icons, datadir) File "/usr/share/software-center/softwarecenter/view/softwarepane.py", line 92, in __init__ self.datadir) File "/usr/share/software-center/softwarecenter/view/appdetailsview.py", line 102, in __init__ self.aptd_client = client.AptClient() File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 382, in __init__ self._locale = "%s.%s" % locale.getdefaultlocale() 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: sr_RS
Moreover, even the Alacarte wont start with similar error report:
zarko@zarko-desktop:~$ alacarte Traceback (most recent call last): File "/usr/bin/alacarte", line 36, in <module> main() File "/usr/bin/alacarte", line 32, in main app = MainWindow(datadir, version, sys.argv) File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 48, in __init__ self.editor = MenuEditor() File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 35, in __init__ self.locale = 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: sr_RS
This bug affects two of mine computers, desktop and laptop, both set with serbian locale sr_RS:
zarko@zarko- desktop: ~$ software-center software- center" , line 80, in <module> pp(datadir, xapian_base_path) software- center/ softwarecenter/ app.py" , line 140, in __init__ software- center/ softwarecenter/ view/availablep ane.py" , line 58, in __init__ e.__init_ _(self, cache, db, icons, datadir) software- center/ softwarecenter/ view/softwarepa ne.py", line 92, in __init__ software- center/ softwarecenter/ view/appdetails view.py" , line 102, in __init__ aptd_client = client.AptClient() python2. 6/dist- packages/ aptdaemon/ client. py", line 382, in __init__ getdefaultlocal e() python2. 6/locale. py", line 478, in getdefaultlocale localename( localename) python2. 6/locale. py", line 410, in _parse_localename
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
SoftwarePan
File "/usr/share/
self.datadir)
File "/usr/share/
self.
File "/usr/lib/
self._locale = "%s.%s" % locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: sr_RS
Moreover, even the Alacarte wont start with similar error report:
zarko@zarko- desktop: ~$ alacarte alacarte" , line 36, in <module> alacarte" , line 32, in main pymodules/ python2. 6/Alacarte/ MainWindow. py", line 48, in __init__ pymodules/ python2. 6/Alacarte/ MenuEditor. py", line 35, in __init__ getdefaultlocal e()[0] python2. 6/locale. py", line 478, in getdefaultlocale localename( localename) python2. 6/locale. py", line 410, in _parse_localename
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
app = MainWindow(datadir, version, sys.argv)
File "/usr/lib/
self.editor = MenuEditor()
File "/usr/lib/
self.locale = locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: sr_RS