[pull-pkg] unnecessary crash report with ubuntutools.pullpkg.InvalidPullValueError in parse_pull(): Must specify --pull
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Focal |
Fix Released
|
Low
|
Unassigned | ||
Groovy |
Won't Fix
|
Low
|
Unassigned | ||
Hirsute |
Fix Released
|
Low
|
Unassigned |
Bug Description
When invoking the command without `--pull`, the command tells me "Must specify --pull" which is good. However, it also triggers crash file collection process as /var/crash/
$ pull-pkg my-package
Traceback (most recent call last):
File "/usr/bin/
PullPkg.main()
File "/usr/lib/
cls(*args, **kwargs).pull()
File "/usr/lib/
options = self.parse_
File "/usr/lib/
return self.parse_
File "/usr/lib/
options['pull'] = self.parse_
File "/usr/lib/
raise InvalidPullValu
ubuntutools.
$ grep Title: /var/crash/
Title: pull-pkg crashed with ubuntutools.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-dev-tools 0.176
ProcVersionSign
Uname: Linux 5.4.0-58-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Dec 19 16:28:49 2020
InstallationDate: Installed on 2020-03-22 (271 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200321)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)
committed fix to git: https:/ /git.launchpad. net/ubuntu- dev-tools/ commit/ ?id=b30df2b2277 5106bf7838309d6 9e4d652b600296