Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70389 - [arch-signoff] stack trace when signed-off package is not installed locally
Attached to Project:
Arch Linux
Opened by Geert Hendrickx (ghen) - Friday, 09 April 2021, 15:13 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 09 April 2021, 19:19 GMT
Opened by Geert Hendrickx (ghen) - Friday, 09 April 2021, 15:13 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 09 April 2021, 19:19 GMT
|
DetailsDescription:
arch-signoff throws the following stacktrace on attempt to signoff a package not installed on the local machine. $ signoff -s grub Traceback (most recent call last): File "/usr/bin/signoff", line 33, in <module> sys.exit(load_entry_point('arch-signoff==0.5.1', 'console_scripts', 'signoff')()) File "/usr/lib/python3.9/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3.9/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.9/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.9/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.9/site-packages/signoff/__init__.py", line 402, in main warn_if_outdated(signoff_pkg, local_pkg, colorize) File "/usr/lib/python3.9/site-packages/signoff/__init__.py", line 278, in warn_if_outdated if local_pkg.version != signoff_pkg["version"]: AttributeError: 'NoneType' object has no attribute 'version' (my primary machine is UEFI and does not have grub, but I validated the package on another machine) I would expect this to work when adding -u (uninstalled), but it still throws the same stack trace. Additional info: * package version(s) arch-signoff 0.5.1-2 |
This task depends upon

One case is fixed in https://gitlab.archlinux.org/archlinux/arch-signoff/-/commit/94aacc0a7f1a80d41b3785b53673aaba40417872

Can you make it possible to still signoff a package with -u ?

That's not as easy to implement nicely, so I'll have to think about it more.

This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.