package python3.2 3.2.3-0ubuntu3 failed to install/upgrade: EOFError when byte-compiling standard library

Bug #1004993 reported by Dany
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

i'm new in ubuntu, i don't really know if i did sth wrong or it's really a package issue, please help

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python3.2 3.2.3-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Uname: Linux 3.0.0-17-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sun May 27 03:11:42 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: python3.2
Title: package python3.2 3.2.3-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dany (aoun-dan) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Relevant part of the log:

Setting up python3.2 (3.2.3-0ubuntu3) ...
Traceback (most recent call last):
  File "/usr/lib/python3.2/py_compile.py", line 187, in <module>
    sys.exit(main())
  File "/usr/lib/python3.2/py_compile.py", line 179, in main
    compile(filename, doraise=True)
  File "/usr/lib/python3.2/py_compile.py", line 111, in compile
    with tokenize.open(file) as f:
  File "/usr/lib/python3.2/tokenize.py", line 344, in open
    encoding, lines = detect_encoding(buffer.readline)
  File "/usr/lib/python3.2/tokenize.py", line 332, in detect_encoding
    encoding = find_cookie(second)
  File "/usr/lib/python3.2/tokenize.py", line 304, in find_cookie
    codec = lookup(encoding)
  File "/usr/lib/python3.2/encodings/__init__.py", line 98, in search_function
    level=0)
EOFError: EOF read where not expected

summary: - package python3.2 3.2.3-0ubuntu3 failed to install/upgrade:
- ErrorMessage: subprocess installed post-installation script returned
- error exit status 1
+ package python3.2 3.2.3-0ubuntu3 failed to install/upgrade: EOFError
+ when byte-compiling standard library
Revision history for this message
Matthias Klose (doko) wrote :

this might be an upgrade error, which has nothing to do with python3.2 itself. please run apt-get autoclean, and retry the installation/upgrade. If that doesn't help, re-install python3.2 and python3.2-minimal

affects: python3.2 (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
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.