[Dextrose] Dextrose os300py on XO-1; Touchpad CP module does not display

Walter Bender walter.bender at gmail.com
Fri Jul 30 07:05:29 EDT 2010


On Fri, Jul 30, 2010 at 1:48 AM, Gary C Martin
<garycmartin at googlemail.com> wrote:
> Hi Dextroseans,
>
> Bug: Clicking on the Touchpad icon in the CP does not display the module, just the top of the CP redraws with the cancel and OK widgets. Tested on a XO-1 release with the dual capacitive/restive touch pad. Here's the traceback from the shell.log.
>
> /usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py:121: Warning: cannot register existing type `SugarEventIcon'
>  type_register(cls, namespace.get('__gtype_name__'))
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/gui.py", line 331, in __select_option_cb
>    self.show_section_view(option)
>  File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/gui.py", line 220, in show_section_view
>    globals(), locals(), ['view'])
>  File "/usr/share/sugar/extensions/cpsection/touchpad/view.py", line 32, in <module>
>    class TouchpadEventIcon(gtk.EventBox):
>  File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 67, in __init__
>    cls._type_register(cls.__dict__)
>  File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 121, in _type_register
>    type_register(cls, namespace.get('__gtype_name__'))
> RuntimeError: could not create new GType: SugarEventIcon (subclass of GtkEventBox)
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/gui.py", line 331, in __select_option_cb
>    self.show_section_view(option)
>  File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/gui.py", line 220, in show_section_view
>    globals(), locals(), ['view'])
>  File "/usr/share/sugar/extensions/cpsection/touchpad/view.py", line 32, in <module>
>    class TouchpadEventIcon(gtk.EventBox):
>  File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 67, in __init__
>    cls._type_register(cls.__dict__)
>  File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 121, in _type_register
>    type_register(cls, namespace.get('__gtype_name__'))
> RuntimeError: could not create new GType: SugarEventIcon (subclass of GtkEventBox)
>
> Regards,
> --Gary

I've not tried the latest bits, but the touchpad control is being
removed from the CP and moved to the Frame. BTW, it should only appear
on gen-1 XO 1 hardware.

-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Dextrose mailing list