LXKeymap crashes when I press Apply

Bug #996590 reported by Angelos Vlassopoulos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LXKeymap
Fix Committed
Medium
Leszek Lesner
lxkeymap (Ubuntu)
Fix Released
Undecided
Julien Lavergne

Bug Description

When I am in profiles I create a second profile and then I try to set some options (keys to change layout).

I press ok and then Apply.

After a few seconds LXKeymap closes unexpectedly.

This regards LXKeymap 0.7.99

Tags: patch

Related branches

Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

Please can you redo it once started from the terminal and put in the output.

Changed in lxkeymap:
status: New → Incomplete
assignee: nobody → Leszek Lesner (leszek-lesner)
Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

I can confirm that lxkeymap seems not to save the configuration file correctly if clicked apply in profiles overview.
If you press apply in country select view it should work.
I was not able to reproduce an unexpected close of lxkeymap however.

Changed in lxkeymap:
status: Incomplete → Fix Committed
status: Fix Committed → Confirmed
Revision history for this message
pawciobiel (pawciobiel) wrote :

Traceback (most recent call last):
  File "./bin/lxkeymap", line 535, in on_click_apply
    self.save_configuration()
  File "./bin/lxkeymap", line 490, in save_configuration
    self.config.set(self.section, 'Layout',(self.country_selected).lower())
AttributeError: 'LxkeymapWindow' object has no attribute 'country_selected'

It looks to me like lxkeymap doesn't select a default country when a new profile is created.
Please see attached patch.

Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

Thanks for your patch (again ;) ) .
I applied it and it fixes the issue.

Changed in lxkeymap:
status: Confirmed → Fix Committed
importance: Undecided → Medium
Julien Lavergne (gilir)
Changed in lxkeymap (Ubuntu):
status: New → In Progress
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Julien Lavergne (gilir) wrote :

A package including the fix is available in Lubuntu Dev PPA Staging : https://launchpad.net/~lubuntu-dev/+archive/staging
Please report any problems you have with this new version.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "996590_crashes_when_i_press_apply.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxkeymap - 0.7.99+dfsg-0ubuntu3

---------------
lxkeymap (0.7.99+dfsg-0ubuntu3) quantal; urgency=low

  * debian/patches:
   - 04_crash_on_autostart.patch: From upstream, fix crash when launching with
     autostart (LP: #1014049).
   - 05_select_keyboard_option.patch: From upstream, fix freeze of the combobox
     (LP: #996588).
   - 06_crash_on_apply.patch: From upstream, fix crash on apply (LP: #996590).
   - 07_str_list_comparaison.patch: From upstream, fix crash on comparaison
     (LP: #1017249)
 -- Julien Lavergne <email address hidden> Tue, 09 Oct 2012 01:25:02 +0200

Changed in lxkeymap (Ubuntu):
status: In Progress → 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.