X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="------------8zGxG1NPy0rR8QWWZUfgwQ1O" Message-ID: Date: Sun, 6 Feb 2022 19:23:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [geda-help] error message of "gsch2pcb" Content-Language: en-US To: geda-help AT delorie DOT com References: <20220206162158 DOT 5231 DOT qmail AT stuge DOT se> From: "Gilles Bauder (gilles DOT bauder AT sunrise DOT ch) [via geda-help AT delorie DOT com]" In-Reply-To: <20220206162158.5231.qmail@stuge.se> 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 Precedence: bulk This is a multi-part message in MIME format. --------------8zGxG1NPy0rR8QWWZUfgwQ1O Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I visited the website of my distribution ("archlinux") again. I read an=20 article about "python" and found that python2 can run alongside python3.=20 After the installation of python2 it worked. Thanks, G. On 06.02.22 17:21, Peter Stuge (peter AT stuge DOT se) [via=20 geda-help AT delorie DOT com] wrote: > Hi Gilles, > > Gilles Bauder (gilles DOT bauder AT sunrise DOT ch) [viageda-help AT delorie DOT com] wro= te: >> I am trying to transfer a scheme into a printed circuit board using th= e >> application "gsch2pcb". I always get the following error message: >> >> ----------- >> >> |archgilles% gsch2pcb osz_a.sch|| >> ||=C2=A0 File "/usr/bin/gnetlist", line 133|| >> ||=C2=A0=C2=A0=C2=A0 raise TypeError, '"%s" argument %d must be %s, no= t %s' % (|| >> ||=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^|| >> ||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 --------------8zGxG1NPy0rR8QWWZUfgwQ1O Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

I visited the website of my distribution ("archlinux") again. I read an article about "python" and found that python2 can run alongside python3. After the installation of python2 it worked.

Thanks,

G.

On 06.02.22 17:21, Peter Stuge (peter AT stuge DOT se) [via geda-help AT delorie DOT com] wrote:
Hi Gilles,

Gilles Bauder (gilles DOT bauder AT sunrise DOT ch) [via geda-help AT delo=
rie.com] wrote:
I am trying to transfer a =
scheme into a printed circuit board using the=20
application "gsch2pcb". I always get the following error message:

-----------

|archgilles% gsch2pcb osz_a.sch||
||=C2=A0 File "/usr/bin/gnetlist", line 133||
||=C2=A0=C2=A0=C2=A0 raise TypeError, '"%s" argument %d must be %s, not %=
s' % (||
||=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^||
||SyntaxError: invalid syntax||
..
||I could not find any sol=
ution 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
--------------8zGxG1NPy0rR8QWWZUfgwQ1O--