ccsm crashed with TypeError in _Read(): value is of wrong type for this column(when opening animations)

Bug #705856 reported by George Karavasilev
178
This bug affects 35 people
Affects Status Importance Assigned to Milestone
compizconfig-settings-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: compizconfig-settings-manager

Ubuntu 11.04 daily Build (21.Jan.2011) x64

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: compizconfig-settings-manager 0.9.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Fri Jan 21 12:15:25 2011
ExecutablePath: /usr/bin/ccsm
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110121)
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/ccsm
ProcEnviron:
 LANGUAGE=bg_BG.UTF-8:bg:en_GB:en
 LANG=bg_BG.UTF-8
 LC_MESSAGES=bg_BG.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/ccsm']
SourcePackage: compizconfig-settings-manager
Title: ccsm crashed with TypeError in _Read(): value is of wrong type for this column
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
George Karavasilev (kokoto-java) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Omer Akram (om26er) wrote :

really simple to reproduce. search for 'animations' in ccsm and click to open the animations settings nothing opens except for the crash window.

Changed in compizconfig-settings-manager (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
summary: ccsm crashed with TypeError in _Read(): value is of wrong type for this
- column
+ column(when opening animations)
Revision history for this message
Anders Kaseorg (andersk) wrote :

Also happens when clicking “Advanced Search”, as soon as the progress bar gets to “Animations”.

Revision history for this message
Anders Kaseorg (andersk) wrote :

Some quick Python debugging shows that the ‘values’ variable at fault in _Read is

values = ('Glide 2', 120, '((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver)', '')

Revision history for this message
Cob @FPGLaurent (c-o-b) wrote :

As Anders Kaseorg, I click "Advanced Search".

Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

Effects -> Animations

BANG!!

Revision history for this message
NGAGE13 (ngage13) wrote :

ccsm-animations

  File "/usr/lib/python2.7/dist-packages/ccm/Pages.py", line 1304, in ShowPlugin
    pluginPage = PluginPage(plugin)
  File "/usr/lib/python2.7/dist-packages/ccm/Pages.py", line 128, in __init__
    groupPage = GroupPage(name, group)
  File "/usr/lib/python2.7/dist-packages/ccm/Pages.py", line 1380, in __init__
    sga = SubGroupArea(subGroupName, subGroup)
  File "/usr/lib/python2.7/dist-packages/ccm/Settings.py", line 1482, in __init__
    multiList.Read()
  File "/usr/lib/python2.7/dist-packages/ccm/Settings.py", line 132, in Read
    self._Read()
  File "/usr/lib/python2.7/dist-packages/ccm/Settings.py", line 759, in _Read
    self.Store.append(values)
TypeError: value is of wrong type for this column

Revision history for this message
r_u (rusyrusy) wrote :

fix this

rm .config/compiz-1/compizconfig/config

Revision history for this message
Anders Kaseorg (andersk) wrote :

r_u: Doesn’t work. Also, I still see this problem on a freshly created account.

Revision history for this message
lent (lent) wrote :

Seems similar to Bug #192389 (info also posted there).

Still crashes after "hiding" the config file.

lent@BlueUbuntu:~/.config/compiz-1/compizconfig$ mv config .config

Before the crash, the program rebuilds the config rebuilds as a shorter config file:

lent@BlueUbuntu:~/.config/compiz-1/compizconfig$ diff -c .config config
*** .config 2011-02-03 09:17:55.121334860 -0500
--- config 2011-02-17 11:10:56.429666595 -0500
***************
*** 1,7 ****
  [gnome_session]
  profile =

- [general]
- profile =
- integration = true
-
--- 1,3 ----
lent@BlueUbuntu:~/.config/compiz-1/compizconfig$

So r_u: 's solution doesn't work. And anyway programs shouldn't crash on bad config files. They should spit out an error messages somewhere (with enough information) and die in a controlled way. Even a message a log file helps. Rant over :-)

Revision history for this message
Anders Kaseorg (andersk) wrote :

You can see from the tracebacks that this is unrelated to bug #192389.

Revision history for this message
Omer Akram (om26er) wrote :

this is now fixed in Natty. Thanks Sam.

Changed in compizconfig-settings-manager (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.