Mail Archives: geda-user/2018/03/21/11:28:37
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 -