unknown locale ca_AD, can't configure plugins.

Bug #297683 reported by nissu
2
Affects Status Importance Assigned to Milestone
gedit-plugins (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: gedit-plugins

Clicking on 'external tools/configure plugin' fails if locale is set to ca_AD (ubuntu 8.04, gedit 2.22.3)

If gedit is started from the command line, the following errors appear:

** (gedit:9688): CRITICAL **: gedit_plugins_engine_configure_plugin: assertion `conf_dlg != NULL' failed
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 189, in deactivate
    window.get_data(self.WINDOW_DATA_KEY).deactivate()
AttributeError: 'NoneType' object has no attribute 'deactivate'
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 196, in create_configure_dialog
    return self.open_dialog()
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 199, in open_dialog
    tm = Manager().dialog
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 90, in __init__
    self.__init_tools_model()
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 95, in __init_tools_model
    self.tools = ToolLibrary()
  File "/usr/lib/gedit-2/plugins/externaltools/library.py", line 42, in __init__
    self.tree = ToolDirectory(self, '')
  File "/usr/lib/gedit-2/plugins/externaltools/library.py", line 122, in __init__
    self._load()
  File "/usr/lib/gedit-2/plugins/externaltools/library.py", line 143, in _load
    self.tools.append(Tool(self, p))
  File "/usr/lib/gedit-2/plugins/externaltools/library.py", line 190, in __init__
    self._load()
  File "/usr/lib/gedit-2/plugins/externaltools/library.py", line 202, in _load
    lang = locale.getlocale()[0]
  File "/usr/lib/python2.5/locale.py", line 462, in getlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.5/locale.py", line 375, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: ca_AD

** (gedit:9688): CRITICAL **: gedit_plugins_engine_configure_plugin: assertion `conf_dlg != NULL' failed

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try the same with Karmic or Jaunty? Thanks in advance.

Changed in gedit-plugins (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
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.