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

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
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] lepton: gnetlist: is there a name conflict with geda ?
In-reply-to: <20191129214957.0f1a031a@demon>
References: <20191129165855 DOT ED0F28038A57 AT turkos DOT aspodata DOT se> <20191129214957 DOT 0f1a031a AT demon>
Comments: In-reply-to "dmn (graahnul DOT grom AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Fri, 29 Nov 2019 21:49:57 +0300."
Mime-Version: 1.0
Message-Id: <20191129200311.BF1E58038A5B@turkos.aspodata.se>
Date: Fri, 29 Nov 2019 21:03:11 +0100 (CET)
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

This is a multipart MIME message.

--==_Exmh_1575057584_229860
Content-Type: text/plain

Dmitry:
> On Fri, 29 Nov 2019 17:58:55 +0100 (CET)
> karl AT aspodata DOT se wrote:
> 
> > $ lepton-sch2pcb  -d . -d /home/karl/git/openhw/share/pcb -d
> > /usr/local/share/pcb/pcblib-newlib ds2480din_2.sch Backtrace:
> >           15 (apply-smob/1 #<catch-closure 7f70b711e660>)
> > In ice-9/boot-9.scm:
> >     705:2 14 (call-with-prompt _ _ #<procedure
> > default-prompt-handle?>) In ice-9/eval.scm:
> >     619:8 13 (_ #(#(#<directory (guile-user) 7f70b2598140>)))
> > In ice-9/boot-9.scm:
> >    2312:4 12 (save-module-excursion _)
> >   3831:12 11 (_)
> > In unknown file:
> >           10 (%with-toplevel #<geda-toplevel 0xcd8f06eb40>
> > #<procedu?>) In netlist.scm:
> >   1033:18  9 (main)
> >    835:27  8 (set-ln-toplevel-schematic! _)
> > In netlist/schematic.scm:
> >    308:23  7 (page-list->schematic (#<geda-page 0xcd8f078b00>))
> > In netlist/traverse.scm:
> >     499:4  6 (page-list->subschematic _ _)
> > In srfi/srfi-1.scm:
> >     640:9  5 (for-each #<procedure traverse-component-sources (comp?>
> > ?) In netlist/traverse.scm:
> >    488:23  4 (traverse-component-sources #<geda-schematic-component
> > ?>) 494:29  3 (page-list->subschematic (#<unspecified>) ("rs"))
> > In srfi/srfi-1.scm:
> >    592:17  2 (map1 (#<unspecified>))
> > In netlist/traverse.scm:
> >    457:53  1 (page->subschematic _ ("rs"))
> > In unknown file:
> >            0 (%page-filename #<unspecified>)
> > 
> > ERROR: In procedure %page-filename:
> > In procedure %page-filename: Wrong type argument in position 1:
> > #<unspecified> Failed to run gnetlist
> 
> No, there should be no name conflicts. 'Failed to run gnetlist' is just
> an old error message string in lepton-sch2pcb.c. Please check if all
> sub-schematics can be found by the tools.

This one works fine:
 lepton-netlist -g bom2 -o ds2480din_2.sch.list  ds2480din_2.sch
as does it for most backends.

///

This is strange, if I add -v it seems to work:

$ ls -lrt ds2480din_2.*
-rw-r--r-- 1 karl users 113568 Nov 29 20:38 ds2480din_2.pcb
-rw-r--r-- 1 karl users  12818 Nov 29 20:44 ds2480din_2.sch
--- karl AT angelit 20:56:39 --- ~/git/openhw/boards_other/one_wire ---
$ lepton-sch2pcb -v  -d . -d /home/karl/git/openhw/share/pcb -d /usr/local/share/pcb/pcblib-newlib ds2480din_2.sch > log
WARNING: 5En has no footprint attribute so won't be in the layout.
WARNING: 5Vin has no footprint attribute so won't be in the layout.
WARNING: rs+5V has no footprint attribute so won't be in the layout.
WARNING: rsrs232RxD1 has no footprint attribute so won't be in the layout.
WARNING: rsrs232RxD2 has no footprint attribute so won't be in the layout.
WARNING: rsrs232TxD1 has no footprint attribute so won't be in the layout.
WARNING: rsrs232TxD2 has no footprint attribute so won't be in the layout.
WARNING: rsttlRxD1 has no footprint attribute so won't be in the layout.
WARNING: rsttlRxD2 has no footprint attribute so won't be in the layout.
WARNING: rsttlTxD1 has no footprint attribute so won't be in the layout.
--- karl AT angelit 20:56:54 --- ~/git/openhw/boards_other/one_wire ---
$ ls -lrt ds2480din_2.*
-rw-r--r-- 1 karl users 113568 Nov 29 20:38 ds2480din_2.pcb
-rw-r--r-- 1 karl users  12818 Nov 29 20:44 ds2480din_2.sch
-rw-r--r-- 1 karl users   5852 Nov 29 20:56 ds2480din_2.cmd
-rw-r--r-- 1 karl users   1610 Nov 29 20:56 ds2480din_2.net
$

But without -v it fails and the .cmd and .net files are not created.

Regards,
/Karl Hammar


--==_Exmh_1575057584_229860
Content-Type: text/plain; charset="utf-8" ; name="log"
Content-Description: log
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="log"

    d "."
    d "/home/karl/git/openhw/share/pcb"
    d "/usr/local/share/pcb/pcblib-newlib"
Reading project file: /home/karl/.gEDA/gsch2pcb
    d "."
    d "/home/karl/git/openhw/share/pcb/"
    d "/usr/local/share/pcb/pcblib-newlib/"
    d "/usr/local/share/pcb/newlib/"
Processing PCBLIBPATH=3D"/usr/local/share/pcb/pcblib-newlib:/usr/local/sh=
are/pcb/newlib"
Adding /usr/local/share/pcb/pcblib-newlib to the newlib search path
Adding /usr/local/share/pcb/newlib to the newlib search path
Running command:
	lepton-netlist -g pcbpins -o ds2480din_2.cmd ds2480din_2.sch =

--------

--------
Running command:
	lepton-netlist -g PCB -o ds2480din_2.net ds2480din_2.sch =

--------

--------
Default m4-pcbdir: /usr/local/share/pcb/m4
--------
gnet-gsch2pcb-tmp.scm override file:
    (define gsch2pcb:pcb-m4-dir "/usr/local/share/pcb/m4")
    (define gsch2pcb:use-m4 #t)
Running command:
	lepton-netlist -g gsch2pcb -o ds2480din_2.new.pcb -m gnet-gsch2pcb-tmp.s=
cm ds2480din_2.sch =

--------

--------
Running command:
	rm ds2480din_2.new.pcb.tmp =

--------

--------
Running command:
	rm ds2480din_2.new.pcb =

--------

--------


----------------------------------
Done processing.  Work performed:
No elements to add so not creating ds2480din_2.new.pcb
10 components had no footprint attribute and are omitted.

--==_Exmh_1575057584_229860--


- Raw text -


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