pycompile should give better error message in from_package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
crash after startup
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: python-minimal 2.7.2-1ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-6-generic i686
Architecture: i386
Date: Sat Jul 23 01:12:59 2011
ExecutablePath: /usr/bin/pycompile
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/pycompile -p python-
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: python-defaults
Title: pycompile crashed with Exception in from_package(): cannot get content of python-
UpgradeStatus: Upgraded to oneiric on 2011-07-16 (6 days ago)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in python-defaults (Ubuntu): | |
importance: | Undecided → Medium |
please run:
$ ls -l /var/lib/ dpkg/info/ python- ubuntuone- control- panel.* dpkg/info/ python- ubuntuone- control- panel.list dpkg/info/ python- ubuntuone- control- panel.md5sums dpkg/info/ python- ubuntuone- control- panel.postinst dpkg/info/ python- ubuntuone- control- panel.prerm
-rw-r--r-- 1 root root 4341 Feb 23 03:13 /var/lib/
-rw-r--r-- 1 root root 2310 Feb 22 23:12 /var/lib/
-rwxr-xr-x 1 root root 180 Feb 22 23:11 /var/lib/
-rwxr-xr-x 1 root root 297 Feb 22 23:11 /var/lib/
I assume that the .list file has size 0 or is missing at all. It would be nice if pycompile could give a better diagnostic