delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2022/02/06/13:23:38

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <f1c1f938-ea91-da03-1035-6db16c691c17@sunrise.ch>
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"
To: geda-help AT delorie DOT com
References: <fdeca629-d05a-11ca-2e5d-ec55de0b0bf1 AT sunrise DOT ch>
<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]" <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

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

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <p><font size=3D"2">Hello,</font></p>
    <p><font size=3D"2">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.</font></p>
    <p><font size=3D"2">Thanks,</font></p>
    <p><font size=3D"2">G.<br>
      </font></p>
    <div class=3D"moz-cite-prefix">On 06.02.22 17:21, Peter Stuge
      (<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:peter AT stuge DOT s=
e">peter AT stuge DOT se</a>) [via <a class=3D"moz-txt-link-abbreviated" href=3D=
"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>] wrote:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:20220206162158 DOT 5231 DOT qmail AT stuge DOT se">
      <pre class=3D"moz-quote-pre" wrap=3D"">Hi Gilles,

Gilles Bauder (<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:gille=
s DOT bauder AT sunrise DOT ch">gilles DOT bauder AT sunrise DOT ch</a>) [via <a class=3D"moz-t=
xt-link-abbreviated" href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delo=
rie.com</a>] wrote:
</pre>
      <blockquote type=3D"cite">
        <pre class=3D"moz-quote-pre" wrap=3D"">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||
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">..
</pre>
      <blockquote type=3D"cite">
        <pre class=3D"moz-quote-pre" wrap=3D"">||I could not find any sol=
ution so far...
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">
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
</pre>
    </blockquote>
  </body>
</html>

--------------8zGxG1NPy0rR8QWWZUfgwQ1O--

- Raw text -


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