www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/10/16:43:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.net;
h=subject:to:references:from:mime-version:in-reply-to:content-type:content-transfer-encoding;
s=smtpapi; bh=OccAZINQoeQzM+cgBl6PdRwKqHg=; b=ZI/f1OQE2Ha2FG1VML
c8eBUFy6W69U/yJ8E8tkzNbIgFdcX8YhWWZGqEWAa7e2Zziakww6YeKNwJRWm9Fy
PtWGyU9JXTKbR6OotF5ohI9UhknVEj/v7RgtpaNg0PE96MG3gBO5E1gcOz2QtFZ6
22iyQPd7wQxx0JbHbENZZ51nQ=
Subject: Re: [geda-user] large difference in gnetlist error message between
versions.
To: geda-user AT delorie DOT com
References: <31a96361-438d-a672-8be7-5984e989d74b AT ecosensory DOT com>
<alpine DOT DEB DOT 2 DOT 11 DOT 1702102117260 DOT 1490 AT nimbus>
From: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <285b05ae-34f0-517d-f6f7-8cb9a3d08d43@ecosensory.com>
Date: Fri, 10 Feb 2017 15:41:44 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.11.1702102117260.1490@nimbus>
X-SG-EID: V53lTA/kUP1+IqXnzXuv0M/cu/N8aMtf7nxyAyKnAktL/jwhG0qZoMFciAKOdB+39CSzjB4PuwFoAk
1q1ZPczMQKW32l0wtzu8lepKHEVdXwKJRjC5z9tMmep9EWj6pkZn/wMQXnQtOX1NZ6AffZ3BVO0D6o
1r1KL5LfI4AFAZLJugNTcI757d9l2fPAQDCsqi5X9/RgG40UsFu16t1iXU/B2eziGd/dJHnjnUIGoN
w=
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v1ALflwX029684
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

On 02/10/2017 02:29 PM, Roland Lutz wrote:
> On Fri, 10 Feb 2017, John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com] wrote:
>> gnetlist -g drc2 kvboard.sch
>> kvboard.sch:487x454: error: could not find refdes on component and could not find net= attribute on pin
>>
>> It gives no clue as to which symbol has problems...
>
> As the error message says, the refdes is missing, so there is no command line-friendly way to specify which symbol it is.
> “kvboard.sch:487x454” means that the offending symbol was found in kvboard.sch at coordinate 487x454 (an information which I added
> to the error message).

I got the idea of coordinates, turned on the coords window, but they did not seem to match any relevant symbols.
They pointed to empty drawing space, or resistors, which had no mods and were not suspect.
I just made a copy of my schematic and deleted until the drc was clear to find the trouble.

The confusing part was that I modified power and ground symbols and do not like the way they work, so
I was hitting a wall that is usually not tested, and had not very helpful error messages.

 >> When I use Vladimir's fork:
 >>
 >> Could not find refdes on component and could not find any special attributes!
 >> Possible attribute conflict for refdes: T1
 >> name: numslots
 >> values: (#f 0)
 >> Possible attribute conflict for refdes: T1
 >> name: numslots
 >> values: (#f 0)
 >> DRC errors found. See output file.
 >
 > The other messages are unrelated to this error.  In fact, they are misleading because they state a non-error (the numslot=
 > attribute being set on one component of a package and not on another).

They maybe unrelated to the particular error, but comments about T1 conflict were completely missing in the other version, and
they were helpful for fixing errors and debugging and ruling out things.

 >> So, the conversion of gnetlist to python has left out a lot of usefulness.
 >
 > As you can see, it hasn't.

To me, the error messages were confusing and did not help.  They need work.
Especially the lack of the output file when there are netlisting errors.  That's a chicken/egg dilemma.

Thanks for your efforts on this Roland,

John Griessen


- Raw text -


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