checkbox-gtk fails to launch in oneiric with the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/checkbox/reactor.py", line 74, in fire
results.append(handler(*args, **kwargs))
File "/usr/share/checkbox/plugins/user_interface.py", line 54, in run
interface = interface_class(self.title, self.data_path)
File "/usr/lib/python2.7/dist-packages/checkbox_gtk/gtk_interface.py", line 83, in __init__
color = Gdk.color_parse("#F0EBE2")[1]
TypeError: 'Color' object does not support indexing
After some investigation, it turns out that in natty the os such a command is:
(True, <Gdk.Color(red=61680, green=60395, blue=58082)>)
while in oneiric is:
<Gdk.Color(red=61680, green=60395, blue=58082)>
Hence, to fix the problem in oneiric the following line:
color = Gdk.color_parse("#F0EBE2")[1]
has to be replaced with:
color = Gdk.color_parse("#F0EBE2")
checkbox-gtk fails to launch in oneiric with the following traceback:
Traceback (most recent call last): python2. 7/dist- packages/ checkbox/ reactor. py", line 74, in fire append( handler( *args, **kwargs)) checkbox/ plugins/ user_interface. py", line 54, in run class(self. title, self.data_path) python2. 7/dist- packages/ checkbox_ gtk/gtk_ interface. py", line 83, in __init__ parse(" #F0EBE2" )[1]
File "/usr/lib/
results.
File "/usr/share/
interface = interface_
File "/usr/lib/
color = Gdk.color_
TypeError: 'Color' object does not support indexing
After some investigation, it turns out that in natty the os such a command is: red=61680, green=60395, blue=58082)>)
(True, <Gdk.Color(
while in oneiric is: red=61680, green=60395, blue=58082)>
<Gdk.Color(
Hence, to fix the problem in oneiric the following line: parse(" #F0EBE2" )[1]
color = Gdk.color_
has to be replaced with: parse(" #F0EBE2" )
color = Gdk.color_