Devuan bug report logs - #659
Reportbug does not run with non-utf8 encodings anymore

Package: python3-apt; Reported by: Klaus Ethgen <[email protected]>; Keywords: debian; merged with #679; 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.

Message received at [email protected]:


Received: (at 659) by bugs.devuan.org; 30 Jan 2022 13:16:34 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 30 Jan 2022 13:16:34 +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 71E4266139F
	for <[email protected]>; Sun, 30 Jan 2022 14:15:09 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.b="EjcHwO0z";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
	Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=mmqPFieViUbN9CgfCsmjek/cwh9UorHYVkfT1dZw3Xo=; b=EjcHwO0znBlQYPVQKop6ZTUpZk
	wTLOio2XLJ0nDBbg1JGUp+0jZUCTL05rX2NwOatePe9Bwtd5esIClw1cl/x5eN9T4rxFiMktCJ7g6
	7P1zBXROo7bguCwtTa8SfhMAJz91RXoI+TtdMA8Cp9HVU2fW0Npkv2vFNylbYml9et8X3BbEaOyE2
	sxHVA+vxzWa0f6J5XC/CbtfCpe7o+e8Lelas8boRn/C/ufUJBNMjc003INYM3uWSGJaitoHA+9fTC
	HIYcDrIU416C+Y5hIUGCRht73FljFaN5Rrq2zVv5423QvMBnkS0w30U6yJ/+hL+bxoxGNOSxuHz0j
	B8isnjfZas1TtVCgRy7WhD613wLtOlLrmcO7gTter/mQyWCKOtV9G2NM3h5MbfeCwxkx3tF52GFsN
	4K4DtqiEsI/HbBbOlcY4YzLNdX46ixa0dtteEFs6RlOpHj146olqU9rtC0IrLDHefcFOJskm6iJt9
	OvDR/Xfx/EGvHU7cpb2w53M2tD2FAF8apV/Clevc8btoV4DzNiQ102Fia8RV8cSL7SQmyO4y1QR3N
	HEUiAxUC8X/Eamm/vPMMWsKRj6X0qHY2aADuT2EdxWGkv+QhwHdtU66oNENXW4FM9j3b3yL8DhyEI
	famvwQUH98JZpbdPQSNNtocki/VlIOVFMhAt943RM=;
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 1nEA2u-0008Tl-Sz; Sun, 30 Jan 2022 13:15:09 +0000
Received: from klaus by ikki.ket with local (Exim 4.95)
	(envelope-from <[email protected]>)
	id 1nEA2u-0005lB-Mt;
	Sun, 30 Jan 2022 14:15:08 +0100
Date: Sun, 30 Jan 2022 14:15:08 +0100
From: Klaus Ethgen <[email protected]>
To: Mark Hindley <[email protected]>
Cc: [email protected]
Subject: Re: bug#659: Reportbug does not run with non-utf8 encodings anymore
Message-ID: <[email protected]>
References: <YfZOrk5gLPHw/[email protected]>
 <YfZOrk5gLPHw/[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="cGPLOzQ9EkzSLiUB"
Content-Disposition: inline
In-Reply-To: <[email protected]>
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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


--cGPLOzQ9EkzSLiUB
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Hi Mark,

Am So den 30. Jan 2022 um 14:05 schrieb Mark Hindley:
> This appears to have been reported in Debian's BTS[1] and reassigned to
> python3-apt.

Ah, ok.

> Are you using de_DE@euro?

No. I live in a country that does not have Teuro. ;-)

> Does this reproduce?
>  
> > $ python3
> > >>> import locale
> > >>> locale.setlocale(locale.LC_ALL, "")
> > 'de_DE@euro'
> > >>> import apt
> > >>> c = apt.Cache()

For me that reproduce the bug. But the output is de_DE (without @euro).

But even with `LC_ALL=de_DE@euro python3` I get the error.

> > Setting LANG=de_DE@euro is not sufficient to trigger the problem, also
> > make sure LANGUAGE is not set.

I do not understand...

LANG is set to de_DE and LANGUAGE is set to de_DE:en on my system.

Regards
   Klaus
-- 
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

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

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

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmH2j1wACgkQpnwKsYAZ
9qyE7Qv/UQZ8vgGEcYCew7obRzQ74A17n7taORLTSm8viMIXbkD9YHDlg31hh8mm
wja1z3JO1csF0M4VRwemvd4z3yTDEJExo9AmOaue2Y06JjK1yfWJBnLU8D7+APdi
r6tqWsJbNO7NE2c7tnKinAoBBJ3gEKBVRn7deSfcXjd5xe+O0QmNYH6EVRJbJ+M5
sH+qfgAbCgj1gYVa77no4l02aljyZji/C/3BH3pnUy3pQRIbfPeiEL13ObQXfaJQ
U1BMiPHsHOh0SQ1549NVdgfyyfFczi0R0vEa7aONzQGcnDXE/7es4aCbFQRTkA1E
i3QEOBCr/nB6tKQ8JjeRSuhlHEnifLwBiaLISVIWUzJ9lj9jr/Jjmp2nQAsyy2QF
scnaCVQVXY0C4lpKt6JZYchNYWPt/BQMrMHG9oBVJuUseT1LL31/VNVy/+Z0pUDy
kJfQfUa6QKhn81B2iko/FvsOmZHsQnOrO4igSZu1nDniadmaBmsORiLT4b9aVJHp
IrBVry3a
=D0c2
-----END PGP SIGNATURE-----

--cGPLOzQ9EkzSLiUB--

Acknowledgement sent to Klaus Ethgen <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#659; Package python3-apt. 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.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
No longer marked as found in versions 11.3.0+devuan1. 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 659) by bugs.devuan.org; 30 Jan 2022 13:06:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 30 Jan 2022 13:06:02 +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 04E6066139E
	for <[email protected]>; Sun, 30 Jan 2022 14:05:14 +0100 (CET)
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 1nE9tJ-0007Cx-Jz; Sun, 30 Jan 2022 13:05:13 +0000
Received: (nullmailer pid 8205 invoked by uid 1000);
	Sun, 30 Jan 2022 13:05:13 -0000
Date: Sun, 30 Jan 2022 13:05:12 +0000
From: Mark Hindley <[email protected]>
To: Klaus Ethgen <[email protected]>, [email protected]
Subject: Re: bug#659: Reportbug does not run with non-utf8 encodings anymore
Message-ID: <[email protected]>
References: <YfZOrk5gLPHw/[email protected]>
 <YfZOrk5gLPHw/[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[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: reassign -1 python3-apt
Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/1003065

Klaus,

This appears to have been reported in Debian's BTS[1] and reassigned to
python3-apt.

Are you using de_DE@euro?

Does this reproduce?
 
> $ python3
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL, "")
> 'de_DE@euro'
> >>> import apt
> >>> c = apt.Cache()
> 
> Setting LANG=de_DE@euro is not sufficient to trigger the problem, also
> make sure LANGUAGE is not set.


Mark

[1]  https://bugs.debian.org/1003065


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

Message received at [email protected]:


Received: (at 659) by bugs.devuan.org; 30 Jan 2022 13:00:01 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 30 Jan 2022 13:00:01 +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 3913F66139E
	for <[email protected]>; Sun, 30 Jan 2022 13:59:56 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.b="Q2O7cfDc";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ethgen.de;
	 s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
	Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=vUGOshEV8alxQ8z05t4Hq6/vaikL96DjALRz4pK8pG8=; b=Q2O7cfDcOmp3E71MC6ARUgHVgX
	lSytCB2Uim/fq9OP0k9o8VBNC3gLCMwUQmkepr8m4GPj9dxA+8SxhnIJfALSMyzWyj+NeDuWsAM0O
	u5oG3CU+JV8wedYBhoTbO0lB+1DbzurGPksdSB7/7tge0pqgUrIjsu0TPQCc9LYLFf6gN2Y5lwFwN
	Ve8cSCOqHD206Of8k+YXV7JMsueI48dFDfIbJKSjwGZBONCukpnM0tE5E1FVrn6PYLUeS7N+ZF+Ia
	VtOf+xaCfylRSw+1F/eVDvxTjmER55HYweVWzBHmKkOQ/QTraNr+eIaWGPq9RhsW7cOCa+a1zcfNY
	GpJrnmNOpoS39ePnLZIu9waWO45Ybf3+2gd56XK6e7NlVLkpgR+TTdAfzEhiRvIflzFs9QV3MvwNj
	kft6tSNe7+rPA9UcjDaBv05Bxven+Zdz8ulrTnpluIURvwb0nKoULEz0wxpKJig7WdJlhPWTV7RwB
	b1rrCucehg5NnqRpND2WJRYjDv8V9D6B8dFl6a6akeUpYVbfNAtBr9j+EpawMH9xQiI8Lbwir3NO3
	yYTqPeOW7i8ClaUJNGSvVXpf3k7KSANb6ayzu8TcKPu82JbC9gqQ/kdG4FJ22V4QyMS9JyU9C5b18
	7/DwCAvknbqZmeFC1jhwcbfPBEzYHniB4b4vDubVE=;
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 1nE9oB-0008Ok-IB; Sun, 30 Jan 2022 12:59:55 +0000
Received: from klaus by ikki.ket with local (Exim 4.95)
	(envelope-from <[email protected]>)
	id 1nE9oB-0002uD-C2;
	Sun, 30 Jan 2022 13:59:55 +0100
Date: Sun, 30 Jan 2022 13:59:55 +0100
From: Klaus Ethgen <[email protected]>
To: Mark Hindley <[email protected]>
Cc: [email protected]
Subject: Re: bug#659: Reportbug does not run with non-utf8 encodings anymore
Message-ID: <[email protected]>
References: <YfZOrk5gLPHw/[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="VW8+1HDfippmZIdC"
Content-Disposition: inline
In-Reply-To: <[email protected]>
OpenPGP: id=79D0B06F4E20AF1C;
 url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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


--VW8+1HDfippmZIdC
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Hi,

Am So den 30. Jan 2022 um 13:51 schrieb Mark Hindley:
> On Sun, Jan 30, 2022 at 09:39:10AM +0100, Klaus Ethgen wrote:
> > Package: reportbug
> > Version: 11.3.0+devuan1
> > Severity: normal
> > 
> > Since some time it is not possible anymore to use reportbug on non-utf8
> > encoding (or non-ascii?)
> 
> What locale settings are you using?

de_DE (so latin1)

Regards
   Klaus
-- 
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

--VW8+1HDfippmZIdC
Content-Type: application/pgp-signature; name="signature.asc"

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

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmH2i8oACgkQpnwKsYAZ
9qx0+gwAkjZ45CE095giVi989HGyMxiAB3w7VNbBxH89zqlMOx4JEyBLWDwSFU7r
0qQyBF8KytFjT1tdRGWMLLlmqrWzSLt57NDXDhuC8SmXhlHQ5agpxSwYV4lyXALg
H/JX1b9Nfr5lUFpdAk98y2QXffooPDeonJLBI8DcOartSxlfB+5Ua1TR2ZWFU5y4
kVWAeB/u08DaeWEKWVLADPWLxKtr8CcuM/Yi6WcBQbSNgqDZ9xo4ZhQmvTCTcXyA
co+C8k2vpJ8w/r29rbhcDt+khx9NZJYbS04rMsBwGeBL8MTSFYrNnw+GKLnhiHK2
UemgMab7uiYf9F6UDhErljvoYPi20PlHzkqpQyx6cKuRJd3A1WOJcOFlMT7h89SG
P1bIpOlm0stlyltQY3pJindnW2JBN21DTwXj9xGoYTT44+kzeSjD/fYaxPyUqRXw
olF6U2MXIt9SyvlGmYIJcQz5Zzz4vyhb58TszB0Rl0MHlwVwRl4l+EsnigBemGQD
/SDTTVHS
=oke7
-----END PGP SIGNATURE-----

--VW8+1HDfippmZIdC--

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

Message received at [email protected]:


Received: (at 659) by bugs.devuan.org; 30 Jan 2022 12:52:39 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 30 Jan 2022 12:52: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 3C00A661380
	for <[email protected]>; Sun, 30 Jan 2022 13:51:45 +0100 (CET)
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 1nE9gF-00077i-NI; Sun, 30 Jan 2022 12:51:43 +0000
Received: (nullmailer pid 7969 invoked by uid 1000);
	Sun, 30 Jan 2022 12:51:43 -0000
Date: Sun, 30 Jan 2022 12:51:43 +0000
From: Mark Hindley <[email protected]>
To: Klaus Ethgen <[email protected]>, [email protected]
Subject: Re: bug#659: Reportbug does not run with non-utf8 encodings anymore
Message-ID: <[email protected]>
References: <YfZOrk5gLPHw/[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YfZOrk5gLPHw/[email protected]>
X-Debbugs-No-Ack: No Thanks
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

Klaus,

Thanks for this.

On Sun, Jan 30, 2022 at 09:39:10AM +0100, Klaus Ethgen wrote:
> Package: reportbug
> Version: 11.3.0+devuan1
> Severity: normal
> 
> Since some time it is not possible anymore to use reportbug on non-utf8
> encoding (or non-ascii?)

What locale settings are you using?

Mark

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

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 30 Jan 2022 12:34:35 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 30 Jan 2022 12:34: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 1AEB366134E
	for <[email protected]>; Sun, 30 Jan 2022 09:39:16 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de [email protected] header.b="uAglmgi+";
	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=zR3SQFxiaN/cXmfZBgveoB86o/OC0Y4ed+4wUgbJ6to=; b=uAglmgi+3/Xv6cLzhew0ONnUck
	gKDAbpWvF+ddYPyqd/s1u4GdXOPDFTdRoJqmT39TCgcrZG4+02Y+erBU5SygyDGowW7rEWYVeRtl+
	vBuOS94DTiN8FxhGc9TE2JL+BXN+CxBC/w1otDMRoq5No0xcUj3XsDMv6HkVS7XDU/HJlP44js7Vr
	5Ws9+7YzWg0/jQK0/yJMgcR78yIFfBM8CrdICPePW0gNt9NbweYNdgAJms7/al1sFBaxoZzDfONNB
	LnlakMRaJ5sfcGfuMNbd+SV1MRWyP/Kf6oQ8YnLC0pSANL+Phr33TGR4WUy1yP45cuwJwdt4e72Lv
	6D6Jeiqm7NrqskvAbCwYqMYK2c+XHujopvyJWpjohSo8hbzci/T5I2w7j3ItbGX483cAC8LJZtF3y
	OJPkmFWtlqed0rQWswAFhOaHmuolnzopovBbQfIxJq5EUJ/igIDo3fgdVhF8mGXkO3q8C9umKwOH4
	BHXLDx1WZ1Yt+zWOk6S/lQ5WXbnR1f1+KQc4oTDXjWwSUFq6Q5suIqNHJBjxomMVg/kiQecA5H/zc
	QC5/xrrQA/ojMxlakdOV+LSrg1SjdSPDQMMekySLBHBheEZydzx+L+tABrEp6TORMShKgYYD7fu13
	qnu/9wGWH1CKUsTR0MvYwbjnc8G+ihHT7h6kqu3Ps=;
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 1nE5jq-00075f-LB; Sun, 30 Jan 2022 08:39:11 +0000
Received: from klaus by ikki.ket with local (Exim 4.95)
	(envelope-from <[email protected]>)
	id 1nE5jq-0006rV-Eq;
	Sun, 30 Jan 2022 09:39:10 +0100
Date: Sun, 30 Jan 2022 09:39:10 +0100
From: Klaus Ethgen <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: Reportbug does not run with non-utf8 encodings anymore
Message-ID: <YfZOrk5gLPHw/[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="dB3siqga5O2x8H0V"
Content-Disposition: inline
X-Reportbug-Version: 11.3.0+devuan1
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


--dB3siqga5O2x8H0V
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Package: reportbug
Version: 11.3.0+devuan1
Severity: normal

Since some time it is not possible anymore to use reportbug on non-utf8
encoding (or non-ascii?)

I get the following error:
   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 error set

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

   SystemError: <class 'UnicodeDecodeError'> returned a result with an error set

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

   SystemError: <class 'UnicodeDecodeError'> returned a result with an error set

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

   SystemError: <class 'UnicodeDecodeError'> returned a result with an error set

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

   SystemError: <class 'UnicodeDecodeError'> returned a result with an error set

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

   SystemError: <class 'UnicodeDecodeError'> returned a result with an error set

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

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

I have to run reportbug with all LC_* and LANGUAGE variables deleted so
it will stay in pure ASCII.

This kind of bug is pretty common with python tools. Usually only python
authors are prone to this kind of bug. I almost never see this kind of
trouble from other programming languages.

-- Package-specific info:
** Environment settings:
EDITOR="vim"
PAGER="less"
VISUAL="vim"
EMAIL="Klaus Ethgen <[email protected]>"
DEBFULLNAME="Klaus Ethgen"
INTERFACE="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.13.4 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-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.3.14+devuan1
ii  python3            3.9.8-1
ii  python3-reportbug  11.3.0+devuan1
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-3
ii  file                                       1:5.41-2
ii  gnupg                                      2.2.27-3
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.3.14+devuan1
ii  file               1:5.41-2
ii  python3            3.9.8-1
ii  python3-apt        2.3.0+b1
ii  python3-debian     0.1.43
ii  python3-debianbts  3.2.0
ii  python3-requests   2.25.1+dfsg-2
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

Regards
   Klaus
-- 
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

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

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

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmH2Tq4ACgkQpnwKsYAZ
9qwXbAv+JCQWwkHc/uj5V2yPpPECmfvXgUWHtSMfFKdBStUEazP0O6k7c1hL6e9t
5eiNztT81eEMMT79y6HtJz0y1vtvPhYNAV0m+pS3W5ekhiIGDpBh9cyeEhNd92dw
CMtlk7Oca+Y1EhidcOWKnGL8oVVgQN+NPt6IqNIYMRaoDspi/p6V2qAaCiwklifM
ZirlGRJ2Wb3nSQI/Ds2dDnWAI4wi1hM8Dv4SSEDbFU1VkMa1cY8zFpqTvVm2qPGb
b3rrTFxQ+Ja3FTTZTvmKzRBpfifwqeKgNqavmY4ICJpjp8lJRKuxXS8st/unNq2D
u7eyjw5wPY6nEfttRk5kgdFwJuTyyafqxHWL8BZOe7D5TkeDya49HsMGUwfV2tBB
sqSvv1pi2sl7Oj9j9VeNYXLyfAdyVeKxzPurwiyuYZJ2dKi6CzHq1f32xNBaMOT9
u3m0ezZQrZrAWZJxinJ29h/J0YBznemnwENIv94tMcZ8hxX0c07v1pSCnNnP/Eci
2e+eJkv9
=Pzo3
-----END PGP SIGNATURE-----

--dB3siqga5O2x8H0V--

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#659; 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