package python-mode 1:6.0.12-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1205272 reported by Douglas Mandell
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
python-mode (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Every time I install updates, this comes up again.

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: python-mode 1:6.0.12-2
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Fri Jul 26 03:15:30 2013
DuplicateSignature: package:python-mode:1:6.0.12-2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-04-05 (112 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: python-mode
Title: package python-mode 1:6.0.12-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to raring on 2013-04-29 (88 days ago)

Revision history for this message
Douglas Mandell (demandell) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Setting up python-mode (1:6.0.12-2) ...
Install python-mode for emacs
Install python-mode for emacs23
install/python-mode: Handling install for emacsen flavor emacs23
Wrote /usr/share/emacs23/site-lisp/python-mode/doctest-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/python-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/completion/pycomplete.elc
Install python-mode for xemacs21
install/python-mode: Handling install for emacsen flavor xemacs21
Compiling /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.elc
Compiling /usr/share/xemacs21/site-lisp/python-mode/python-mode.el...
While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/python-mode/python-mode.el:
  !! File error (("Cannot open load file" "rx"))
>>Error occurred processing python-mode.el: Cannot open load file: rx

Compiling /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.elc
Done
ERROR: install script from python-mode package failed
dpkg: error processing python-mode (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Do you actually use xemacs21? It doesn't look like python-mode is compatible with xemacs21.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-mode (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1205272] Re: package python-mode 1:6.0.12-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Am 06.03.2014 13:08, schrieb Launchpad Bug Tracker:
> Status changed to 'Confirmed' because the bug affects multiple users.
>
> ** Changed in: python-mode (Ubuntu)
> Status: New => Confirmed
>

It fails due to missing rx library

There was an effort at XEmacs porting that library

Maybe ask at <email address hidden>

Revision history for this message
Philipp Stephani (p-stephani2) wrote :

python-mode.el is already part of XEmacs (xemacs21-basesupport package). The package python-mode should not try to install its libraries for XEmacs.

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.