Opened 12 years ago

Closed 10 years ago

#776 closed defect (wontfix)

browse image download doesn't work

Reported by: walter Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
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 (10)

comment:1 Changed 12 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.

comment:2 Changed 12 years ago by walter

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

comment:3 Changed 12 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'

comment:4 Changed 12 years ago by erikos

  • Bug Status changed from Unconfirmed to Needinfo

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

comment:5 Changed 12 years ago by erikos

  • Resolution set to incomplete
  • Status changed from new to closed

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

comment:6 Changed 11 years ago by sascha_silbe

  • Component changed from Browse to SoaS
  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

comment:7 Changed 10 years ago by lucian

  • Resolution incomplete deleted
  • Status changed from closed to reopened

comment:8 Changed 10 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'

comment:9 Changed 10 years ago by RafaelOrtiz

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

comment:10 Changed 10 years ago by pbrobinson

  • Resolution set to wontfix
  • Status changed from reopened to closed

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.