[Bug 1102032] Re: synaptikscfg crashed with KeyError in __setitem__(): u'circular_touchpad'

Philip Muškovac yofel at gmx.net
Tue Apr 30 20:09:20 UTC 2013


** Description changed:

- appears immediately after the system boots.
+ [Impact]
+ Due to removed keys in the configuration class the de-serialization of old touchpad settings fail which breaks the touchpad configuration.
+ 
+ [Test Case]
+ 1) You need a ~/.config/synaptiks/touchpad-config.json like the one attached to the report (containing the configuration keys that cause the issue)
+ 2) run 'synaptikscfg load' which should show backtrace below
+ 3) install kde-config-touchpad from raring-proposed
+ 4) run 'synaptikscfg load' again which shouldn't crash anymore
+ 
+ [Regression Potential]
+ As the keys were only added back to the backend as dummies and have no effect in application anymore there should be none.
  
  42: PS/2 00.0: 10500 PS/2 Mouse
-   [Created at input.183]
-   UDI: /org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input
-   Unique ID: AH6Q.ZHI3OT7LsxA
-   Hardware Class: mouse
-   Model: "SynPS/2 Synaptics TouchPad"
-   Vendor: 0x0002 
-   Device: 0x0007 "SynPS/2 Synaptics TouchPad"
-   Compatible to: int 0x0210 0x0002
-   Device File: /dev/input/mice (/dev/input/mouse0)
-   Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event9, /dev/input/by-path/platform-i8042-serio-4-event-mouse, /dev/input/by-path/platform-i8042-serio-4-mouse
-   Device Number: char 13:63 (char 13:32)
-   Driver Info #0:
-     Buttons: 2
-     Wheels: 0
-     XFree86 Protocol: explorerps/2
-     GPM Protocol: exps2
-   Config Status: cfg=new, avail=yes, need=no, active=unknown
+   [Created at input.183]
+   UDI: /org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input
+   Unique ID: AH6Q.ZHI3OT7LsxA
+   Hardware Class: mouse
+   Model: "SynPS/2 Synaptics TouchPad"
+   Vendor: 0x0002
+   Device: 0x0007 "SynPS/2 Synaptics TouchPad"
+   Compatible to: int 0x0210 0x0002
+   Device File: /dev/input/mice (/dev/input/mouse0)
+   Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event9, /dev/input/by-path/platform-i8042-serio-4-event-mouse, /dev/input/by-path/platform-i8042-serio-4-mouse
+   Device Number: char 13:63 (char 13:32)
+   Driver Info #0:
+     Buttons: 2
+     Wheels: 0
+     XFree86 Protocol: explorerps/2
+     GPM Protocol: exps2
+   Config Status: cfg=new, avail=yes, need=no, active=unknown
  
- ProblemType: Crash
- DistroRelease: Ubuntu 13.04
+ ProblemType: CrashDistroRelease: Ubuntu 13.04
  Package: kde-config-touchpad 0.8.1-1ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
  Uname: Linux 3.8.0-1-generic x86_64
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Sun Jan 20 17:58:40 2013
  ExecutablePath: /usr/bin/synaptikscfg
  InstallationDate: Installed on 2012-12-15 (36 days ago)
  InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
  InterpreterPath: /usr/bin/python2.7
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/synaptikscfg init
  ProcEnviron:
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=ru_RU.UTF-8
-  SHELL=/bin/bash
- PythonArgs: ['/usr/bin/synaptikscfg', 'init']
- SourcePackage: synaptiks
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=ru_RU.UTF-8
+  SHELL=/bin/bash
+ PythonArgs: ['/usr/bin/synaptikscfg', 'init']SourcePackage: synaptiks
  Title: synaptikscfg crashed with KeyError in __setitem__(): u'circular_touchpad'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Attachment added: "touchpad-config.json"
   https://bugs.launchpad.net/ubuntu/+source/synaptiks/+bug/1102032/+attachment/3660655/+files/touchpad-config.json

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to synaptiks in Ubuntu.
https://bugs.launchpad.net/bugs/1102032

Title:
  synaptikscfg crashed with KeyError in __setitem__():
  u'circular_touchpad'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/synaptiks/+bug/1102032/+subscriptions




More information about the kubuntu-bugs mailing list