delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/12/09/12:40:33

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: comp
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] gnetlist, duplicate symbols
Mime-Version: 1.0
Message-Id: <20201209172100.C6518824114E@turkos.aspodata.se>
Date: Wed, 9 Dec 2020 18:21:00 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com

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 -


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