delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/11/29/15:53:27

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:in-reply-to:references:mime-version;
bh=ZWeoT9f3iE8rkYaNd0Q+tizW4B2bju2JeAH+IgCqXEU=;
b=X65jhKWDAXS2GNbGISiVV1gGNUpru9f5KF3rx76/GuI754dtqgncL/IDl2IhBlO5eF
E7RouBGti3aWypPdhuFfpgDVlX0HMQzhfDX5FMjT6UDBXE4tbsyhuc0FBTbLG6XBH4V0
P2oO+sIoKPNxcE4dAcFaOGjH4Pcb4Y+XHGJx1QbAbcBfZyw4t4/fS1ws6rYsHuUlyBvH
r2RtSipQMHuof8iFRHi/mj53jeRuY57bQCMKNeKUg0hVjNoS+Lf5d2Uo1aBJQwZNI6RW
O/tHSsRozEk6y82cS4OVg2t/jqbpeUv9DSswlNOm4z1zCd9C/vPVB/nlSBR8c30KSBs0
/S4A==
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:in-reply-to
:references:mime-version;
bh=ZWeoT9f3iE8rkYaNd0Q+tizW4B2bju2JeAH+IgCqXEU=;
b=dILXxBctj0t2Tr2tloq9R0BBsaj4AzntwOUL5z8Hp2cdKjY+jzB/FYGPUg5Fj0Ru+P
tu2NJoKkDfndra59EqrGJpIMPtqzIz+1NFrfIA1JTJWo+R7wtIcZEwIfUXkjiGgcsnT+
I+2GV4vPzHqLt0P8OHGm+7Bgz7YzOJndfwEf59JFTlLyPaS5KfTAZRJ088LHTLD0zDTK
TFnDcV9szidb5rxzx3/M1YShuMUSNhnbT3mzjoUBrG34dALrjyw/577TRVQNvyR5yciH
yLTXycWX860GoNCEltBma+uVgxvIo0KYDndoX3kXupxoOXcS36XhYSS++Cw92yewCpiV
DkAA==
X-Gm-Message-State: APjAAAVBazPdknCbaeD23H3/kcwFM2nuAvpv5eAjJ6wc5S478nW0r1IV
myY9QoA+fRWHbp1ijF9aRMTFSQcH
X-Google-Smtp-Source: APXvYqwV0BtqJlbYH6bYOd12F/rvfkx4Ve4/cbighVwohpU17Ome+RzTGSBCZDNy5sBhbyVTbafuuw==
X-Received: by 2002:a2e:6e0f:: with SMTP id j15mr37591310ljc.43.1575059505702;
Fri, 29 Nov 2019 12:31:45 -0800 (PST)
Date: Fri, 29 Nov 2019 23:31:41 +0300
From: "dmn (graahnul DOT grom 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] lepton: gnetlist: is there a name conflict with
geda ?
Message-ID: <20191129233141.7ce7eacc@demon>
In-Reply-To: <20191129165855.ED0F28038A57@turkos.aspodata.se>
References: <20191129165855 DOT ED0F28038A57 AT turkos DOT aspodata DOT se>
X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd11.2)
MIME-Version: 1.0
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

--MP_//z.pQhgH6gSgQPpnF/naqP1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The attached patch fixes netlist -q option processing when working
with hierarchical schematics and, consequently, the errors you've got
with lepton-sch2pcb. Apply to the latest git sources.
I'll open a pull request [1] with these changes soon.

[1] https://github.com/lepton-eda/lepton-eda/pulls

Regards,
Dmitry.

--MP_//z.pQhgH6gSgQPpnF/naqP1
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=fix-netlist-q.diff

diff --git a/netlist/scheme/netlist/traverse.scm b/netlist/scheme/netlist/traverse.scm
index 97c512a1c..e8db41b3f 100644
--- a/netlist/scheme/netlist/traverse.scm
+++ b/netlist/scheme/netlist/traverse.scm
@@ -245,8 +245,8 @@
 
   (let ((filename (get-source-library-file name)))
     (if filename
-        (unless quiet-mode
-          (log! 'message (_ "Loading subcircuit ~S.") filename)
+        (begin (unless quiet-mode
+          (log! 'message (_ "Loading subcircuit ~S.") filename))
           (file->page filename 'new-page))
         (log! 'error (_ "Failed to load subcircuit ~S.") name))))
 

--MP_//z.pQhgH6gSgQPpnF/naqP1--

- Raw text -


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