onboard crashes in precise alpha 2

Bug #930891 reported by David López
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Onboard
Invalid
Undecided
Unassigned
Ubuntu Translations
Fix Released
High
Ubuntu Spanish Translators
onboard (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've installed in virtualbox ubuntu 12.04 alpha2 32 bits. When I open onboard 0.96.2-0ubuntu1 I receive an error message:

Traceback (most recent call last):
  File "/usr/bin/onboard", line 16, in <module>
    ob = Onboard()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 64, in __init__
    self.init()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 86, in init
    self.reload_layout()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 350, in reload_layout
    self.load_layout(config.layout_filename,
  File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 387, in get_layout_filename
    self.LAYOUT_FILE_EXTENSION))
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 233, in _get_user_sys_filename_gs
    system_filename_func)
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 276, in _get_user_sys_filename
    .format(description=description, filepath=filepath))
KeyError: 'filename'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: onboard 0.96.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic-pae 3.2.5
Uname: Linux 3.2.0-15-generic-pae i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Sun Feb 12 10:04:32 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: onboard
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David López (david-lopez-upct) wrote :
Revision history for this message
Francesco Fumanti (frafu) wrote :

Thanks for your interest in Onboard and for helping to make it better by filing bugs.

Onboard 0.97.0 will be soon released; could you please test whether the problem also occurs in the development version of Onboard? You can easily install it from our Snapshots PPA:
https://launchpad.net/~onboard/+archive/snapshots

Revision history for this message
David López (david-lopez-upct) wrote :

Francesco, I've installed the development version, but I'm afraid that the problem is still present in 0.97.0~preview~tr712-0ppa~precise1

Traceback (most recent call last):
  File "/usr/bin/onboard", line 17, in <module>
    ob = Onboard()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 66, in __init__
    self.init()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 106, in init
    self.reload_layout()
  File "/usr/lib/python2.7/dist-packages/Onboard/OnboardGtk.py", line 429, in reload_layout
    self.load_layout(config.layout_filename,
  File "/usr/lib/python2.7/dist-packages/Onboard/Config.py", line 475, in get_layout_filename
    self.LAYOUT_FILE_EXTENSION))
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 275, in _get_user_sys_filename_gs
    system_filename_func)
  File "/usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py", line 318, in _get_user_sys_filename
    .format(description=description, filepath=filepath))
KeyError: 'filename'

Revision history for this message
Francesco Fumanti (frafu) wrote :

Thanks for trying the snapshot and informing us about the problem also occurring there.

Revision history for this message
marmuta (marmuta) wrote :

I guess the spanish translation was just updated. There is a mixup:
"{description} '{filepath}' found." was translated as
"{description} «{filename}» encontrada."

Updating onboard won't help at this time, sorry.

Revision history for this message
marmuta (marmuta) wrote :

The previous workarounds for bug #916056 should still work:

Try running with the english user interface:
$ LANGUAGE=en onboard

or, disable the spanish translation for onboard permanently (at least until language-pack-gnome-es-base is updated again):
$ sudo mv /usr/share/locale-langpack/es/LC_MESSAGES/onboard.mo{,_}

Revision history for this message
marmuta (marmuta) wrote :

I've suggested a fixed translation for Precise, hopefully it gets approved soon.

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

Could someone please assign "onboard (ubuntu)" to "Ubuntu Spanish Translators"? Launchpad doesn't let me. Thanks in advance

tags: added: a11y
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Translations in Ubuntu are handled by the Ubuntu Translations project, so we are going to move this bug report over to that project.

Changed in onboard (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
assignee: nobody → Ubuntu Spanish Translators (ubuntu-l10n-es)
status: New → Triaged
importance: Undecided → High
Revision history for this message
David López (david-lopez-upct) wrote :

Thanks marmuta, opening onboard in English solved the problem.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

The offending string has been corrected. I'm sorry -- I unintentionally caused this bug.

Revision history for this message
David López (david-lopez-upct) wrote :

I've noticed that this bug prevents onboard to be displayed in lightdm welcome screen (see the attached image). That makes imposible to start a session without an external keyboard (unless autologin is enabled).

Changed in ubuntu-translations:
status: Triaged → Fix Committed
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
Changed in onboard (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Same problem with Catalan language.

Revision history for this message
marmuta (marmuta) wrote :

Thanks Josep, I think this should be a new bug report. I've opened bug #999155 for this.

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.