delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2023/04/28/13:31:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1682701889; x=1685293889;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=E6fuoULqCrXpU6zG8zSVSHJmql8is9t8VThO5UwmmzQ=;
b=VthbJj5CDJmbL7Op4FeqlQtfiA56ULqzeyy1bdfgk1jlW7g6G42SoalHek0IdQ2bn2
vnKvaloCiEXbse5/2fCH+HQiGvU9sXr1+a6SdI4ZTEGKBQ8J7A8ErB7b9fjuyUI9dwcr
F1bsR68tjnDI+dg3X914IxVjWffibklqAccYvN1rUr0rF/eMNG4mBBZBzMvdZQfWqQDo
8PRQvR2r8Nxdte77clyljjC98ZcmMdqfKZIdUizWsVF4JrIpA52niHQensyYdqAjxy3L
y8hPO5/+E9oQYmeuWdau1CkCTkKq0txiPIYxBRn9oxJjgiN4KrEewDYq1GrWAueunqZk
Fy0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1682701889; x=1685293889;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=E6fuoULqCrXpU6zG8zSVSHJmql8is9t8VThO5UwmmzQ=;
b=NrO06prhH4BuBWPg6VQUHTxegvMVLjIufi0R/JWPcS4dd13vWHhVWYy+DFRqrpBNRv
9F+puM5sCyktMqnRV8q7GwTRcBWRr3T4hVmXAnqK7ttgbUcTPGxcS2JkpTbFiK+WUF3I
28SuTKYyk885NlmhXFL5MqJfBBzAO/cWwF8Fy4GWCpZsAQbYY2aeu2dztfEv6kw5VBH6
4XvhJplV9fV8GrtqlBC8ygfaO+gJXGKIEJ5oRGLJQBFZY6jHGcwzJ3shap0UrFowloLm
a+LSKhuBB5zECpFpjHtDc7csHWrmE8w4hqY2/g7EElQDEychCt/KpN3xrGgKrL2tBA/O
9YbA==
X-Gm-Message-State: AC+VfDxtOujxBNQy9mQegLhNH00djd6KSn6EqM51O+WFaJXgB+PqAqe2
Fhw2bhVhA88M9vLayO18d2DSOgvR/tQiHSEAFfBZuYUF
X-Google-Smtp-Source: ACHHUZ6aAOFPJLiPrTNXqsMJ2fwnqgyCvMWuxsYSJ6HjnzyReAx/5qCkO0/+B7MqVQXN6fO01WjjNluoK2jXiX5gJJo=
X-Received: by 2002:a17:90b:c0c:b0:24b:52cb:9a31 with SMTP id
bp12-20020a17090b0c0c00b0024b52cb9a31mr12151418pjb.22.1682701889351; Fri, 28
Apr 2023 10:11:29 -0700 (PDT)
MIME-Version: 1.0
References: <20230422103749 DOT 881BA8499AB4 AT turkos DOT aspodata DOT se>
In-Reply-To: <20230422103749.881BA8499AB4@turkos.aspodata.se>
From: "Ouabache Designworks (z3qmtr45 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Fri, 28 Apr 2023 10:11:17 -0700
Message-ID: <CAOP4iL2hDZeD0=KpeWTWMSKvUqh7vL5JpjjC0SniC=10-kNinw@mail.gmail.com>
Subject: Re: [geda-user] ~A is not a valid attribute
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

--00000000000060b69605fa689054
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

unsubscribe

On Sat, Apr 22, 2023 at 4:11=E2=80=AFAM karl AT aspodata DOT se [via geda-user AT del=
orie.com]
<geda-user AT delorie DOT com> wrote:

> Any idea where to start looking ?
>
>  With
> $ lepton-sch2pcb -V
> Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: d647623)
>
>  I get
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> $ lepton-sch2pcb styrkort.sch
> Could not find module (backend pcbpins).
> Fall back to looking up for legacy backend "pcbpins".
> Backtrace:
> In srfi/srfi-1.scm:
>    592:29 19 (map1 _)
>    592:29 18 (map1 _)
>    592:29 17 (map1 _)
>    592:29 16 (map1 _)
>    592:29 15 (map1 _)
>    592:29 14 (map1 _)
>    592:29 13 (map1 _)
>    592:29 12 (map1 (#<object-0x55e3436c8890> #<object-0x55e3436d0?> ?))
>    592:29 11 (map1 (#<object-0x55e3436d0f40> #<object-0x55e3436d3?> ?))
>    592:29 10 (map1 (#<object-0x55e3436d3400> #<object-0x55e3436d7?> ?))
>    592:29  9 (map1 (#<object-0x55e3436d7c60> #<object-0x55e3436db?> ?))
>    592:29  8 (map1 (#<object-0x55e3436dbf00> #<object-0x55e3436de?> ?))
>    592:29  7 (map1 (#<object-0x55e3436decb0> #<object-0x55e3436e1?> ?))
>    592:29  6 (map1 (#<object-0x55e3436e1020> #<object-0x55e3436e3?> ?))
>    592:29  5 (map1 (#<object-0x55e3436e3680> #<object-0x55e3436e57?>))
>    592:17  4 (map1 (#<object-0x55e3436e57d0>))
> In netlist/schematic-component.scm:
>    252:27  3 (component->schematic-component #<object-0x55e3436e57d0>)
>    236:35  2 (make-attrib-list _ _)
> In lepton/attrib.scm:
>     77:16  1 (attrib-name _)
> In unknown file:
>            0 (scm-error attribute-format attrib-name "~A is not a v?" ?)
>
> ERROR: In procedure scm-error:
> Throw to key `attribute-format' with args `(attrib-name "~A is not a vali=
d
> attribute: invalid string '~A'." (#<object-0x55e3436e61d0> "Analogue
> req.\n\n3.3V 0.7mA, 2.5mW\n5.0V 8mA, 40mW\n+-15V 32+36mA, ~1W\n\nRelay\n1=
2V
> 8*33mA < 300mA, 8*400mW =3D 3.2W\nRelayleds\n3.3V 8*10mA =3D 80mA,
> ~250mW\n\nSerial\n5V 4*3mA (isol) 1mA (driver) 2*60mA (output) 0.3*120mA
> (pwr) =3D ~170mA, 900mW\n") ())'.
> Failed to execute external program.
> Failed to run netlister
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>  It's the same with (with strdup patch):
> $ lepton-sch2pcb -V
> Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: fe841a0)
>
>  And with or without this text in one of the sch files:
> $ grep 'Analogue' *
> grep: Test_lepton: Is a directory
> power.sch:Analogue req.
> power.sch~:Analogue req.
> ///////////
> Analogue req.
>
> 3.3V 0.7mA, 2.5mW
> 5.0V 8mA, 40mW
> +-15V 32+36mA, ~1W
>
> Relay
> 12V 8*33mA < 300mA, 8*400mW =3D 3.2W
> Relayleds
> 3.3V 8*10mA =3D 80mA, ~250mW
>
> Serial
> 5V 4*3mA (isol) 1mA (driver) 2*60mA (output) 0.3*120mA (pwr) =3D ~170mA,
> 900mW
>
> MCU
> 3.3V 20mA + 8 (to relay), 100mW
> ///////////
>
>  No problem with same text in a sch with just a resistor and two nets.
>  No problem with lepton-sch2pcb power.sch.
>
> Regards,
> /Karl Hammar
>
>
>

--00000000000060b69605fa689054
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">unsubscribe<br></div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr" class=3D"gmail_attr">On Sat, Apr 22, 2023 at 4:11=E2=80=AFAM <a =
href=3D"mailto:karl AT aspodata DOT se" target=3D"_blank">karl AT aspodata DOT se</a> [vi=
a <a href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delo=
rie.com</a>] &lt;<a href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank"=
>geda-user AT delorie DOT com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">Any idea where to start looking ?<br>
<br>
=C2=A0With<br>
$ lepton-sch2pcb -V<br>
Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: d647623)<br>
<br>
=C2=A0I get<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
$ lepton-sch2pcb styrkort.sch<br>
Could not find module (backend pcbpins).<br>
Fall back to looking up for legacy backend &quot;pcbpins&quot;.<br>
Backtrace:<br>
In srfi/srfi-1.scm:<br>
=C2=A0 =C2=A0592:29 19 (map1 _)<br>
=C2=A0 =C2=A0592:29 18 (map1 _)<br>
=C2=A0 =C2=A0592:29 17 (map1 _)<br>
=C2=A0 =C2=A0592:29 16 (map1 _)<br>
=C2=A0 =C2=A0592:29 15 (map1 _)<br>
=C2=A0 =C2=A0592:29 14 (map1 _)<br>
=C2=A0 =C2=A0592:29 13 (map1 _)<br>
=C2=A0 =C2=A0592:29 12 (map1 (#&lt;object-0x55e3436c8890&gt; #&lt;object-0x=
55e3436d0?&gt; ?))<br>
=C2=A0 =C2=A0592:29 11 (map1 (#&lt;object-0x55e3436d0f40&gt; #&lt;object-0x=
55e3436d3?&gt; ?))<br>
=C2=A0 =C2=A0592:29 10 (map1 (#&lt;object-0x55e3436d3400&gt; #&lt;object-0x=
55e3436d7?&gt; ?))<br>
=C2=A0 =C2=A0592:29=C2=A0 9 (map1 (#&lt;object-0x55e3436d7c60&gt; #&lt;obje=
ct-0x55e3436db?&gt; ?))<br>
=C2=A0 =C2=A0592:29=C2=A0 8 (map1 (#&lt;object-0x55e3436dbf00&gt; #&lt;obje=
ct-0x55e3436de?&gt; ?))<br>
=C2=A0 =C2=A0592:29=C2=A0 7 (map1 (#&lt;object-0x55e3436decb0&gt; #&lt;obje=
ct-0x55e3436e1?&gt; ?))<br>
=C2=A0 =C2=A0592:29=C2=A0 6 (map1 (#&lt;object-0x55e3436e1020&gt; #&lt;obje=
ct-0x55e3436e3?&gt; ?))<br>
=C2=A0 =C2=A0592:29=C2=A0 5 (map1 (#&lt;object-0x55e3436e3680&gt; #&lt;obje=
ct-0x55e3436e57?&gt;))<br>
=C2=A0 =C2=A0592:17=C2=A0 4 (map1 (#&lt;object-0x55e3436e57d0&gt;))<br>
In netlist/schematic-component.scm:<br>
=C2=A0 =C2=A0252:27=C2=A0 3 (component-&gt;schematic-component #&lt;object-=
0x55e3436e57d0&gt;)<br>
=C2=A0 =C2=A0236:35=C2=A0 2 (make-attrib-list _ _)<br>
In lepton/attrib.scm:<br>
=C2=A0 =C2=A0 77:16=C2=A0 1 (attrib-name _)<br>
In unknown file:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (scm-error attribute-format attr=
ib-name &quot;~A is not a v?&quot; ?)<br>
<br>
ERROR: In procedure scm-error:<br>
Throw to key `attribute-format&#39; with args `(attrib-name &quot;~A is not=
 a valid attribute: invalid string &#39;~A&#39;.&quot; (#&lt;object-0x55e34=
36e61d0&gt; &quot;Analogue req.\n\n3.3V 0.7mA, 2.5mW\n5.0V 8mA, 40mW\n+-15V=
 32+36mA, ~1W\n\nRelay\n12V 8*33mA &lt; 300mA, 8*400mW =3D 3.2W\nRelayleds\=
n3.3V 8*10mA =3D 80mA, ~250mW\n\nSerial\n5V 4*3mA (isol) 1mA (driver) 2*60m=
A (output) 0.3*120mA (pwr) =3D ~170mA, 900mW\n&quot;) ())&#39;.<br>
Failed to execute external program.<br>
Failed to run netlister<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br>
=C2=A0It&#39;s the same with (with strdup patch): <br>
$ lepton-sch2pcb -V<br>
Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: fe841a0)<br>
<br>
=C2=A0And with or without this text in one of the sch files:<br>
$ grep &#39;Analogue&#39; *<br>
grep: Test_lepton: Is a directory<br>
power.sch:Analogue req.<br>
power.sch~:Analogue req.<br>
///////////<br>
Analogue req.<br>
<br>
3.3V 0.7mA, 2.5mW<br>
5.0V 8mA, 40mW<br>
+-15V 32+36mA, ~1W<br>
<br>
Relay<br>
12V 8*33mA &lt; 300mA, 8*400mW =3D 3.2W<br>
Relayleds<br>
3.3V 8*10mA =3D 80mA, ~250mW<br>
<br>
Serial<br>
5V 4*3mA (isol) 1mA (driver) 2*60mA (output) 0.3*120mA (pwr) =3D ~170mA, 90=
0mW<br>
<br>
MCU<br>
3.3V 20mA + 8 (to relay), 100mW<br>
///////////<br>
<br>
=C2=A0No problem with same text in a sch with just a resistor and two nets.=
<br>
=C2=A0No problem with lepton-sch2pcb power.sch.<br>
<br>
Regards,<br>
/Karl Hammar<br>
<br>
<br>
</blockquote></div>

--00000000000060b69605fa689054--

- Raw text -


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