python-xpcom uninstallable; superceded by xulrunner-1.9; please remove from archive

Bug #365319 reported by Brian Murray
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xulrunner (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: xulrunner

It's not possible to install python-xpcom on Jaunty since it depends on python < 2.6.

ProblemType: Bug
Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 9.04
Package: python-xpcom None [modified: /var/lib/dpkg/info/python-xpcom.list]
ProcEnviron:
 SHELL=/bin/zsh
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: xulrunner
Uname: Linux 2.6.28-11-generic x86_64
UnreportableReason: This is not a genuine Ubuntu package

Revision history for this message
Andrew Tipton (kiwidrew) wrote :

Just FYI, it appears that the xulrunner-1.9 package now includes the Python XPCOM bindings:

$ export PYTHONPATH=/usr/lib/xulrunner-1.9.0.11/python
$ /usr/lib/xulrunner-1.9.0.11/run-mozilla.sh python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xpcom
>>>

Which would seem to render the python-xpcom package obsolete. It'd be helpful if the package description included a note about this...

Revision history for this message
Michael (michaelnt) wrote :

Just to confirm this here, i.e.

sudo apt-get install python-xpcom

The following packages have unmet dependencies.
  python-xpcom: Depends: python (< 2.6) but 2.6.2-0ubuntu1 is to be installed
E: Broken packages

dpkg-query -l python
ii python 2.6.2-0ubuntu1 An interactive high-level object-oriented language (default version)
dpkg-query -l python2.5
ii python2.5 2.5.4-1ubuntu4 An interactive high-level object-oriented language (version 2.5)

This directory does contain the bindings but they're not on the standard python path /usr/lib/xulrunner-1.9.0.13/python

Steve Beattie (sbeattie)
summary: - python-xpcom requires python << 2.6
+ python-xpcom uninstallable; superceded by xulrunner-1.9; please remove
+ from archive
Revision history for this message
Steve Beattie (sbeattie) wrote :

python-xpcom is built from the xulrunner 1.8 source, which is gradully being pulled from the archive (see bug 352968). The only rdepends on python-xpcom is sugar-web-activity (see bug 459532).

Changed in xulrunner (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
dirakx (dirakx) wrote :

installing xulrunner-1.9.1 doesnt get python-xpcom on it, (this is on lucid setup)
from python i get

 Python 2.6.4+ (r264:75706, Jan 22 2010, 12:15:17)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xpcom
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named xpcom
>>>

so xurlrunner doesnt have the python bindings in it.

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 365319] Re: python-xpcom uninstallable; superceded by xulrunner-1.9; please remove from archive

Please see Bug #480407. PyXPCOM was removed from the main tree so it
needs to be packaged separately.

On 01/25/2010 02:41 PM, dirakx wrote:
> installing xulrunner-1.9.1 doesnt get python-xpcom on it, (this is on lucid setup)
> from python i get
>
> Python 2.6.4+ (r264:75706, Jan 22 2010, 12:15:17)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import xpcom
>>>>
> Traceback (most recent call last):
> File "<stdin>", line 1, in<module>
> ImportError: No module named xpcom
>
>>>>
> so xurlrunner doesnt have the python bindings in it.
>
>

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in xulrunner (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.