package python3-cxx not installed failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #730144 reported by GNAServicesInc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycxx (Ubuntu)
Fix Released
Undecided
Julian Taylor

Bug Description

Fails to configure on install
E: python3-cxx: subprocess installed post-installation script returned error exit status 1
E: python3-cxx-dev: dependency problems - leaving unconfigured

Setting up python3-cxx (6.2.0-4build1) ...
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 336, in <module>
    main()
  File "/usr/bin/py3compile", line 331, in main
    sys.stderr.write(child_output)
TypeError: must be str, not bytes
dpkg: error processing python3-cxx (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Setting up python3-dev (3.2~rc1-2) ...
dpkg: dependency problems prevent configuration of python3-cxx-dev:
 python3-cxx-dev depends on python3-cxx; however:
  Package python3-cxx is not configured yet.
dpkg: error processing python3-cxx-dev (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 python3-cxx
 python3-cxx-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python3-cxx (6.2.0-4build1) ...
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 336, in <module>
    main()
  File "/usr/bin/py3compile", line 331, in main
    sys.stderr.write(child_output)
TypeError: must be str, not bytes
dpkg: error processing python3-cxx (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python3-cxx-dev:
 python3-cxx-dev depends on python3-cxx; however:
  Package python3-cxx is not configured yet.
dpkg: error processing python3-cxx-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3-cxx
 python3-cxx-dev

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: python3-cxx (not installed)
Uname: Linux 2.6.38-gna-zulu-mike-charlie x86_64
Architecture: amd64
Date: Sun Mar 6 05:23:41 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110121)
SourcePackage: pycxx
Title: package python3-cxx (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-03-06 (0 days ago)

Related branches

Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :
Julian Taylor (jtaylor)
Changed in pycxx (Ubuntu):
assignee: nobody → Julian Taylor (jtaylor)
Julian Taylor (jtaylor)
Changed in pycxx (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Taylor (jtaylor) wrote :

the -w flag was forgotten when using the 2to3 tool in the build.
will upload a fix to debian and sync shortly.

Julian Taylor (jtaylor)
Changed in pycxx (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks.
This is now fixed in debian and we just need to sync 6.2.0-6 from incoming.debian.org.

Revision history for this message
Michael Vogt (mvo) wrote :

The sync is not super high urgency as the version in natty has a fix for this as well.

Revision history for this message
Michael Vogt (mvo) wrote :

(but the -n addition is worth the sync)

Julian Taylor (jtaylor)
Changed in pycxx (Ubuntu):
status: In Progress → Fix Released
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.