python-launchpadlib is missing python-simplejson dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpadlib (Debian) |
Fix Released
|
Unknown
|
|||
python-launchpadlib (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: apport
running 'apport-cli' in current ec2 instance results in:
$ apport-cli
Could not import module, is a package upgrade in progress? Error: No module named simplejson
This is fixed by:
apt-get install python-simplejson
I modified /usr/lib/
File "/usr/bin/
app = CLIUserInterface()
File "/usr/bin/
apport.
File "/usr/lib/
self.crashdb = get_crashdb(None)
File "/usr/lib/
m = __import_
File "/usr/lib/
from launchpadlib.
File "/usr/lib/
from lazr.restfulcli
File "/usr/lib/
import simplejson
ImportError: No module named simplejson
In short, I think that python-apport is missing a dependency on python-simplejson
ProblemType: Bug
Architecture: i386
CrashReports: 600:1000:
Date: Wed Jan 20 14:29:16 2010
DistroRelease: Ubuntu 10.04
Ec2AMI: ami-1b7d9072
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-60cb2609
Ec2Ramdisk: ari-537d903a
Package: python-apport 1.11-0ubuntu5 [modified: usr/share/
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
ProcVersionSign
SourcePackage: apport
Tags: lucid ec2-images
Uname: Linux 2.6.32-301-ec2 i686
Related branches
Changed in python-launchpadlib (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in python-launchpadlib (Debian): | |
status: | Unknown → Fix Committed |
Changed in python-launchpadlib (Debian): | |
status: | Fix Committed → Fix Released |
Apport itself doesn't need simplejson, but launchpadlib does. ATM it
Depends: python-simplejson | python (>= 2.6)
which is insufficient. It needs to drop the | python bit.
Python 2.6 does have a builtin json parser, but it has a different module name at least (and perhaps also a different API).