[Bug 263173] [NEW] Sugar Browse fails on startup

Edward Cherlin echerlin at gmail.com
Sun Aug 31 03:41:46 BST 2008


Public bug reported:

Binary package hint: sugar-web-activity

Ubuntu Hardy 8.04
Browse installed from package sugar-web-activity 86-0ubuntu-1

When I click on the Browse icon to start it, it indicates that it is
starting, and then goes away rather than opening.

The log file, org.laptop.WebActivity-1.log, says

ImportError: libxul.so: cannot open shared object file: No such file or
directory

In fact, /usr/lib/xulrunner-1.9.0.1/libxul.so is present. Adding a
symlink from /usr/lib/libxul.so fixes this problem, but then,

ImportError: libxpcom.so: cannot open shared object file: No such file
or directory

In fact, /usr/lib/xulrunner-1.9.0.1/libxpcom.so is present. Adding a
symlink from /usr/lib/libxpcom.so fixes this problem, but then,

ImportError: libpyxpcom.so: cannot open shared object file: No such file
or directory

In fact, /usr/lib/xulrunner-1.9.0.1/libpyxpcom.so is present. Adding a
symlink from /usr/lib/libpyxpcom.so fixes this problem, but then,

ImportError: libsqlite3.so: cannot open shared object file: No such file
or directory

In fact, /usr/lib/sqlite3.0.8.6.so is present. Adding a symlink from
/usr/lib/sqlite3.so fixes this problem, but then,

ImportError: libmozjs.so: cannot open shared object file: No such file
or directory

In fact, /usr/lib/mozjs.so is present. Adding a symlink from
/usr/lib/mozjs.so fixes this problem.


But then, we get serious problems. From org.laptop.WebActivity-9.log:

Obtaining the module object from Python failed.

<type 'exceptions.AttributeError'>: 'module' object has no attribute 'NS_GetModule'
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Obtaining the module object from Python failed.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/server/__init__.py", line 82, in NS_GetModule
    import loader
  File "/var/lib/python-support/python2.5/xpcom/server/loader.py", line 74, in <module>
    class PythonComponentLoader:
  File "/var/lib/python-support/python2.5/xpcom/server/loader.py", line 75, in PythonComponentLoader
    _com_interfaces_ = components.interfaces.nsIComponentLoader
  File "/var/lib/python-support/python2.5/xpcom/components.py", line 103, in __getattr__
    return self._get_one(attr)
  File "/var/lib/python-support/python2.5/xpcom/components.py", line 153, in _get_one
    raise xpcom.COMException(nsError.NS_ERROR_NO_INTERFACE, "The interface '%s' does not exist" % (name,))
<class 'xpcom.Exception'>: 0x-7fffbffe (-2147467262)
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 147, in <module>
    create_activity_instance(constructor, handle)
  File "/usr/bin/sugar-activity", line 44, in create_activity_instance
    activity = constructor(handle)
  File "/usr/share/activities/Web.activity/webactivity.py", line 94, in __init__
    self._browser = Browser()
  File "/usr/share/activities/Web.activity/browser.py", line 76, in __init__
    WebView.__init__(self)
  File "/usr/lib/python2.5/site-packages/hulahop/webview.py", line 214, in __init__
    self.browser.containerWindow = self._chrome
TypeError: nsISupports has read-only attributes

** Affects: sugar-web-activity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Sugar Browse fails on startup
https://bugs.launchpad.net/bugs/263173
You received this bug notification because you are a member of Sugar
Team, which is subscribed to sugar-web-activity in ubuntu.

Status in “sugar-web-activity” source package in Ubuntu: New

Bug description:
Binary package hint: sugar-web-activity

Ubuntu Hardy 8.04
Browse installed from package sugar-web-activity 86-0ubuntu-1

When I click on the Browse icon to start it, it indicates that it is starting, and then goes away rather than opening. 

The log file, org.laptop.WebActivity-1.log, says 

ImportError: libxul.so: cannot open shared object file: No such file or directory

In fact, /usr/lib/xulrunner-1.9.0.1/libxul.so is present. Adding a symlink from /usr/lib/libxul.so fixes this problem, but then,

ImportError: libxpcom.so: cannot open shared object file: No such file or directory

In fact, /usr/lib/xulrunner-1.9.0.1/libxpcom.so is present. Adding a symlink from /usr/lib/libxpcom.so fixes this problem, but then,

ImportError: libpyxpcom.so: cannot open shared object file: No such file or directory

In fact, /usr/lib/xulrunner-1.9.0.1/libpyxpcom.so is present. Adding a symlink from /usr/lib/libpyxpcom.so fixes this problem, but then,

ImportError: libsqlite3.so: cannot open shared object file: No such file or directory

In fact, /usr/lib/sqlite3.0.8.6.so is present. Adding a symlink from /usr/lib/sqlite3.so fixes this problem, but then,

ImportError: libmozjs.so: cannot open shared object file: No such file or directory

In fact, /usr/lib/mozjs.so is present. Adding a symlink from /usr/lib/mozjs.so fixes this problem.


But then, we get serious problems. From org.laptop.WebActivity-9.log:

Obtaining the module object from Python failed.

<type 'exceptions.AttributeError'>: 'module' object has no attribute 'NS_GetModule'
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Obtaining the module object from Python failed.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/server/__init__.py", line 82, in NS_GetModule
    import loader
  File "/var/lib/python-support/python2.5/xpcom/server/loader.py", line 74, in <module>
    class PythonComponentLoader:
  File "/var/lib/python-support/python2.5/xpcom/server/loader.py", line 75, in PythonComponentLoader
    _com_interfaces_ = components.interfaces.nsIComponentLoader
  File "/var/lib/python-support/python2.5/xpcom/components.py", line 103, in __getattr__
    return self._get_one(attr)
  File "/var/lib/python-support/python2.5/xpcom/components.py", line 153, in _get_one
    raise xpcom.COMException(nsError.NS_ERROR_NO_INTERFACE, "The interface '%s' does not exist" % (name,))
<class 'xpcom.Exception'>: 0x-7fffbffe (-2147467262)
Creating an interface object to be used as a result failed

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 443, in MakeInterfaceResult
    return Component(ob, iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 229, in __init__
    self.QueryInterface(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 299, in QueryInterface
    self._remember_interface_info(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 272, in _remember_interface_info
    method_infos, getters, setters, constants = BuildInterfaceInfo(iid)
  File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 147, in BuildInterfaceInfo
    interface = xpt.Interface(iid)
  File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 83, in __init__
    item = iim.GetInfoForIID(iid)
<type 'exceptions.TypeError'>: Objects of type 'IID' can not be converted to an IID
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 147, in <module>
    create_activity_instance(constructor, handle)
  File "/usr/bin/sugar-activity", line 44, in create_activity_instance
    activity = constructor(handle)
  File "/usr/share/activities/Web.activity/webactivity.py", line 94, in __init__
    self._browser = Browser()
  File "/usr/share/activities/Web.activity/browser.py", line 76, in __init__
    WebView.__init__(self)
  File "/usr/lib/python2.5/site-packages/hulahop/webview.py", line 214, in __init__
    self.browser.containerWindow = self._chrome
TypeError: nsISupports has read-only attributes



More information about the Ubuntu-sugarteam mailing list