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

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Sun Apr 5 05:08:54 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):

 Seems to be caused by Mozilla initializing libgnome implicitly so it can
 use gnome-vfs to query for icons to display the files.

 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:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list