[Bugs] #350 UNSP: Pippy: Slideshow: Python module sugar.datastore not found

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Feb 13 19:40:18 EST 2009


#350: Pippy: Slideshow: Python module sugar.datastore not found
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  lfaraone                   
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Pippy                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |     Resolution:                             
    Keywords:                             |   Distribution:  Ubuntu                     
Status_field:  Unconfimed                 |  
------------------------------------------+---------------------------------

Comment(by sascha_silbe):

 > that module is in sugar-toolkit, wonder how pippy can start but that
 example cannot.
 Is Pippy somehow fiddling with the Python search path?

 "print sys.path" gives the following inside Pippy:
 {{{
 ['/home/sugar/.sugar/default/org.laptop.Pippy/tmp',
 '/home/sugar/.sugar/default/org.laptop.Pippy/tmp', '/home/sugar/sugar-
 jhbuild/install/share/sugar/activities/Pippy.activity/library',
 '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
 '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
 '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
 packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5
 /site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/var/lib
 /python-support/python2.5/gtk-2.0']
 }}}

 Inside "sugar-jhbuild shell" it is:
 {{{
 ['', '/home/sugar/sugar-jhbuild/install/lib64/python2.5/site-
 packages/gtk-2.0', '/home/sugar/sugar-jhbuild/install/lib/python2.5/site-
 packages', '/home/sugar/sugar-jhbuild/install/lib64/python2.5/site-
 packages', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
 '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
 '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
 packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5
 /site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/var/lib
 /python-support/python2.5/gtk-2.0']
 }}}

 As you see, two paths below the sugar-jhbuild install directory are
 missing.

 > Are you running it after running './sugar-jhbuild shell'?
 I'm running it from inside sugar-emulator. Is it possible to start
 Activities outside of sugar / sugar-emulator or did I misunderstand your
 question?

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/350#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list