lxkeymap crashed with TypeError in status_update(): cannot concatenate 'str' and 'list' objects

Bug #1017249 reported by Dafydd ab Iago
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LXKeymap
Fix Committed
High
Leszek Lesner
lxkeymap (Ubuntu)
Fix Released
Undecided
Julien Lavergne

Bug Description

Keeps happening as I use lxkeymap. I'm trying (unsuccessfully) to get the deadkeys to work. Keyboard layout is correct (or seems so).

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: lxkeymap 0.7.99+dfsg-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-1.1-generic 3.5.0-rc3
Uname: Linux 3.5.0-1-generic x86_64
ApportVersion: 2.2.5-0ubuntu1
Architecture: amd64
Date: Sun Jun 24 22:30:11 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/lxkeymap
InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120606.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/lxkeymap
PythonArgs: ['/usr/bin/lxkeymap']
SourcePackage: lxkeymap
Title: lxkeymap crashed with TypeError in status_update(): cannot concatenate 'str' and 'list' objects
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Dafydd ab Iago (dafyddabiago) wrote :
tags: removed: need-duplicate-check
Revision history for this message
pawciobiel (pawciobiel) wrote :

It looks like a small typo. Please see attached patch.

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

The attachment "1017249_cannot_concatenate_str_and_list_objects.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
Changed in lxkeymap:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Leszek Lesner (leszek-lesner)
Changed in lxkeymap (Ubuntu):
status: New → Confirmed
Julien Lavergne (gilir)
Changed in lxkeymap (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Julien Lavergne (gilir)
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
Revision history for this message
Samuel Suther (s-suther) wrote :

TypeError: cannot concatenate 'str' and 'list' objects .... Still appear in 0.7.99+dfsg-0ubuntu3.

lxkeymap
Sections: ['Global', 'quertz', 'neo2']
Layouts: ['de']
Variants: []
Options: ['grp:sclk_toggle', 'neo', 'grp_led:scroll', 'grp:alt_shift_toggle', 'grp:switch']
Toggle 'grp:switch' to: False
Toggle 'grp:alt_shift_toggle' to: False
Toggle 'grp:lctrl_lwin_rctrl_menu' to: True
Toggle 'grp:sclk_toggle' to: False
Toggle 'grp:lctrl_lwin_rctrl_menu' to: False
Toggle 'grp:sclk_toggle' to: True
['neo', 'grp_led:scroll', 'grp:sclk_toggle']
Traceback (most recent call last):
  File "/usr/bin/lxkeymap", line 546, in on_click_apply
    self.save_configuration()
  File "/usr/bin/lxkeymap", line 512, in save_configuration
    self.status_update()
  File "/usr/bin/lxkeymap", line 565, in status_update
    self.status.set_text(_("Current Keymap: "+ self.layout_current))
TypeError: cannot concatenate 'str' and 'list' objects

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.