Your message dated Fri, 25 Oct 2024 06:33:58 +0000
with message-id <[email protected]>
and subject line Bug#996035: fixed in kthresher 1.4.1-3
has caused the Debian Bug report #996035,
regarding AttributeError: 'NoneType' object has no attribute 'section'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
996035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996035
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kthresher
Version: 1.4.1-2

Hello,

kthresher does not remove old kernel, --dry-run fails with:

# kthresher --dry-run
INFO: Attempting to read /etc/kthresher.conf.
INFO: Options found: ['include'].
INFO: Valid setting found "include"
INFO:   include = /etc/kthresher.d/*.conf
INFO: Options: {'dry_run': True, 'headers': False, 'keep': 1, 'purge': False, 
'verbose': False, 'include': '/etc/kthresher.d/*.conf'}
INFO: ----- DRY RUN -----
INFO: Running kernel is linux-image-5.10.0-9-amd64 v[5.10.70-1]
Traceback (most recent call last):
 File "/usr/bin/kthresher", line 33, in <module>
   sys.exit(load_entry_point('kthresher==1.4.1', 'console_scripts', 
'kthresher')())
 File "/usr/lib/python3/dist-packages/kthresher.py", line 481, in main
   kthreshing(purge=False, headers=options["headers"], keep=options["keep"])
 File "/usr/lib/python3/dist-packages/kthresher.py", line 275, in kthreshing
   section = pkg.candidate.section or ''
AttributeError: 'NoneType' object has no attribute 'section'

This is apparently caused by installed package (minecraft-launcher) that has
no Section: defined.

While I agree that the package probably should have Section: header,
I believe kthresher should not crash in such case.


--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.

--- End Message ---
--- Begin Message ---
Source: kthresher
Source-Version: 1.4.1-3
Done: Darshaka Pathirana <[email protected]>

We believe that the bug you reported is fixed in the latest version of
kthresher, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Darshaka Pathirana <[email protected]> (supplier of updated kthresher package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 24 Oct 2024 15:41:57 +0200
Source: kthresher
Architecture: source
Version: 1.4.1-3
Distribution: unstable
Urgency: medium
Maintainer: Darshaka Pathirana <[email protected]>
Changed-By: Darshaka Pathirana <[email protected]>
Closes: 996035 1083455
Changes:
 kthresher (1.4.1-3) unstable; urgency=medium
 .
   * [89e60f5] Add Drop-distutils patch
   * [5602680] Add Fix AttributeError: 'NoneType' object has no attribute
     'section' patch. Thanks to Matus UHLAR for the bug report (Closes: #996035)
   * [2dd07fd] Add salsa-ci.yml
   * [093540d] pkg_resources doesn't seem to be used (Closes: #1083455)
   * [f266dda] Add autopkgtest support
   * [2417b48] Update autopkgtest dry-run
   * [4d9f16f] Update debian/watch file
   * [9f0b141] Bump standards version to 4.7.0 (no changes) +
     Update copyright year
Checksums-Sha1:
 373ccc4c147dcd7107523c1964fe508081959618 1970 kthresher_1.4.1-3.dsc
 ed77c207ab6b542a66381b7204acf26759de7c2a 4412 kthresher_1.4.1-3.debian.tar.xz
 1718f68805519bce577fdb1a617dd73a36b89a11 6541 kthresher_1.4.1-3_amd64.buildinfo
Checksums-Sha256:
 0b41d6d54085f8a7d1b3cf168ff3929a6795d3b7028b4b9020c54556828614cf 1970 
kthresher_1.4.1-3.dsc
 9c4e8161d9e5c79c8cc259ce3d889c33a255b0f5b002f80e6b51b0d1ba55c59a 4412 
kthresher_1.4.1-3.debian.tar.xz
 df431bb212944b76245c4d929d6698104e01b60bcf1d4151430f86f78796eefa 6541 
kthresher_1.4.1-3_amd64.buildinfo
Files:
 2b3e94cabc2ab3ccd3277616c828a01e 1970 admin optional kthresher_1.4.1-3.dsc
 53b4afbe27b29c1673c57fd8eec87cb7 4412 admin optional 
kthresher_1.4.1-3.debian.tar.xz
 66268e658391ae10175fd942a346f53b 6541 admin optional 
kthresher_1.4.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEM8yxNkAa/shDo4djlqh4crfqNzcFAmcbNm4ACgkQlqh4crfq
Nzd7yQ//RnyJw7kmPYaHOZ9VNyxXbAE++0Rivc2p2/CEMu7t5bui1/ID41gEsAl2
JPJq60J0T9OftLY40He7CcHREyih89y9QHFvC8iqp4Jl9EgfCp8yzs8s6StyoYsG
D85JUIVSxbg6TflDmUDNya+PYu/x0S857qzDK+gld+UIJKPqW5hPr2YMWQUm292l
0kFfi/QO74dwMDLjaMNHIyPhzJDEqLj+2gVABY+bgmYaZqIkZ25JLbSWp5ZPjdFH
5ZQF713np452b3+jKkDwJsFSblJAful5O+bRi05T/nv//eVTj8lsE7xcVDilTQ7O
wL4PZqpBPaISZTLSL0JrxtoZIpDt/ZawARjVAx0lSpM7eYdCjC8W2CfubA8Fb73i
hFqu8uMqX6hO8jDU6XynWDRV32SdsJJ7XPV6az7EXArfZ59HnabVq8ubhaH2GpUM
PMXpyFwr9xEYwHX2oqVkXwwr9ePg7DQSNtFmD6fKOb34OQZWWDDlxRXeL2AEHEUt
agXgXxf7paX9L/tAJJFdS1b/0GmMziNOvpBZ/mNATJA5FEDt2r27JEPk5Un2ADwS
W3v/ItVUFIHY30OJwFwK/Cor+Pjq1C77dFdgilGBr95QexAmzi29I71LNHFjvzVf
F1brflfoirnjkkb7R64E2mDzGIZH/BxrkLHV6kMJB5xhWPymUT8=
=dJRH
-----END PGP SIGNATURE-----

Attachment: pgpWL44Gm2nMq.pgp
Description: PGP signature


--- End Message ---

Reply via email to