onboard fails to run due to translation errors

Bug #1013279 reported by kapetr
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Undecided
Unassigned
Ubuntu Translations
Fix Released
Low
Ubuntu Czech Translators

Bug Description

$ 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 101, in init
    config.init()
  File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 235, in init
    self.load_system_defaults(paths)
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 399, in load_system_defaults
    .format(filename=filename))
KeyError: u'paths'
$
$
$ onboard-settings
Traceback (most recent call last):
  File "/usr/bin/onboard-settings", line 3, in <module>
    s = Settings(True)
  File "/usr/lib/python2.7/dist-packages/Onboard/settings.py", line 62, in __init__
    config.init()
  File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 235, in init
    self.load_system_defaults(paths)
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 399, in load_system_defaults
    .format(filename=filename))
KeyError: u'paths'
$

Also if allowed in Settings app. - simply nothing happens, no on-screen keyboard pop-up.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: onboard 0.97.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jun 14 18:56:48 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120401)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: onboard
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
kapetr (kapetr) wrote :
tags: added: a11y
Revision history for this message
marmuta (marmuta) wrote :

Confirmed. The Czech translation mixed up field names
Loading system defaults from {filename}
Current Czech: Načítání výchozího nastavení z {paths}

I've update it here
https://translations.launchpad.net/onboard/0.97/+pots/onboard/cs/9/+translate

Changed in onboard (Ubuntu):
status: New → Confirmed
Revision history for this message
marmuta (marmuta) wrote :

Here are some workarounds until the translation is updated:

Try temporarily running with the English interface:
$ LANGUAGE=en onboard
Check this useful tip too https://bugs.launchpad.net/onboard/+bug/999155/comments/11

or, disable the Czech translation (will be restored when language-pack-gnome-cs-base is updated):
$ sudo mv /usr/share/locale-langpack/cs/LC_MESSAGES/onboard.mo{,_}

or get the latest Onboard from our PPA, quoting Francesco:
"You can find Onboard 0.97.1, that contains the fix to this problem in our Stable PPA for oneiric, precise and quantal: https://launchpad.net/~onboard/+archive/stable"

Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
assignee: nobody → Ubuntu Czech Translators (ubuntu-l10n-cs)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
marmuta (marmuta) wrote :

Found two more, I'm pretty sure these have been the last ones for the Czech translations though.

https://translations.launchpad.net/onboard/0.97/+pots/onboard/cs/3/+translate
'nelze nalézt '{filename}', načítání výchozího {desription}' ->
'nelze nalézt '{filename}', načítání výchozího {description}'

https://translations.launchpad.net/onboard/0.97/+pots/onboard/cs/213/+translate
Načítání starého formátu barevného motivu '{old_format}', prosím zvažte aktualizaci na aktuální formát '{newformat}':'{filename}' ->
Načítání starého formátu barevného motivu '{old_format}', prosím zvažte aktualizaci na aktuální formát '{new_format}':'{filename}'

Revision history for this message
kapetr (kapetr) wrote :

Thanks very much guys!

LANGUAGE=en onboard works for me.
Will wait for standard update.

no longer affects: onboard (Ubuntu)
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
summary: - onboard fails to run
+ onboard fails to run due to translation errors
Changed in onboard:
status: New → Fix Released
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.