[Bugs] #2155 UNSP: Browse-115 stops when pop-up tab closes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Aug 12 17:24:24 EDT 2010


#2155: Browse-115 stops when pop-up tab closes
------------------------------------------+---------------------------------
    Reporter:  christophd                 |          Owner:  lucian                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  0.88.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 My university's webmail system (Horde) uses a popup for composing e-mails
 which Browse-115 correctly displays in a tab. However upon sending the
 e-mail not just the composition tab is closed but the whole Browse
 activity quits.

 I have been consistently able to reproduce this on my XO-1 running build
 353pyg and Browse-115.

 Cairo version:

 cairo-1.8.8-1.fc11.i586

 Browse log:

 /home/olpc/Activities/Browse.activity/webactivity.py:26:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import sha
 returning
 /home/olpc/.sugar/default/org.laptop.WebActivity/data/gecko/prefs.js for
 key NS_APP_PREFS_50_FILE
 1281485529.468977 WARNING root: .has_key() is deprecated, use 'in'
 1281485530.215058 WARNING root: No gtk.AccelGroup in the top level window.
 1281485530.254288 WARNING root: No gtk.AccelGroup in the top level window.
 1281485530.462426 WARNING root: No gtk.AccelGroup in the top level window.
 1281485530.506957 WARNING root: No gtk.AccelGroup in the top level window.
 1281485530.566313 WARNING root: No gtk.AccelGroup in the top level window.
 1281485530.592393 WARNING root: No gtk.AccelGroup in the top level window.
 /usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning:
 BaseException.message has been deprecated as of Python 2.6
   self.message = message
 ** (sugar-activity:3013): DEBUG: Got client ID
 "1097f2008c4ca8dc5128148553380484700000018290001"
 ** (sugar-activity:3013): DEBUG: Setting initial properties
 ** (sugar-activity:3013): DEBUG: Received SaveYourself(SmSaveLocal,
 !Shutdown, SmInteractStyleNone, !Fast) in state idle
 ** (sugar-activity:3013): DEBUG: Sending SaveYourselfDone(True) for
 initial SaveYourself
 ** (sugar-activity:3013): DEBUG: Received SaveComplete message in state
 save-yourself-done
 /home/olpc/Activities/Browse.activity/webtoolbar.py:69: GtkWarning:
 gtk_entry_set_text: assertion `text != NULL' failed
   self.props.text = text
 1281485792.947926 WARNING root: No gtk.AccelGroup in the top level window.
 1281485793.015581 WARNING root: No gtk.AccelGroup in the top level window.
 1281485793.018288 WARNING root: No gtk.AccelGroup in the top level window.
 1281485793.172707 WARNING root: No gtk.AccelGroup in the top level window.
 1281485793.175616 WARNING root: No gtk.AccelGroup in the top level window.
 1281485793.178127 WARNING root: No gtk.AccelGroup in the top level window.
 /usr/lib/python2.6/site-packages/hulahop/webview.py:56: Warning: invalid
 uninstantiatable type `(null)' in cast to `GtkWidget'
   self.web_view.get_toplevel().destroy()
 /usr/lib/python2.6/site-packages/hulahop/webview.py:56: GtkWarning:
 gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
   self.web_view.get_toplevel().destroy()
 /usr/lib/python2.6/site-packages/hulahop/webview.py:56: GtkWarning:
 gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
   self.web_view.get_toplevel().destroy()
 /usr/lib/python2.6/site-packages/hulahop/webview.py:56: GtkWarning:
 gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed
   self.web_view.get_toplevel().destroy()
 Traceback (most recent call last):
   File "/home/olpc/Activities/Browse.activity/webtoolbar.py", line 438, in
 _reload_session_history
     for menu_item in palette.menu.get_children():
 AttributeError: 'NoneType' object has no attribute 'menu'
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py",
 line 108, in obj_set_property
     prop.setter(self, value)
   File "/usr/lib/python2.6/site-packages/sugar/activity/activity.py", line
 365, in set_active
     self.save()
   File "/usr/lib/python2.6/site-packages/sugar/activity/activity.py", line
 600, in save
     preview = self.get_preview()
   File "/usr/lib/python2.6/site-packages/sugar/activity/activity.py", line
 548, in get_preview
     width, height = pixmap.get_size()
 AttributeError: 'NoneType' object has no attribute 'get_size'

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2155>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list