[Bug 111833] python-xpcom import error
XUE Can
xuecan at gmail.com
Wed May 2 17:25:10 UTC 2007
Public bug reported:
Binary package hint: python-xpcom
I install python-xpcom in Ubuntu 7.04.
When I try 'from xpcom import components', it doesn't work:
$ python
Python 2.5.1c1 (release25-maint, Apr 12 2007, 21:00:25)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from xpcom import components
/var/lib/python-support/python2.5/xpcom/xpt.py:72: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
import xpcom._xpcom
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/xpcom/components.py", line 39, in <module>
import xpt
File "/var/lib/python-support/python2.5/xpcom/xpt.py", line 72, in <module>
import xpcom._xpcom
File "/var/lib/python-support/python2.5/xpcom/server/__init__.py", line 40, in <module>
from policy import DefaultPolicy
File "/var/lib/python-support/python2.5/xpcom/server/policy.py", line 38, in <module>
from xpcom import xpcom_consts, _xpcom, client, nsError, ServerException, COMException
File "/var/lib/python-support/python2.5/xpcom/client/__init__.py", line 40, in <module>
from xpcom import xpt, COMException, nsError
ImportError: cannot import name xpt
>>>
** Affects: xulrunner (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
python-xpcom import error
https://bugs.launchpad.net/bugs/111833
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for xulrunner in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list