gnome-language-selector crashed with NameError in getSystemDefaultLanguage()

Bug #564648 reported by Delete this account
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: language-selector

When run @ shell:
~$ gnome-language-selector
/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py:802: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed
  cell = combo.get_child().get_cell_renderers()[0]
Traceback (most recent call last):
  File "/usr/bin/gnome-language-selector", line 32, in <module>
    options=options)
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 235, in __init__
    self.verifyInstalledLangPacks()
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 658, in verifyInstalledLangPacks
    missing = self.getMissingLangPacks()
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py", line 113, in getMissingLangPacks
    default_lang = self._localeinfo.getSystemDefaultLanguage()[0]
  File "/usr/lib/python2.6/dist-packages/LanguageSelector/LocaleInfo.py", line 267, in getSystemDefaultLanguage
    os.access(fname, R_OK):
NameError: global name 'R_OK' is not defined

When run @ panel, nothing happens

Fresh install 10.04 beta2, just updated.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: language-selector 0.5.5
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Fri Apr 16 15:14:26 2010
ExecutablePath: /usr/bin/gnome-language-selector
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gnome-language-selector
ProcEnviron:
 LANG=fi_FI.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gnome-language-selector']
SourcePackage: language-selector
Title: gnome-language-selector crashed with NameError in getSystemDefaultLanguage()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Delete this account (delete+this.account-deactivatedaccount) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #564317, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.