#5538 HIGH Update.: Every python activity emits errors when starting.

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 18 18:05:42 EST 2007


#5538: Every python activity emits errors when starting.
--------------------+-------------------------------------------------------
 Reporter:  cscott  |       Owner:  marco   
     Type:  defect  |      Status:  new     
 Priority:  high    |   Milestone:  Update.1
Component:  sugar   |     Version:          
 Keywords:          |    Verified:  0       
--------------------+-------------------------------------------------------
 Whenever 'import sugar.activity.activity' is done with security enabled,
 you get the following messages on stderr:
 {{{
 libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission
 denied
 libgnomevfs-WARNING **: gnome_vfs_init(): .gnome does not exist
 }}}

 We should avoid calling gnome_vfs_init() unless we are using it (and I do
 not believe we are).

 Further, in the log for every activity you get:
 {{{
 ERROR root: Error reading private key: [Errno 2] No such file or
 directory: '/activities/uid_to_home_dir/1004/.sugar/default/owner.key'
 }}}

 Again, we shouldn't be trying to load the owner.key file unless we need
 it.

 These errors make generated Pippy applications look very bad, and
 beginning programmers won't know that they aren't at fault.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5538>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list