pycompile should give better error message in from_package

Bug #814996 reported by Removed by request
40
This bug affects 3 people
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
ProcVersionSignature: Ubuntu 3.0.0-6.7-generic 3.0.0-rc7
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
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycompile -p python-ubuntuone-control-panel
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/pycompile', '-p', 'python-ubuntuone-control-panel']
SourcePackage: python-defaults
Title: pycompile crashed with Exception in from_package(): cannot get content of python-ubuntuone-control-panel
UpgradeStatus: Upgraded to oneiric on 2011-07-16 (6 days ago)
UserGroups:

Revision history for this message
Removed by request (removed3500789) wrote :
tags: removed: need-duplicate-check
Changed in python-defaults (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Matthias Klose (doko) wrote :

please run:

$ ls -l /var/lib/dpkg/info/python-ubuntuone-control-panel.*
-rw-r--r-- 1 root root 4341 Feb 23 03:13 /var/lib/dpkg/info/python-ubuntuone-control-panel.list
-rw-r--r-- 1 root root 2310 Feb 22 23:12 /var/lib/dpkg/info/python-ubuntuone-control-panel.md5sums
-rwxr-xr-x 1 root root 180 Feb 22 23:11 /var/lib/dpkg/info/python-ubuntuone-control-panel.postinst
-rwxr-xr-x 1 root root 297 Feb 22 23:11 /var/lib/dpkg/info/python-ubuntuone-control-panel.prerm

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

information type: Private → Public
summary: - pycompile crashed with Exception in from_package(): cannot get content
- of python-ubuntuone-control-panel
+ pycompile should give better error message in from_package
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in python-defaults (Ubuntu):
status: New → Confirmed
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.