delorie.com/archives/browse.cgi | search |
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: | repl |
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: | Re: [geda-user] ~A is not a valid attribute |
In-reply-to: | <20230422103749.881BA8499AB4@turkos.aspodata.se> |
References: | <20230422103749 DOT 881BA8499AB4 AT turkos DOT aspodata DOT se> |
Comments: | In-reply-to "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Sat, 22 Apr 2023 12:37:49 +0200." | |
Mime-Version: | 1.0 |
Message-Id: | <20230423160825.7540C860487D@turkos.aspodata.se> |
Date: | Sun, 23 Apr 2023 18:08:25 +0200 (CEST) |
X-Virus-Scanned: | ClamAV using ClamSMTP |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
I tested this: /////// v 20220529 2 C 2400 -4400 1 0 0 driver_rs232_2_5V.src.sym { T 4200 -327 5 6 1 1 0 3 1 a } /////// And I got a strange error message, see below, that didn't help me finding out the problem. If I turne the "a" line into "a=b", then the netlister doesn't complain, so that means that the netlister doesn't want to have random text attached to symbols, which is in accord with the file format spec. The text line got there by mistake when working in the gui (how could that happen???). A more apropriate error message would perhaps be: err.sch line 4-5: Text objects are not allowed inside an environment, i.e. { }, unless they are attributes. =========== $ lepton-netlist -g pcbpins err.sch Could not find module (backend pcbpins). Fall back to looking up for legacy backend "pcbpins". Backtrace: 18 (apply-smob/1 #<catch-closure 7f673825b800>) In ice-9/boot-9.scm: 705:2 17 (call-with-prompt _ _ #<procedure default-prompt-handle?>) In ice-9/eval.scm: 619:8 16 (_ #(#(#<directory (guile-user) 7f6738329140>))) In ice-9/boot-9.scm: 2312:4 15 (save-module-excursion _) 3832:12 14 (_) In lepton/toplevel.scm: 69:2 13 (with-toplevel _ _) In netlist.scm: 936:4 12 (main) In ice-9/boot-9.scm: 829:9 11 (catch system-error #<procedure 7f6735d513e0 at netlis?> ?) In netlist.scm: 841:40 10 (_) In netlist/schematic.scm: 277:23 9 (page-list->schematic (#<page-0x55765332b170>)) In netlist/subschematic.scm: 235:22 8 (page-list->hierarchical-subschematic _ _) 196:24 7 (page-list->subschematic (#<page-0x55765332b170>) _) In srfi/srfi-1.scm: 592:17 6 (map1 (#<page-0x55765332b170>)) In netlist/subschematic.scm: 139:21 5 (page->subschematic #<page-0x55765332b170>) In srfi/srfi-1.scm: 592:17 4 (map1 (#<object-0x5576533b2c20>)) In netlist/schematic-component.scm: 252:27 3 (component->schematic-component #<object-0x5576533b2c20>) 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-0x5576533acb10> "a") ())'. =========== Regards, /Karl Hammar
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |