www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2023/04/22/06:57:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: comp
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] ~A is not a valid attribute
Mime-Version: 1.0
Message-Id: <20230422103749.881BA8499AB4@turkos.aspodata.se>
Date: Sat, 22 Apr 2023 12:37:49 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com

Any idea where to start looking ?

 With
$ lepton-sch2pcb -V
Lepton EDA/lepton-sch2pcb 1.9.18.20220529 (git: d647623)

 I get
=============
$ 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 valid 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\n12V 8*33mA < 300mA, 8*400mW = 3.2W\nRelayleds\n3.3V 8*10mA = 80mA, ~250mW\n\nSerial\n5V 4*3mA (isol) 1mA (driver) 2*60mA (output) 0.3*120mA (pwr) = ~170mA, 900mW\n") ())'.
Failed to execute external program.
Failed to run netlister
=============

 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 = 3.2W
Relayleds
3.3V 8*10mA = 80mA, ~250mW

Serial
5V 4*3mA (isol) 1mA (driver) 2*60mA (output) 0.3*120mA (pwr) = ~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


- Raw text -


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