X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 98.110.213.40 X-Authenticated-UID: jpd AT noqsi DOT com From: John Doty <jpd AT noqsi DOT com> Content-Type: multipart/alternative; boundary="Apple-Mail=_7F379A87-5EF7-4170-88DD-BA8EB11A712B" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [geda-user] gnetlist error Date: Tue, 20 Mar 2018 20:17:11 -0400 References: <802e19f5-74c5-16c0-c7c3-f9bcf3100be8 AT fastmail DOT com> To: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> In-Reply-To: <802e19f5-74c5-16c0-c7c3-f9bcf3100be8@fastmail.com> Message-Id: <427AB121-4AC2-4FC7-A70A-DF7FCAB110F2@noqsi.com> X-Mailer: Apple Mail (2.3273) 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 Precedence: bulk --Apple-Mail=_7F379A87-5EF7-4170-88DD-BA8EB11A712B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Since it is gschem-specific, (attribute-name) belongs in gschemrc, not = gafrc. > On Mar 20, 2018, at 7:59 PM, Girvin Herr (gherrl AT fastmail DOT com) [via = geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote: >=20 > Greetings, >=20 > Using gEDA 1.8.2 (g875406c), under Slackware Linux v14.2 (k4.4.118) = and xfce4. >=20 > I have created a project with three schematic pages and now I want to = run gnetlist to produce a wiring list. However, gnetlist is producing a = fatal error on my local gafrc. I am including the gnetlist log file and = my ~/.gEDA/gafrc as well as my script which runs gnetlist, "genwl". >=20 > Some time ago, I added a symbol attribute called "partnum" to my = ~/.gEDA/gafrc using: >=20 > (attribute-name "partnum") >=20 > The purpose of this is to add this attribute, "partnum", to the list = of attributes in gschem, so I didn't have to type it in each time I = needed to use it. gschem accepts it fine, but apparently, gnetlist does = not like this construct in my gafrc. Here is what gnetlist produces when = run: >=20 > ERROR: Unable to parse config from [/home/gherr/.gEDA/gafrc]: ERROR: = Unbound variable: attribute-name >=20 > ERROR: The gnetlist log may contain more information. >=20 > Is there a workaround so gnetlist will accept this? >=20 > What does it mean "Unbound" variable? > How do I "bind" it, if needed? >=20 > Thanks. > Girvin Herr >=20 >=20 > <gafrc.txt><gnetlist-20180320-1.log><genwl.txt> John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail=_7F379A87-5EF7-4170-88DD-BA8EB11A712B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Since it is gschem-specific, (attribute-name) belongs in = gschemrc, not gafrc.<div class=3D""><br class=3D""><div><blockquote = type=3D"cite" class=3D""><div class=3D"">On Mar 20, 2018, at 7:59 PM, = Girvin Herr (<a href=3D"mailto:gherrl AT fastmail DOT com" = class=3D"">gherrl AT fastmail DOT com</a>) [via <a = href=3D"mailto:geda-user AT delorie DOT com" = class=3D"">geda-user AT delorie DOT com</a>] <<a = href=3D"mailto:geda-user AT delorie DOT com" = class=3D"">geda-user AT delorie DOT com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div = class=3D"">Greetings,<br class=3D""><br class=3D"">Using gEDA 1.8.2 = (g875406c), under Slackware Linux v14.2 (k4.4.118) and xfce4.<br = class=3D""><br class=3D"">I have created a project with three schematic = pages and now I want to run gnetlist to produce a wiring list. However, = gnetlist is producing a fatal error on my local gafrc. I am including = the gnetlist log file and my ~/.gEDA/gafrc as well as my script which = runs gnetlist, "genwl".<br class=3D""><br class=3D"">Some time ago, I = added a symbol attribute called "partnum" to my ~/.gEDA/gafrc using:<br = class=3D""><br class=3D"">(attribute-name "partnum")<br class=3D""><br = class=3D"">The purpose of this is to add this attribute, "partnum", to = the list of attributes in gschem, so I didn't have to type it in each = time I needed to use it. gschem accepts it fine, but apparently, = gnetlist does not like this construct in my gafrc. Here is what gnetlist = produces when run:<br class=3D""><br class=3D"">ERROR: Unable to parse = config from [/home/gherr/.gEDA/gafrc]: ERROR: Unbound variable: = attribute-name<br class=3D""><br class=3D"">ERROR: The gnetlist log may = contain more information.<br class=3D""><br class=3D"">Is there a = workaround so gnetlist will accept this?<br class=3D""><br class=3D"">What= does it mean "Unbound" variable?<br class=3D"">How do I "bind" it, if = needed?<br class=3D""><br class=3D"">Thanks.<br class=3D"">Girvin = Herr<br class=3D""><br class=3D""><br class=3D""><span = id=3D"cid:D927369A-290B-4FC7-ACE3-C1C8D4B10574 AT fios-router DOT home"><gafrc= .txt></span><span = id=3D"cid:29E4D044-021B-44AA-8A07-06BCA313E8DC AT fios-router DOT home"><gnetl= ist-20180320-1.log></span><span = id=3D"cid:EB45FECF-72FD-46D3-BBB8-3ED3F21FBC57 AT fios-router DOT home"><genwl= .txt></span></div></div></blockquote></div><br class=3D""><div = class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: = 0.0px 0.0px 0.0px 0.0px" class=3D""><font face=3D"Helvetica" size=3D"3" = style=3D"font: 12.0px Helvetica" class=3D"">John Doty<span = class=3D"Apple-converted-space"> <span = class=3D"Apple-converted-space"> </span><span = class=3D"Apple-converted-tab"> <span = class=3D"Apple-converted-space"> </span></span></span>Noqsi = Aerospace, Ltd.</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px" = class=3D""><a href=3D"http://www.noqsi.com/" = class=3D"">http://www.noqsi.com/</a></p><p style=3D"margin: 0.0px 0.0px = 0.0px 0.0px" class=3D""><font face=3D"Helvetica" size=3D"3" style=3D"font:= 12.0px Helvetica" class=3D""><a href=3D"mailto:jpd AT noqsi DOT com" = class=3D"">jpd AT noqsi DOT com</a></font></p><br = class=3D"Apple-interchange-newline"></span></span> </div> <br class=3D""></div></body></html>= --Apple-Mail=_7F379A87-5EF7-4170-88DD-BA8EB11A712B--