delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2022/02/06/11:22:09

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <20220206162158.5231.qmail@stuge.se>
Date: Sun, 6 Feb 2022 16:21:58 +0000
From: "Peter Stuge (peter AT stuge DOT se) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] error message of "gsch2pcb"
References: <fdeca629-d05a-11ca-2e5d-ec55de0b0bf1 AT sunrise DOT ch>
MIME-Version: 1.0
In-Reply-To: <fdeca629-d05a-11ca-2e5d-ec55de0b0bf1@sunrise.ch>
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Gilles,

Gilles Bauder (gilles DOT bauder AT sunrise DOT ch) [via geda-help AT delorie DOT com] wrote:
> I am trying to transfer a scheme into a printed circuit board using the 
> application "gsch2pcb". I always get the following error message:
> 
> -----------
> 
> |archgilles% gsch2pcb osz_a.sch||
> ||  File "/usr/bin/gnetlist", line 133||
> ||    raise TypeError, '"%s" argument %d must be %s, not %s' % (||
> ||                   ^||
> ||SyntaxError: invalid syntax||
..
> ||I could not find any solution so far...

Please provide information about your system and installed versions.

In general I can say that the syntax raise TypeError, 'text' is valid
with a Python 2 interpreter, but not with a Python 3 interpreter.

I guess that your distribution has removed python-2 and forces the
assumption onto you that anything in your system that uses python
expects to get python-3. This is IMO rude and outrageous, but common
just the same.


//Peter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019