pull-lp-source crashed with ValueError in raw_decode(): Expecting object: line 1 column 5 (char 5)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
=== SRU ===
[IMPACT]
We use Debian's DDE service to resolve binary -> source packages. Occasionally it returns invalid data. We were already protecting against that in the almost-identical pull-debian-source, so this simply makes the same changes to pull-lp-source.
[Test case]
It's currently returning sane data, so this can't be tested. But pull-lp-source should still work.
[Regression potential]
This code path is only used when the user provided a name that wasn't a source package.
=== Bug Report ===
trying to download mysql-5.5, but mistakenly typed "mysql-server" I got this crash.
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: ubuntu-dev-tools 0.143
ProcVersionSign
Uname: Linux 3.5.0-16-generic i686
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu1
Architecture: i386
CheckboxSubmission: c4273c0f4f2b8d2
CheckboxSystem: a871981cb5bdf4d
Date: Mon Oct 1 23:15:49 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: ubuntu-dev-tools
Title: pull-lp-source crashed with ValueError in raw_decode(): Expecting object: line 1 column 5 (char 5)
UpgradeStatus: Upgraded to quantal on 2008-10-18 (1444 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev pulse pulse-access scanner tape users video
tags: | removed: need-duplicate-check |
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | New → Fix Committed |
importance: | Medium → Low |
description: | updated |
This bug was fixed in the package ubuntu-dev-tools - 0.144
---------------
ubuntu-dev-tools (0.144) experimental; urgency=low
[ Stefano Rivera ] dpkg-buildpacka ge to bzr bd, in case the user has question: Catch EOF and SIGINT on all input and bail out.
* Upload to experimental, due to the freeze
* submittodebian:
- Use dpkg-buildpackage instead of debuild. It really doesn't need to run
lintian twice.
- Use --include instead of --attach when not using reportbug's internal
MUA.
* submittodebian, sponsor-patch:
- Pass --builder=
configured a custom builder that doesn't do source builds (LP: #1019817)
* seeded-in-ubuntu Inform the user when we couldn't determine binary
packages built by a source package, as it most recently FTBFS.
* requestbackport:
- Avoid duplicate Reverse-Build-Deps when sources build binaries of the
same name.
- Explain that backports aren't to fix bugs.
* sponsor-patch: Don't fall over bugs targetted at the development release
(LP: #936014)
* ubuntutools.
(LP: #1037488)
* pull-lp-source: Catch errors parsing JSON we got from DDE (LP: #1059848)
* syncpackage, requestsync: Check the Release pocket if we can't find an
Ubuntu package in the requested pocket. (LP: #1069867)
[ Benjamin Drung ]
* seeded-in-ubuntu: State in error message that it takes a source package.
(LP: #1029155)
* sponsor-patch: Fix crash if Debian patch contains a slash.
[ Colin Watson ] series> -proposed.
* syncpackage: Default to <current_
-- Stefano Rivera <email address hidden> Mon, 29 Oct 2012 09:02:29 +0100