delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/09/26/13:09:10

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=20161025;
h=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:in-reply-to:user-agent;
bh=nIbdMUYZ/QSyALxE0DsCAzrir5H36nN/q9RfkOS6AMI=;
b=e2JTuYP7EJel686zdrRZwNOidcOOx8bo33GVIQW11hmd+a54ep9g+DbHsoR2u079ht
VjVVizM/mtBk9NX9LDsL837kEblICT/NbvqFgVORunnG4WlY5lAzuz7Lz42Q5PXiQhGK
wJXDozCG0E+Dehjvp/ZQ/3A5yOtNUiKOwS/GjcHDfw98pSPUXpyLlZiCpEBt6+XGshoe
XLy2osXh+gJyxZQq4GHlR7rBq81QD7Z0beP8M6Mmrf3uP7yvdHxW0ajzkRZ8Mc1dNHvu
3GaMdY4OBKD6tkU5yna8w78ndOxueGdSVIxZqopT4QhqSd6zqlw0lZWy3iNcA+H+/eRh
ja8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to
:references:mime-version:content-disposition:in-reply-to:user-agent;
bh=nIbdMUYZ/QSyALxE0DsCAzrir5H36nN/q9RfkOS6AMI=;
b=uRO+cAcB9vC8N1JMZvrYJAJQ+FxdUSDrBaeFqgIyE5TQanYhOnuZKzMVr/HVDENkeP
ozYx4p9jAkjChxlrupzGdLh+rg0Ye7u/KSuHVs7h7t1FEkIYdhZjxXV+AbuoirWib1vD
vSeUOzwEDEy5ipsDP4NN1MJTVAO2eLVzyK0P5XO+sZM3ZgliyxRuKgcELZcgFhP1uN3w
H+OUR60TgAa50heGxTz4KZfyTnV0vTaD/vhaSRhFhM3+jauxZr70newAhQv6muG/llyc
jm+FNtOweZISk/D9lpNSPk0DfDO8gTSkJpUYTBYiLWNhKBokL5UFnsD+GyDyEW9PjwhH
WF3A==
X-Gm-Message-State: ABuFfoiHlx/GwhiEt08Do4fCZrWMy4xhCOiq2HebaZCyOmNjWlk+W7w2
9fBuXBUSz4myis3vyEuq+FnuE/K3
X-Google-Smtp-Source: ACcGV61+hUaLeAnamQXxxWQywXFECDryNU0hV+M/iO3ryXQcS54La51TS+Ve74oCj0nQidTgxRN3Bw==
X-Received: by 2002:a2e:9dc7:: with SMTP id x7-v6mr2661824ljj.142.1537981616465;
Wed, 26 Sep 2018 10:06:56 -0700 (PDT)
Date: Wed, 26 Sep 2018 20:06:53 +0300
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gsch2pcb command shows gafrc error
Message-ID: <20180926170653.xo36iii6czuyruyi@newvzh.lokolhoz>
Mail-Followup-To: geda-user AT delorie DOT com
References: <CALSZ9gou4E9M92ECJqBvKtBUWpktskqvc19RM-x42OG8G+ePMQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CALSZ9gou4E9M92ECJqBvKtBUWpktskqvc19RM-x42OG8G+ePMQ@mail.gmail.com>
User-Agent: NeoMutt/20170113 (1.7.2)
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

Rob,

On Wed, Sep 26, 2018 at 12:31:28PM -0400, Rob Butts (r DOT butts2 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote:
> I upgraded my system to Fedora 28.  When I attempted a gsh2pcb I get the
> following error:
> Running command:
> gnetlist -g pcbpins -o mkr-3.cmd mkr-1-pg1.sch mkr-1-pg2.sch mkr-1-pg3.sch
> mkr-1-pg4.sch mkr-1-pg5.sch mkr-1-pg6.sch
> --------
> ERROR: Unable to parse config from [/home/Rob/gaf/MyKoolRide/gafrc]: ERROR:
> Unbound variable: attribute-name
> 
> ERROR: The gnetlist log may contain more information.
> 
> --------
> Failed to run gnetlist
> [Rob AT Gigabyte-Z370-HD3P MyKoolRide]$
> 
> 
> My gafrc file has the following contents:
> 
> (component-library "${HOME}/gaf/gschem-sym")
> (component-library "${HOME}/gaf/gschem-sym/1206Capacitors")
> (component-library "${HOME}/gaf/gschem-sym/1206Resistors")
> (component-library "${HOME}/gaf/gschem-sym/Microchip")
> 
> (attribute-name "digikey-p/n")
> (attribute-name "p/n")
> 
> 
> I'm not seeing where the error is.

gnetlist/docs/README.pcb reads:

  5. Edit the ~/.gEDA/gschemrc file and be sure that the following line exists :
  (attribute-name "footprint")

Moreover, AFAICS, the procedure name `attribute-name' is used only
in gschem sources.

So IIUC, you need `gschemrc' instead of `gafrc' in this case.

HTH

-- 
  Vladimir

- Raw text -


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