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

Package: python3-apt; Maintainer for python3-apt is (unknown); Source for python3-apt is src:python-apt.

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Sun, 30 Jan 2022 12:36:05 UTC

Severity: normal

Tags: debian

Merged with 679

Forwarded to https://bugs.debian.org/1003065

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#659: Reportbug does not run with non-utf8 encodings anymore
Reply-To: Klaus Ethgen <Klaus@ethgen.de>, 659@bugs.devuan.org
Resent-From: Klaus Ethgen <Klaus@ethgen.de>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 30 Jan 2022 13:18:01 +0000
Resent-Message-ID: <handler.659.B659.164354859415563@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 659
X-Devuan-PR-Package: python3-apt
X-Devuan-PR-Keywords: debian
References: <YfZOrk5gLPHw/MFG@ikki.ethgen.ch> <YfZOrk5gLPHw/MFG@ikki.ethgen.ch> <mailman.503.1643547245.2204.devuan-bugs@lists.dyne.org> <YfaNCJizPjB0FAod@hindley.org.uk> <YfZOrk5gLPHw/MFG@ikki.ethgen.ch>
Received: via spool by 659-submit@bugs.devuan.org id=B659.164354859415563
          (code B ref 659); Sun, 30 Jan 2022 13:18:01 +0000
Received: (at 659) by bugs.devuan.org; 30 Jan 2022 13:16:34 +0000
Delivered-To: devuanbugs@dyne.org
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 <659@bugs.devuan.org>; Sun, 30 Jan 2022 14:15:09 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (4096-bit key; unprotected) header.d=ethgen.de header.i=@ethgen.de 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 <Klaus@ethgen.de>)
	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 <Klaus@ethgen.de>)
	id 1nEA2u-0005lB-Mt;
	Sun, 30 Jan 2022 14:15:08 +0100
Date: Sun, 30 Jan 2022 14:15:08 +0100
From: Klaus Ethgen <Klaus@ethgen.de>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 659@bugs.devuan.org
Message-ID: <YfaPXMXYhJH9zCYA@ikki.ethgen.ch>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="cGPLOzQ9EkzSLiUB"
Content-Disposition: inline
In-Reply-To: <YfaNCJizPjB0FAod@hindley.org.uk>
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
[Message part 1 (text/plain, 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 <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Nov 26 02:15:34 2024;