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]" Date: Fri, 28 Apr 2023 10:11:17 -0700 Message-ID: Subject: Re: [geda-user] ~A is not a valid attribute To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="00000000000060b69605fa689054" 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] 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 (# # ?)) > 592:29 11 (map1 (# # ?)) > 592:29 10 (map1 (# # ?)) > 592:29 9 (map1 (# # ?)) > 592:29 8 (map1 (# # ?)) > 592:29 7 (map1 (# # ?)) > 592:29 6 (map1 (# # ?)) > 592:29 5 (map1 (# #)) > 592:17 4 (map1 (#)) > In netlist/schematic-component.scm: > 252:27 3 (component->schematic-component #) > 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'." (# "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
unsubscribe

On Sat, Apr 22, 2023 at 4:11=E2=80=AFAM karl AT aspodata DOT se [vi= a geda-user AT delo= rie.com] <geda-user AT delorie DOT com> wrote:
Any idea where to start looking ?

=C2=A0With
$ lepton-sch2pcb -V
Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: d647623)

=C2=A0I 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:
=C2=A0 =C2=A0592:29 19 (map1 _)
=C2=A0 =C2=A0592:29 18 (map1 _)
=C2=A0 =C2=A0592:29 17 (map1 _)
=C2=A0 =C2=A0592:29 16 (map1 _)
=C2=A0 =C2=A0592:29 15 (map1 _)
=C2=A0 =C2=A0592:29 14 (map1 _)
=C2=A0 =C2=A0592:29 13 (map1 _)
=C2=A0 =C2=A0592:29 12 (map1 (#<object-0x55e3436c8890> #<object-0x= 55e3436d0?> ?))
=C2=A0 =C2=A0592:29 11 (map1 (#<object-0x55e3436d0f40> #<object-0x= 55e3436d3?> ?))
=C2=A0 =C2=A0592:29 10 (map1 (#<object-0x55e3436d3400> #<object-0x= 55e3436d7?> ?))
=C2=A0 =C2=A0592:29=C2=A0 9 (map1 (#<object-0x55e3436d7c60> #<obje= ct-0x55e3436db?> ?))
=C2=A0 =C2=A0592:29=C2=A0 8 (map1 (#<object-0x55e3436dbf00> #<obje= ct-0x55e3436de?> ?))
=C2=A0 =C2=A0592:29=C2=A0 7 (map1 (#<object-0x55e3436decb0> #<obje= ct-0x55e3436e1?> ?))
=C2=A0 =C2=A0592:29=C2=A0 6 (map1 (#<object-0x55e3436e1020> #<obje= ct-0x55e3436e3?> ?))
=C2=A0 =C2=A0592:29=C2=A0 5 (map1 (#<object-0x55e3436e3680> #<obje= ct-0x55e3436e57?>))
=C2=A0 =C2=A0592:17=C2=A0 4 (map1 (#<object-0x55e3436e57d0>))
In netlist/schematic-component.scm:
=C2=A0 =C2=A0252:27=C2=A0 3 (component->schematic-component #<object-= 0x55e3436e57d0>)
=C2=A0 =C2=A0236:35=C2=A0 2 (make-attrib-list _ _)
In lepton/attrib.scm:
=C2=A0 =C2=A0 77:16=C2=A0 1 (attrib-name _)
In unknown file:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (scm-error attribute-format attr= ib-name "~A is not a v?" ?)

ERROR: In procedure scm-error:
Throw to key `attribute-format' with args `(attrib-name "~A is not= a valid attribute: invalid string '~A'." (#<object-0x55e34= 36e61d0> "Analogue req.\n\n3.3V 0.7mA, 2.5mW\n5.0V 8mA, 40mW\n+-15V= 32+36mA, ~1W\n\nRelay\n12V 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*60m= A (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

=C2=A0It's the same with (with strdup patch):
$ lepton-sch2pcb -V
Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: fe841a0)

=C2=A0And 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, 90= 0mW

MCU
3.3V 20mA + 8 (to relay), 100mW
///////////

=C2=A0No problem with same text in a sch with just a resistor and two nets.=
=C2=A0No problem with lepton-sch2pcb power.sch.

Regards,
/Karl Hammar


--00000000000060b69605fa689054--