Devuan bug report logs - #528
python3-reportbug: fails to install due to syntax error

Packages: severity:, 7.8.0+devuan1, version:, python3-reportbug, grave; Maintainer for severity: is (unknown); Maintainer for 7.8.0+devuan1 is (unknown); Maintainer for version: is (unknown); Maintainer for python3-reportbug is Mark Hindley <mark@hindley.org.uk>; Source for python3-reportbug is src:reportbug. Maintainer for grave is (unknown);

Reported by: "Gerard H. Pille" <ghpille@hotmail.com>

Date: Fri, 4 Dec 2020 23:18:02 UTC

Severity: normal

Tags: invalid, moreinfo

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #8 received at 528@bugs.devuan.org (full text, mbox, reply):

Received: (at 528) by bugs.devuan.org; 5 Dec 2020 10:30:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 10:30:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 56848F60914
	for <528@bugs.devuan.org>; Sat,  5 Dec 2020 11:28:11 +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 <mark@hindley.org.uk>)
	id 1klUnR-0007aK-88; Sat, 05 Dec 2020 10:28:09 +0000
Received: (nullmailer pid 20822 invoked by uid 1000);
	Sat, 05 Dec 2020 10:28:08 -0000
Date: Sat, 5 Dec 2020 10:28:08 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: "Gerard H. Pille" <ghpille@hotmail.com>, 528@bugs.devuan.org
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Message-ID: <X8tguFoiYIJcJzad@hindley.org.uk>
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
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 tupac3.dyne.org
Control: tags -1 moreinfo

Gerard,

Thanks for this. However, can't yet reproduce it.

On Sat, Dec 05, 2020 at 12:03:34AM +0100, Gerard H. Pille wrote:
> Setting up python3-reportbug (7.8.0+devuan1) ...
>   File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 1214
>     init += f', PID 1: {pf.read().strip()}'
>                                           ^
> SyntaxError: invalid syntax

Strange. This seems to imply that the python interpreter doesn understand the
f-string.  Presumably it is running under python2? What python2 pacakges do you
have installed?

 dpkg -l | grep python2 should producs a list.

Thanks

Mark

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: Mon Nov 25 04:29:22 2024;