[Sugar-devel] [Bastien] helpfr.xo does not launch on F11 on XO-1

Bastien bastienguerry at googlemail.com
Tue Jul 21 10:39:01 EDT 2009


Hi Sayamindu,

thans in advance for your help.

The original Help activity repo is here:
  http://git.sugarlabs.org/projects/help

The derived Helpfr activity is here:
  http://git.sugarlabs.org/projects/helpfr

They both rely on the same Browse, and this part of the code need to 
be updated.  Below is a backtrace as sent by Mikus, would could not
run Helpfr on devxo-1.

Thanks again!

/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
DEBUG:xpcom:Python Factory creating ModuleLoader
1247467117.933329 DEBUG xpcom: Python Factory creating ModuleLoader
/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
/usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:62: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  message = self.message
DEBUG:xpcom:'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
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/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 92, in loadModule
    return self._getCOMModuleForLocation(aFile)
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 97, in _getCOMModuleForLocation
    raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
1247467118.139909 DEBUG xpcom: 'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
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/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 92, in loadModule
    return self._getCOMModuleForLocation(aFile)
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 97, in _getCOMModuleForLocation
    raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
DEBUG:xpcom:'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
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/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 92, in loadModule
    return self._getCOMModuleForLocation(aFile)
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 97, in _getCOMModuleForLocation
    raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
1247467118.181640 DEBUG xpcom: 'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
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/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 92, in loadModule
    return self._getCOMModuleForLocation(aFile)
  File "/usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py", line 97, in _getCOMModuleForLocation
    raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
1247467119.907606 DEBUG root: *** Act cb3255512f5a8ef08fc71cf1f4c3a39f5231f572, mesh instance None, scope private
1247467119.909691 DEBUG root: Creating a jobject.
1247467119.918920 DEBUG root: datastore.write
1247467120.042148 DEBUG root: dbus_helpers.create: ade6bd02-a1f9-4076-9a0c-deaceb1f950c
1247467120.044597 DEBUG root: Written object ade6bd02-a1f9-4076-9a0c-deaceb1f950c to the datastore.
1247467120.804306 DEBUG root: ('Setup widget', None)
1247467120.813707 WARNING root: No gtk.AccelGroup in the top level window.
1247467120.836314 DEBUG root: ('Setup widget', None)
1247467120.857215 WARNING root: No gtk.AccelGroup in the top level window.
1247467120.901403 DEBUG root: ('Setup widget', <gtk.Button object at 0x9ce0874 (GtkButton at 0x9b6c660)>)
1247467120.926419 DEBUG root: ('Setup widget', <gtk.Button object at 0x9ce0f04 (GtkButton at 0x9b6c6d8)>)
1247467120.965092 DEBUG root: ('Setup widget', <gtk.Button object at 0x9ce25cc (GtkButton at 0x9b6c750)>)
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 21, in <module>
    main.main()
  File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 140, in main
    create_activity_instance(activity_constructor, activity_handle)
  File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 34, in create_activity_instance
    activity = constructor(handle)
  File "/home/soas/Activities/Helpfr.activity/helpactivity.py", line 50, in __init__
    toolbar = Toolbar(self._web_view)
  File "/home/soas/Activities/Helpfr.activity/helpactivity.py", line 93, in __init__
    self._web_view.web_progress.addProgressListener(self._listener, mask)
  File "/usr/lib/python2.6/site-packages/hulahop/webview.py", line 262, in get_web_progress
    return self.doc_shell.queryInterface(interfaces.nsIWebProgress)
  File "/usr/lib/python2.6/site-packages/hulahop/webview.py", line 259, in get_doc_shell
    return requestor.getInterface(interfaces.nsIDocShell)
  File "<XPCOMObject method 'getInterface'>", line 3, in getInterface
xpcom.Exception: -2147467262 (-2147467262)
1247467121.019617 DEBUG root: _cleanup_temp_files


-- 
 Bastien


More information about the Sugar-devel mailing list