[Sugar-devel] Problem downloading files using Browse Activity

Daniel Castelo dcastelo at plan.ceibal.edu.uy
Wed Feb 23 09:01:08 EST 2011


We have some problems using browse activity V120. We can't download files
attached in gmail (apparently happen with many sites)

The activity doesn't show any error message. If I read the log I get::

ERROR:xpcom:Unhandled exception calling 'int8 createChromeWindow(in
nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
    return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
    parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
1298464623.020300 ERROR xpcom: Unhandled exception calling 'int8
createChromeWindow(in nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
    return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
    parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
ERROR:xpcom:Unhandled exception calling 'int8 createChromeWindow(in
nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
    return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
    parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'
1298464625.116524 ERROR xpcom: Unhandled exception calling 'int8
createChromeWindow(in nsISomething, in uint32, out retval nsISomething);'
Traceback (most recent call last):
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py", line 277,
in _CallMethod_
    return 0, func(*params)
  File "/home/olpc/Activities/Browse.activity/browser.py", line 149, in
createChromeWindow
    parent_dom_window = parent.webBrowser.contentDOMWindow
AttributeError: 'NoneType' object has no attribute 'webBrowser'

I found this ticket http://bugs.sugarlabs.org/ticket/776

Have you got any idea?

Regards, Daniel


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcastelo at plan.ceibal.edu.uy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110223/331e6b08/attachment.html>


More information about the Sugar-devel mailing list