Hi, On Tue, 12 Nov 2024 20:58:05 +0900 Kentaro HAYASHI <ken...@xdump.org> wrote: > It seems that given helpitem's package data is empty. > > {"type"=>"testing-autorm", > "hash"=>"0eb6b1e5e7f22c5d6211adb3e29791d6", > "source"=>"dhcpcanon", > "packages"=>nil, > "removal_time"=>1732643103, > "bugs"=>["1084132"]} > > So the following condition raises an error: > > if packages & hi['packages'] != [] > ... > end > > dhcpcanon was already removed from unstable and testing, and > also stable. It seems irregular case. > > Regards,
Something like this kind of patch will solve this issue: diff -u /usr/bin/how-can-i-help how-can-i-help --- /usr/bin/how-can-i-help 2024-05-13 04:10:39.000000000 +0900 +++ how-can-i-help 2024-11-12 21:04:29.011485104 +0900 @@ -235,6 +235,7 @@ helpitems_filtered << hi end elsif hi['type'] == 'testing-autorm' + next unless hi['packages'] if packages & hi['packages'] != [] helpitems_filtered << hi end Regards,