Mail Archives: geda-user/2020/12/09/12:40:33
I have complained about this before.
For a library that I have no control over, but it contains useful stuff
and I like to be able to browse it, this error just makes gnetlist
useless.
$ gnetlist -g PCB -o aa.net pwr_12_9V.sch
`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 129, in main
module.main()
File "/usr/local/lib/xorn/netlist.py", line 299, in main
inner_main()
File "/usr/local/lib/xorn/netlist.py", line 456, in inner_main
symbol_library(value, True, '--symbol-library-search')
File "/usr/local/lib/xorn/netlist.py", line 69, in symbol_library
gaf.clib.uniquify_source_name(os.path.basename(path)))
File "/usr/local/lib64/python2.7/site-packages/gaf/clib.py", line 294, in add_source
_update_symbol_list(source)
File "/usr/local/lib64/python2.7/site-packages/gaf/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
If you want to complain, use a warning instead or just remove the
offending symbol names from the scanning list.
Regards,
/Karl Hammar
- Raw text -