Public bug reported: 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/_usr_bin_pull-pkg.1000.crash and gives unnecessary traceback as follows.
$ pull-pkg my-package Traceback (most recent call last): File "/usr/bin/pull-pkg", line 29, in <module> PullPkg.main() File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 96, in main cls(*args, **kwargs).pull() File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 354, in pull options = self.parse_args(args) File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 178, in parse_args return self.parse_options(vars(newparser.parse_args(args))) File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 292, in parse_options options['pull'] = self.parse_pull(options['pull']) File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 182, in parse_pull raise InvalidPullValueError("Must specify --pull") ubuntutools.pullpkg.InvalidPullValueError: Must specify --pull $ grep Title: /var/crash/_usr_bin_pull-pkg.1000.crash Title: pull-pkg crashed with ubuntutools.pullpkg.InvalidPullValueError in parse_pull(): Must specify --pull ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-dev-tools 0.176 ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73 Uname: Linux 5.4.0-58-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 CasperMD5CheckResult: skip 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) PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ubuntu-dev-tools UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ubuntu-dev-tools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of MOTU, which is subscribed to ubuntu-dev-tools in Ubuntu. https://bugs.launchpad.net/bugs/1908770 Title: [pull-pkg] unnecessary crash report with ubuntutools.pullpkg.InvalidPullValueError in parse_pull(): Must specify --pull To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1908770/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs