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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Jul 20 07:46:55 EDT 2012


#2155: Browse-115 stops when pop-up tab closes
------------------------------------------+---------------------------------
    Reporter:  christophd                 |          Owner:  lucian                     
        Type:  defect                     |         Status:  assigned                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  hulahop                    |        Version:  0.88.x                     
    Severity:  Unspecified                |       Keywords:  Dextrose                   
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by ebordon):

 * cc: ebordon (added)


Comment:

 In Browse 129 on Dextrose 3 sugar 0.94 I still having a crash when I try
 to logging on Ceibal's hot spot. In sugar-sweets 0.94 I have the same
 problem.

 ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
 Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
 Registering 'Python.TestComponent' (py_test_component.py)
 Registering '@mozilla.org/network/protocol/about;1?what=python'
 (pyabout.py)
 returning
 /home/olpc/.sugar/default/org.laptop.WebActivity/data/gecko/prefs.js for
 key NS_APP_PREFS_50_FILE
 1342725469.395581 WARNING root: KeepButton has been deprecated since Sugar
 0.94 and should not be used in newly written code.
 1342725469.418647 WARNING root: No gtk.AccelGroup in the top level window.
 1342725469.454027 WARNING root: No gtk.AccelGroup in the top level window.
 1342725469.923829 WARNING root: No gtk.AccelGroup in the top level window.
 1342725469.953081 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.031296 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.058840 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.347297 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.365538 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.408373 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.411202 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.413420 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.442708 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.445776 WARNING root: No gtk.AccelGroup in the top level window.
 1342725470.447958 WARNING root: No gtk.AccelGroup in the top level window.
 ** (sugar-activity:1623): DEBUG: Got client ID
 "10ad6655c24555e30813427254727669900000009210000"
 ** (sugar-activity:1623): DEBUG: Setting initial properties
 ** (sugar-activity:1623): DEBUG: Received SaveYourself(SmSaveLocal,
 !Shutdown, SmInteractStyleNone, !Fast) in state idle
 ** (sugar-activity:1623): DEBUG: Sending SaveYourselfDone(True) for
 initial SaveYourself
 ** (sugar-activity:1623): DEBUG: Received SaveComplete message in state
 save-yourself-done
 /home/olpc/Activities/Browse.activity/webtoolbar.py:74: GtkWarning:
 IA__gtk_entry_set_text: assertion `text != NULL' failed
   self.props.text = text
 1342725575.283533 WARNING root: Interface {c175a596-ee13-420a-
 aa74-13ad3a14deb1} not implemented by this instance:
 <hulahop.webview._Chrome instance at 0xae0e3cc>
 1342725575.288682 WARNING root: Interface {c175a596-ee13-420a-
 aa74-13ad3a14deb1} not implemented by this instance: <XPCOM component
 '<unknown>' (implementing nsIWebBrowser)>
 /usr/lib/python2.7/site-packages/hulahop/webview.py:56: Warning: invalid
 uninstantiatable type `<invalid>' in cast to `GtkWidget'
   self.web_view.get_toplevel().destroy()
 /usr/lib/python2.7/site-packages/hulahop/webview.py:56: GtkWarning:
 IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
   self.web_view.get_toplevel().destroy()
 /usr/lib/python2.7/site-packages/hulahop/webview.py:56: GtkWarning:
 IA__gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
   self.web_view.get_toplevel().destroy()
 1342725607.249914 WARNING root: Interface {c175a596-ee13-420a-
 aa74-13ad3a14deb1} not implemented by this instance:
 <hulahop.webview._Chrome instance at 0xaddd26c>
 1342725607.255197 WARNING root: Interface {c175a596-ee13-420a-
 aa74-13ad3a14deb1} not implemented by this instance: <XPCOM component
 '<unknown>' (implementing nsIWebBrowser)>
 /usr/lib/python2.7/site-packages/hulahop/webview.py:56: Warning: invalid
 cast from `(null)' to `GtkWidget'
   self.web_view.get_toplevel().destroy()
 1342725613.634166 WARNING root: No gtk.AccelGroup in the top level window.
 1342725613.674934 WARNING root: No gtk.AccelGroup in the top level window.
 1342725613.811571 WARNING root: No gtk.AccelGroup in the top level window.
 1342725613.814664 WARNING root: No gtk.AccelGroup in the top level window.
 1342725613.816955 WARNING root: No gtk.AccelGroup in the top level window.
 /usr/lib/python2.7/site-packages/hulahop/webview.py:56: Warning: invalid
 uninstantiatable type `(null)' in cast to `GtkWidget'
   self.web_view.get_toplevel().destroy()
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /usr/lib/python2.7/site-packages/gtk-2.0/gobject/__init__.pyo in
 obj_set_property(self=<WebActivity object at 0xaaa325c (SugarActivity at
 0xa0cf970)>, pspec=<GParamBoolean 'active'>, value=False)
      99             prop = getattr(cls, name, None)
     100             if prop:
 --> 101                 prop.setter(self, value)
     102         cls.do_set_property = obj_set_property
     103

 /usr/lib/python2.7/site-packages/sugar/activity/activity.pyo in
 set_active(self=<WebActivity object at 0xaaa325c (SugarActivity at
 0xa0cf970)>, active=False)
     434             self._active = active
     435             if not self._active and self._jobject:
 --> 436                 self.save()
     437
     438     active = gobject.property(

 /usr/lib/python2.7/site-packages/sugar/activity/activity.pyo in
 save(self=<WebActivity object at 0xaaa325c (SugarActivity at 0xa0cf970)>)
     669             self.metadata['buddies'] =
 cjson.encode(self._get_buddies())
     670
 --> 671         preview = self.get_preview()
     672         if preview is not None:
     673             self.metadata['preview'] = dbus.ByteArray(preview)

 /usr/lib/python2.7/site-packages/sugar/activity/activity.pyo in
 get_preview(self=<WebActivity object at 0xaaa325c (SugarActivity at
 0xa0cf970)>)
     617         pixmap = self.canvas.get_snapshot((-1, -1, 0, 0))
     618
 --> 619         width, height = pixmap.get_size()
     620         pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, 0, 8,
 width, height)
     621         pixbuf = pixbuf.get_from_drawable(pixmap,
 pixmap.get_colormap(),

 AttributeError: 'NoneType' object has no attribute 'get_size'

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


More information about the Bugs mailing list