#898398 Fails with "incompatible character encodings: ASCII-8BIT and UTF-8"

Package:
ruby-soap4r
Source:
ruby-soap4r
Submitter:
Stéphane Glondu
Date:
2026-01-29 16:14:05 UTC
Severity:
important
Tags:
#898398#5
Date:
2018-05-11 05:54:51 UTC
From:
To:
Dear Maintainer,

Since a few days, the cron.daily job of apt-listbugs fails with the following message:

/etc/cron.daily/apt-listbugs:
/usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:701:in `block (4 levels) in display_bugs': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in `block in each_by_category'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:67:in `each'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:67:in `each_by_category'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:680:in `block (3 levels) in display_bugs'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:676:in `each'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:676:in `block (2 levels) in display_bugs'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:675:in `each'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:675:in `block in display_bugs'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:674:in `each'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:674:in `display_bugs'
	from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:402:in `view'
	from /usr/sbin/apt-listbugs:618:in `<main>'

Cheers,

#898398#10
Date:
2018-05-11 17:12:45 UTC
From:
To:
Hello Stéphane!
Thanks for your bug report.

Could you please paste the content of file
/etc/apt/preferences.d/apt-listbugs ?

It seems to me that the issue you are experiencing is the same
as #749193, but I would like to check that this is actually the case.

Please let me know.

#898398#17
Date:
2018-05-15 10:56:48 UTC
From:
To:
It turns out the bug disappeared by itself...

Currently, it is:

It looks like it.

Cheers,

#898398#22
Date:
2018-05-15 22:52:52 UTC
From:
To:
Maybe the bug that had non-ASCII UTF-8 characters in the subject line
was fixed or downgraded in the meanwhile?

You should be able to figure out which one, by digging
in /var/backups/apt-listbugs.preferences*

Could you please take a look?
[...]

Thanks for confirming.
I will later reassign and merge...

#898398#27
Date:
2018-05-16 02:19:20 UTC
From:
To:
Le 16/05/2018 à 00:52, Francesco Poli a écrit :

Yes. I think the culprit is this one:

Cheers,

#898398#32
Date:
2018-05-16 21:50:01 UTC
From:
To:
Control: tags -1 - moreinfo
Control: reassign -1 ruby-soap4r 2.0.5-3
Control: affects -1 + apt-listbugs
Control: forcemerge 749193 -1
[...]

  $ apt-listbugs -y -q -B 897018 list texlive-latex-extra/2018.20180416-1
  critical bugs of texlive-latex-extra (→ 2018.20180416-1) <Resolved in some Version>
   b1 - #897018 - texlive-latex-extra: \MakeAutoQuote{»}{«} does not work any more (Fixed: texlive-extra/2018.20180505-1)
  Summary:
   texlive-latex-extra(1 bug)
  $ LANGUAGE=fr apt-listbugs -y -q -B 897018 list texlive-latex-extra/2018.20180416-1
  bogues de gravité critical sur texlive-latex-extra (→ 2018.20180416-1) <Résolus dans une version donnée>
  Traceback (most recent call last):
          12: from /usr/bin/apt-listbugs:618:in `<main>'
          11: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:402:in `view'
          10: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:674:in `display_bugs'
           9: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:674:in `each'
           8: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:675:in `block in display_bugs'
           7: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:675:in `each'
           6: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:676:in `block (2 levels) in display_bugs'
           5: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:676:in `each'
           4: from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:680:in `block (3 levels) in display_bugs'
           3: from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:67:in `each_by_category'
           2: from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:67:in `each'
           1: from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in `block in each_by_category'
  /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:701:in `block (4 levels) in display_bugs': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)



I am reassigning and merging.
I hope this bug can be fixed soon.

Bye.