[sugar] Re: Creating a Sugar activity

Dan Williams dcbw
Tue Jan 16 08:01:44 EST 2007


On Tue, 2007-01-16 at 04:11 -0300, Gonzalo Delgado wrote:
> Hi there, I'm trying to create a basic activity for sugar. I followed
> the instructions from the wiki ("Sugar Activity Tutorial" and
> "Activity bundles") and got sugar to display an icon in the frame for
> my activity. But, when I click on that icon, I get:
> 
> Introspect error: Process
> /home/gonzalo/codigo/OLPC/sugar-jhbuild/build/bin/sugar-activity-factory
> exited with status 1

This error usually indicates that there was either a syntax error, or
something that gets executed when the file is imported (like another
import at the top) was incorrect.  It means that the activity didn't
even get to the mainloop.

> Am I missing something here? Is there a way to get sugar more verbose?

Unfortunately, not during launch.  dbus-launch doesn't yet provide a
facility to redirect stdout/stderr from an activated service to
anywhere.

Dan




More information about the Sugar-devel mailing list