#1126592 apt-listbugs: error returning message about incompatible character encodings using LANG=fr_BE.UTF-8

Package:
ruby-soap4r
Source:
ruby-soap4r
Submitter:
Jean-Marc
Date:
2026-01-29 16:13:57 UTC
Severity:
normal
Tags:
#1126592#5
Date:
2026-01-29 11:28:37 UTC
From:
To:
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

#1126592#10
Date:
2026-01-29 11:37:59 UTC
From:
To:
Please, find attached the command's outpout in debug mode.

Regards,

#1126592#15
Date:
2026-01-29 16:05:18 UTC
From:
To:
On Thu, 29 Jan 2026 12:28:37 +0100 Jean-Marc wrote:

[...]

Hello Jean-Marc,
thanks for your bug report.
[...]

Yes, you appear to have encountered bug [#749193].

[#749193]: <https://bugs.debian.org/749193>

See especially messages [20] and [33].

[20]: <https://bugs.debian.org/749193#20>
[33]: <https://bugs.debian.org/749193#33>

I am reassigning the bug report to package ruby-soap4r and merging.
I hope this bug can be fixed, although the ruby-soap4r library has seen
very little development lately...

Bye.