Ticket #776 (closed defect: wontfix)

Opened 4 years ago

Last modified 2 years ago

browse image download doesn't work

Reported by: walter Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Sugar on a Stick (SoaS) Version:
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Needinfo

Description

Using Browse (108) to save an image to the Journal didn't work on SoaS. Copying to the clipboard did work.

(Running SoaS-Beta-1 on a Thinkpad x60s)

Change History

Changed 4 years ago by walter

Alas, I didn't have access to the log files... there was no indication to the user that the downloads failed.

Changed 4 years ago by walter

Just confirmed that download works as expected within jhbuild. I'll try to reproduce the error.

Changed 4 years ago by walter

The download palette at the top of the browse window does not appear. A log is in line below:

/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead

import sha

1240266600.594145 WARNING root: No gtk.AccelGroup in the top level window.
1240266600.597530 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:3082): DEBUG: Got client ID "10a704d95ce8a7662124026660525319000000029380000"
** (sugar-activity:3082): DEBUG: Setting initial properties
** (sugar-activity:3082): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:3082): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
** (sugar-activity:3082): DEBUG: Received SaveComplete message in state save-yourself-done
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.

** (sugar-activity:3082): WARNING **: Failed to send buffer

** (sugar-activity:3082): WARNING **: Failed to send buffer
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.

** (sugar-activity:3082): WARNING **: Failed to send buffer

** (sugar-activity:3082): WARNING **: Failed to send buffer
MozPlugger: Error: Failed to execute m4.
MozPlugger: Error: Failed to execute m4.

** (sugar-activity:3082): WARNING **: Failed to send buffer

** (sugar-activity:3082): WARNING **: Failed to send buffer
1240266741.557966 ERROR root: Cannot update the palette position.
1240266741.806266 ERROR root: Cannot update the palette position.
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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266744.879395 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266748.387924 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266750.400092 ERROR root: Cannot update the palette position.
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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266752.703049 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266758.802266 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266761.894456 ERROR root: Cannot update the palette position.
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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266764.163421 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

AttributeError: 'NoneType' object has no attribute 'webBrowser'
1240266795.237178 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 "/usr/share/sugar/activities/Browse.activity/browser.py", line 211, in createChromeWindow

parent_dom_window = parent.webBrowser.contentDOMWindow

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

Changed 4 years ago by erikos

  • status_field changed from Unconfirmed to Needinfo

Is this still the case? Looks like an edge case to me.

Changed 4 years ago by erikos

  • status changed from new to closed
  • resolution set to incomplete

I can not reproduce. Feel free to reopen when you can still reproduce.

Changed 3 years ago by sascha_silbe

  • distribution changed from SoaS to Unspecified
  • component changed from Browse to SoaS

Bulk change distribution=SoaS -> component=SoaS

Changed 2 years ago by lucian

  • status changed from closed to reopened
  • resolution incomplete deleted

Changed 2 years ago by Dcastelo

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'

Changed 2 years ago by RafaelOrtiz

Would be nice to test with a newer or patched xulrunner.

Changed 2 years ago by pbrobinson

  • status changed from reopened to closed
  • resolution set to wontfix

This release of Sugar on a Stick is end of life. Please test against the latest version of SoaS available at  http://spins.fedoraproject.org/soas/

If the problem still exists please open a new bug report detailing the issues in the new release or post to the mailing list.

Please join the mailing list at  http://lists.sugarlabs.org/listinfo/soas for assistance or questions about Sugar on a Stick.

Note: See TracTickets for help on using tickets.