Dear Maintainer,
I got error using apt-listbugs with my default LANG set up.
If I run it using LANG=C, it works:
$ env LANG=C apt-listbugs list apt
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (-> ) <Outstanding>
b1 - #1078608 - apt update silently leaves old index data
grave bugs of apt (-> ) <Resolved in some Version>
b2 - #1111554 - apt - daily job spams "Tried to start delayed item […], but failed" (Fixed: apt/3.1.8)
Merged with: 1124940
Summary:
apt(2 bugs)
Using my default LANG env variable (fr_BE.UTF-8), it crashes:
$ env | grep ^LANG=
LANG=fr_BE.UTF-8
$ apt-listbugs list apt
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait
bogues de gravité serious sur apt (→ ) <En attente de traitement>
b1 - #1078608 - apt update silently leaves old index data
bogues de gravité grave sur apt (→ ) <Résolus dans une version donnée>
/usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:920:in `+': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:920:in `block (4 levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:69:in `block in each_by_category'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in `each_by_category'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:899:in `block (3 levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:895:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:895:in `block (2 levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:894:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:894:in `block in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:893:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:893:in `display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:538:in `view'
from /usr/bin/apt-listbugs:254:in `<main>'
Maybe because of the 3-dots character in bug #1111554 description.
Once report available in BTS, I'll drop another mail with second command
in debug mode.
Regards,
Jean-Marc