[sugar] upstream APIs freeze?

Jani Monoses jani
Mon Sep 17 04:50:53 EDT 2007


Marco Pesenti Gritti wrote:
> On 9/17/07, Jani Monoses <jani at ubuntu.com> wrote:
>> I'm asking because the turtleart and record activities do not finish
>> launching in jhbuild and seeing they are included in the built image
>> I thought some other patches fix them.
> 
> It would be interesting to see the logs for these...
> 
> Marco

Both seem to fail to find or use their private modules:

TurtleArt:
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activityfactoryservice.py", 
line 115, in create
     activity = self._constructor(activity_handle)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/share/activities/TurtleArt.activity/TurtleArtActivity.py", 
line 44, in __init__
     ta.init(canvas, activity.get_bundle_path(),self)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/share/activities/TurtleArt.activity/ta.py", 
line 542, in init
     turtle.init(window,turtlecanvas, turtle_spr, bgcolor)
AttributeError: 'module' object has no attribute 'init'



Record:

   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/share/sugar/bin/sugar-activity-factory", 
line 27, in <module>
     activityfactoryservice.run_with_args(sys.argv)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activityfactoryservice.py", 
line 153, in run_with_args
     run(options.bundle_path)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activityfactoryservice.py", 
line 175, in run
     bundle.activity_class)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activityfactoryservice.py", 
line 88, in __init__
     module = __import__(module_name)
   File 
"/home/jani/hack/olpc/sugar/sugar-jhbuild/build/share/activities/Record.activity/RecordActivity.py", 
line 34, in <module>
     from ui import UI
ImportError: cannot import name UI




More information about the Sugar-devel mailing list