Devuan bug report logs - #679
Reportbug refuses to work with non utf8 charset

Package: python3-apt; Reported by: Klaus Ethgen <[email protected]>; Keywords: debian; merged with #659; Forwarded to https://bugs.debian.org/1003065; Maintainer for python3-apt is (unknown).
Merged 659 679 Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Set bug forwarded-to-address to 'https://bugs.debian.org/1003065'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
No longer marked as found in versions 11.5.0devuan1. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
bug reassigned from package 'reportbug' to 'python3-apt'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 679) by bugs.devuan.org; 26 May 2022 10:40:40 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 26 May 2022 10:40:39 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 8D77F6617F4
	for <[email protected]>; Thu, 26 May 2022 12:40:32 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1nuAus-0004eR-Tt
	for [email protected]; Thu, 26 May 2022 11:40:30 +0100
Received: (nullmailer pid 13483 invoked by uid 1000);
	Thu, 26 May 2022 10:40:54 -0000
Date: Thu, 26 May 2022 11:40:54 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Re: bug#679: Reportbug refuses to work with non utf8 charset
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <Yo6EsDqgOS/[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Yo6EsDqgOS/[email protected]>
X-Spam-Status: No, score=0.4 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED,
	RDNS_DYNAMIC,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Control: forcemerge 659 -1

On Wed, May 25, 2022 at 08:34:08PM +0100, Klaus Ethgen wrote:
> Am Mi den 25. Mai 2022 um 20:30 schrieb Mark Hindley:
> > Isn't this the same as bug #659 you reported?
> Ups, yes.

No problems. Merging.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Full text available.
Information forwarded to [email protected]:
bug#679; Package reportbug. Full text available.

Message received at [email protected]:


Received: (at 679) by bugs.devuan.org; 25 May 2022 19:31:37 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 25 May 2022 19:31:37 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id D92226617C6
	for <[email protected]>; Wed, 25 May 2022 21:30:18 +0200 (CEST)
Received: from mark by mx.hindley.org.uk with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1ntwi0-0007PT-Uk; Wed, 25 May 2022 20:30:17 +0100
Date: Wed, 25 May 2022 20:30:15 +0100
From: Mark Hindley <[email protected]>
To: Klaus Ethgen <[email protected]>, [email protected]
Subject: Re: bug#679: Reportbug refuses to work with non utf8 charset
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Klaus,

On Wed, May 25, 2022 at 02:18:53PM +0100, Klaus Ethgen wrote:
> Package: reportbug
> Version: 11.5.0devuan1
> Severity: normal
> 
> I have locales set to de_DE (note, without charset so this ist
> latin1/iso-8859-1).
> 
> When I want to use reportbug, I get the following error and reportbug
> fails:

Isn't this the same as bug #659 you reported?

Mark

Information forwarded to [email protected]:
bug#679; Package reportbug. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 25 May 2022 13:19:36 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 25 May 2022 13:19:35 +0000 (UTC)
Received: from tschil.ethgen.ch (tschil.ethgen.ch [5.9.7.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id B10196617BC
	for <[email protected]>; Wed, 25 May 2022 15:18:56 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.b="n6yG/ne6";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender:
	Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
	Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
	In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=kA8eSr6SV3v6K/oE7FEupnubkhYO5G2iD1rPDFb2FAo=; b=n6yG/ne6aWjbBmQcnftJoBM4XE
	uTIGd6FZJIl9LQzB6qmNLUBS/CeGI/FwyGM3gYL2dPwQWE98nqTBCgijDjr5UBRB2lJrvLmfMkaSv
	bUi976/YInU6QxwvMP3+OtSG+3/k0AWjbwm60vCcZuAAe67/8JMWk9XUUOW7byR5pleQX1UThEL0D
	sFIinKoZfyD8uFY916KaUygBz0ofpdxdhKGG58KYInJj8FByHwFTfqp6Vfp5do6Xw/nO/GJxm+n6K
	BLzh3YakojRn9vZK2YTQLzkI0c0Tv9fKoYcs2pbz11AebywUbdXQu0SED016iolOOMyaTfAgjid6S
	y8Vf/MPToU5WNZsC1xRXVIAxf8aDssndQFHQtlQlrmJsP4xPRSGG518U14dM5SZ/HrL/HIJGnFXee
	mwU6nUb3eDk/PSWMkCfA1A4/4K14FLYO/34SQz+OiKa3dTwedoUZt1tqvzqNu//g83y7vuSSKaTZh
	VYJFk9kx5+jwvdo69UDAoudABACNYo33t3qZaCyuVm0ERFiV+RY2FNHQSD0L9yIu+uwYMQ6zyeN2Y
	s7dkbO8U349n/9ekPy8WK2jeRW6XX5QLMYPMd0q5jVOFpMsOeu+aMFTZTSNn9CIXFoZfBoqbc6yzr
	7OalbaSiU+azEsqnPrfTI+y6CA99PUdGWZA0BQV6I=;
Received: from [192.168.17.4] (helo=ikki.ket)
	by tschil.ethgen.ch with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1ntqub-0000bW-9W; Wed, 25 May 2022 13:18:53 +0000
Received: from klaus by ikki.ket with local (Exim 4.95)
	(envelope-from <[email protected]>)
	id 1ntqub-0006na-3C;
	Wed, 25 May 2022 15:18:53 +0200
Date: Wed, 25 May 2022 14:18:53 +0100
From: Klaus Ethgen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: Reportbug refuses to work with non utf8 charset
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="g9DdFZRW/QbMXN8i"
Content-Disposition: inline
X-Reportbug-Version: 11.5.0devuan1
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,SPF_PASS,
	URIBL_BLOCKED autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org


--g9DdFZRW/QbMXN8i
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: reportbug
Version: 11.5.0devuan1
Severity: normal

I have locales set to de_DE (note, without charset so this ist
latin1/iso-8859-1).

When I want to use reportbug, I get the following error and reportbug
fails:
   UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 3: =
invalid continuation byte

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   SystemError: <class 'UnicodeDecodeError'> returned a result with an exce=
ption set

   The above exception was the direct cause of the following exception:

   Traceback (most recent call last):
     File "/usr/bin/reportbug", line 40, in <module>
       from reportbug import utils
     File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 100, in=
 <module>
       _apt_cache =3D apt.Cache()
     File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in __ini=
t__
       self.open(progress)
     File "/usr/lib/python3/dist-packages/apt/cache.py", line 214, in open
       self._cache =3D apt_pkg.Cache(progress)
   SystemError: <class 'apt_pkg.Cache'> returned a result with an exception=
 set

When I unset all locale settings, reportbug works somehow but wrongly
detect utf-8 charset. (Unset locales are ASCII only! No UTF-8 allowed!)

-- Package-specific info:
** Environment settings:
EDITOR=3D"vim"
PAGER=3D"less"
VISUAL=3D"vim"
EMAIL=3D"Klaus Ethgen <[email protected]>"
DEBFULLNAME=3D"Klaus Ethgen"
INTERFACE=3D"text"

** /home/klaus/.reportbugrc:
reportbug_version "2.20"
mode expert
ui text
realname "Klaus Ethgen"
email "[email protected]"

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 5.16.17 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TA=
INT_OOT_MODULE
Locale: LANG=3DC, LC_CTYPE=3DC.UTF-8 (charmap=3DUTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt                2.4.5devuan1
ii  python3            3.10.4-1+b1
ii  python3-reportbug  11.5.0devuan1
ii  sensible-utils     0.0.17

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
ii  debconf                                    1.5.79
ii  debsums                                    3.0.2
ii  dlocate                                    1.10
pn  emacs-bin-common                           <none>
ii  exim4-daemon-light [mail-transport-agent]  4.95-6
ii  file                                       1:5.41-4
ii  gnupg                                      2.2.35-2
ii  python3-urwid                              2.1.2-2+b1
pn  reportbug-gtk                              <none>
ii  xdg-utils                                  1.1.3-4.1

Versions of packages python3-reportbug depends on:
ii  apt                2.4.5devuan1
ii  file               1:5.41-4
ii  python3            3.10.4-1+b1
ii  python3-apt        2.3.0+b1
ii  python3-debian     0.1.43
ii  python3-debianbts  3.2.1
ii  python3-requests   2.27.1+dfsg-1
ii  sensible-utils     0.0.17

python3-reportbug suggests no packages.

-- Configuration Files:
/etc/reportbug.conf changed:
submit
mutt
no-query-bts
cc
config-files
compress
sign gpg
verify
mode expert
mbox_reader_cmd "mutt -f %s"


-- no debconf information
Gru=DF
   Klaus
--=20
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

--g9DdFZRW/QbMXN8i
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmKOLLwACgkQpnwKsYAZ
9qxviQwAnrEqKNM5StOpwWRT8izGWPFkV/wZ082o51FDobxM7OPNqoEZ3365hoXi
1KjOCxvqR/SJXLaddHRPF5tqO1f/tSjOF5I0C4jShK5GPSNfeslNXzrtgFtSLsL8
a73slTc2rKP5GaAZpwo1ocH82svjdLuAIH9o+aEoCVYbBy+jim6QyqSKQRxWj92r
C8zFmRoC4BD9CJWIUHKT/sWS8f55GJ8rvTkT9PNY/1XH1g3e6YD8py+wX8XRPknV
mTERFxrbLtD+SPSfOQXZALIU1sIWnXttWmxYacZje49LIJ1Y9lVcKlePwh0QCCZe
GlcSER4kuPj1naT1CIm3Agg+BS1qOPbdKoK0H7r9M7tGQkVc+/hqIX9UCZCtHdNm
nBllGOkba9BjW7RUdCUacqOfJqKYnRaF6B7QFatQ1kpcM0f9hWIGm/jIkvW43x5D
k3lJk6uqLPdE8Frlo2TFgjUC3+nKfdyqgG/sm+D0RhRamIX0ywN15dZtFpMDRQjY
+eawm0NT
=pXX5
-----END PGP SIGNATURE-----

--g9DdFZRW/QbMXN8i--

Acknowledgement sent to Klaus Ethgen <[email protected]>:
New bug report received and forwarded. Copy sent to Mark Hindley <[email protected]>. Full text available.
Report forwarded to [email protected], Mark Hindley <[email protected]>:
bug#679; Package reportbug. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 04:39:02 UTC