bzr should either depend on python2.5 or remove python2.5 specific code from postinst

Bug #63157 reported by Ondřej Surý
6
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

without python2.5 postinst has UnicodeError(s):

$ sudo dpkg --configure -a
Setting up bzr (0.11~rc2-0ubuntu3) ...
Compiling /usr/lib/python2.5/site-packages/bzrlib/tests/blackbox/test_status.py ...
Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",)
Compiling /usr/lib/python2.5/site-packages/bzrlib/tests/test_rio.py ...
Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",)
Compiling /usr/lib/python2.5/site-packages/bzrlib/tests/test_testament.py ...
Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",)
Compiling /usr/lib/python2.5/site-packages/bzrlib/tests/test_trace.py ...
Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",)
pycentral: pycentral pkginstall: error byte-compiling files (380)
pycentral pkginstall: error byte-compiling files (380)
dpkg: error processing bzr (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bzr

with python2.5 installed it runs just fine.

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

Ondřej,

Thanks a lot for reporting this bug. Can you verify if you have python2.5-minimal installed, and report ?

Revision history for this message
Johan Kiviniemi (ion) wrote :

Exactly the same problem here.

pn python2.5 <none> (no description available)
ii python2.5-minimal 2.5-0ubuntu1 A minimal subset of the Python language (version 2.5)

Martin Pool (mbp)
Changed in bzr:
status: Unconfirmed → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

python2.5 (2.5-2ubuntu1) edgy; urgency=low

  * Move unicodedata extension into python2.5-minimal. Ubuntu #63157.

please recheck with this version.

Changed in bzr:
status: Confirmed → Needs Info
Revision history for this message
Johan Kiviniemi (ion) wrote :

That seems to have fixed it, thanks.

Changed in bzr:
status: Needs Info → 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.