[Bugs] #456 HIGH: Browse hangs when trying to open file:///home/...

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Sun Apr 5 07:04:09 EDT 2009


#456: Browse hangs when trying to open file:///home/...
-------------------------+--------------------------------------------------
    Reporter:  walter    |          Owner:  erikos
        Type:  defect    |         Status:  new   
    Priority:  High      |      Milestone:  0.84  
   Component:  Browse    |        Version:  0.83.x
    Severity:  Blocker   |     Resolution:        
    Keywords:            |   Distribution:  Ubuntu
Status_field:  Assigned  |  
-------------------------+--------------------------------------------------

Comment(by tomeu):

 Replying to [comment:3 tomeu]:
 > Seems to be caused by Mozilla initializing libgnome implicitly so it can
 use gnome-vfs to query for icons to display the files.

 Confirmed: https://bugzilla.mozilla.org/show_bug.cgi?id=486925

 > We can workaround this issue by initializing lbgnome ourselves in
 webactivity.py:
 >
 > {{{
 > diff --git a/webactivity.py b/webactivity.py
 > index a0ee38f..e163d9c 100644
 > --- a/webactivity.py
 > +++ b/webactivity.py
 > @@ -31,6 +31,9 @@ import sqlite3
 >  import cjson
 >  import gconf
 >
 > +import gnome
 > +gnome.init('Browse-dummy', 'version-dummy')
 > +
 >  from sugar.activity import activity
 >  from sugar.graphics import style
 >  import telepathy
 > }}}

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


More information about the Bugs mailing list