← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 968044] Re: Onboard crashes with Russian locale

 

** Changed in: ubuntu-translations
     Assignee: (unassigned) => Russian Ubuntu Translators (ubuntu-l10n-ru)

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/968044

Title:
  Onboard crashes with Russian locale

Status in Onboard on-screen keyboard:
  Fix Released
Status in Ubuntu Translations:
  Fix Committed
Status in “onboard” package in Ubuntu:
  Invalid

Bug description:
  If I start onboard with Russian locale it crashes.

  
  pilot6@Pilot6:~$ onboard
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 86, in do_activate
      self.init()
    File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 107, in init
      self.reload_layout()
    File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 441, in reload_layout
      config.theme_settings.color_scheme_filename)
    File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 463, in load_layout
      color_scheme_filename)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 51, in __init__
      self.layout = self._load_layout(layout_filename, color_scheme_filename)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 85, in _load_layout
      items = self._parse_dom_node(dom)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 116, in _parse_dom_node
      item.items = self._parse_dom_node(child, item)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 116, in _parse_dom_node
      item.items = self._parse_dom_node(child, item)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 116, in _parse_dom_node
      item.items = self._parse_dom_node(child, item)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 110, in _parse_dom_node
      item = self._parse_key(child, parent_item)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 161, in _parse_key
      self._init_key(key, attributes)
    File "/usr/lib/python2.7/dist-packages/Onboard/KeyboardSVG.py", line 257, in _init_key
      tooltip = _("Snippet {}").format(key.action)
  KeyError: u' '

  If onboard is started with LANGUAGE-en or ua, or others, it works OK.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: onboard 0.97.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.95-0ubuntu1
  Architecture: amd64
  Date: Thu Mar 29 11:56:50 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: onboard
  UpgradeStatus: Upgraded to precise on 2012-03-26 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/968044/+subscriptions