delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/03/21/11:28:37

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.6
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] current gnetlist from git and hierarchy
In-reply-to: <alpine.DEB.2.20.1803202117510.2530@nimbus>
References: <20180312013908 DOT 3dbbb5bc AT swips DOT iqo DOT uni-hannover DOT de> <alpine DOT DEB DOT 2 DOT 20 DOT 1803202117510 DOT 2530 AT nimbus>
Comments: In-reply-to Roland Lutz <rlutz AT hedmen DOT org>
message dated "Tue, 20 Mar 2018 21:55:18 +0100."
Mime-Version: 1.0
Message-Id: <20180321152652.CDB05807DEBE@turkos.aspodata.se>
Date: Wed, 21 Mar 2018 16:26:52 +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

Roland Lutz:
> On Mon, 12 Mar 2018, Kai-Martin Knaak wrote:
...
> > grep-ing through the source of gnetlist I found a list of hierarchy
> > related options in netlist.py . These include
> > 	--hierarchy-refdes-separator
> > 	--hierarchy-netattrib-mangle
> > 	--hierarchy-netname-separator
> > So the options I need seem to be available. But how do I activate them?
> 
> There are two ways to invoke the netlister: the traditional "gnetlist" and 
> the new "xorn netlist".  When the netlister is invoked as "gnetlist", it 
...

Ok, it would then be something like:

xorn netlist --hierarchy-refdes-separator="" --symbol-library-search=/Net/cvs/cvs.gedasymbols.org/www/user --symbol-library-search=~/git/openhw/share/gschem -g partslist1  joystick_mouse_isolated.sch

///

It behaves a litte dissimilar since it doesn't like a tree with
duplicate names in it (even though I don't use thoose symbols):

`xorn-netlist' raised an uncaught exception.
This is an error.  Please report it to bug-xorn AT hedmen DOT org

Traceback (most recent call last):
  File "/usr/local/bin/xorn", line 140, in <module>
    main()
  File "/usr/local/bin/xorn", line 126, in main
    module.main()
  File "/usr/local/lib/xorn/netlist.py", line 375, in main
    symbol_library(value, True, '--symbol-library-search')
  File "/usr/local/lib/xorn/netlist.py", line 65, in symbol_library
    xorn.geda.clib.uniquify_source_name(os.path.basename(path)))
  File "/usr/local/lib64/python2.7/site-packages/xorn/geda/clib.py", line 294, in add_source
    _update_symbol_list(source)
  File "/usr/local/lib64/python2.7/site-packages/xorn/geda/clib.py", line 267, in _update_symbol_list
    "while scanning library [%s]: %s" % (symbol, source.name)
ValueError: Duplicate symbol name while scanning library [gnd-1.sym]: user

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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