www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/10/07:35:06

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=to:from:subject:mime-version:content-type:content-transfer-encoding;
s=smtpapi; bh=MJD5MgQkGo0bgzPYYqDrimE4S4g=; b=mQJKNAJf9EjeR8sa1H
u1GI8EKdvRJLmlAyP24dkZcuTbK/VJP49Dl1eJyRjD+8TEAWdibje6rAhpD7vx+3
9srxYZcqMZGB5XecZlvGt8CpcJlnebX3CuH46SnhXqZPoSjr2F/WXjMvcqzJFpRf
GFpyFfMVpJlYRYvxPnGvb6a18=
To: geda-user <geda-user AT delorie DOT com>
From: "John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: [geda-user] large difference in gnetlist error message between versions.
Message-ID: <31a96361-438d-a672-8be7-5984e989d74b@ecosensory.com>
Date: Fri, 10 Feb 2017 06:33:21 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Icedove/45.4.0
MIME-Version: 1.0
X-SG-EID: V53lTA/kUP1+IqXnzXuv0M/cu/N8aMtf7nxyAyKnAkvzk29MgVvwk7C5qOaeEeCRW8lqVyxVuo6s4o
Gg18GZCg1vJyzBwHuRh4+ItIibURj7TPvuF5po7ba2MwOIH6L4z9JHpDfzXNKmXThYC3y3xXEU/hfX
ksQ17Z+ixx4cEpSS2t25Au2S0MPy8vYMt26A1VwxSEL9rGTHbIeWPUQRChpGLBHpvr4zuYBaD/7u5D
M=
Reply-To: geda-user AT delorie DOT com

I was spinning wheels stuck yesterday with the error output of gnetlist from mainline geda-gaf:
/* Current git commit. */
#define PACKAGE_GIT_COMMIT "a801aaa0f50c0c49bdf759b3043f79c49007ff14"

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...

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.


cat output.net
Checking non-numbered parts...
ERROR: Reference not numbered: U?

Checking duplicated references...
ERROR: Duplicated reference U?.
ERROR: Duplicated reference T1.

Checking NoConnection nets for connections...

Checking nets with only one connection...
ERROR: Net 'unnamed_net12' is connected to only one pin: J2:2 .
ERROR: Net 'PC0' is connected to only one pin: J3:18 .
ERROR: Net 'PC1' is connected to only one pin: J3:17 .
.
.
ERROR: Net 'PB9' is connected to only one pin: J3:7 .

Checking pins without the 'pintype' attribute...

Checking type of pins connected to a net...

Checking unconnected pins...
ERROR: Unconnected pin J3:5
ERROR: Unconnected pin J3:6

Checking slots...

Checking duplicated slots...
ERROR: duplicated slot 1 of uref U?
.
.
ERROR: duplicated slot 1 of uref T1

Checking unused slots...

No warnings found.
Found 22 errors.

With all that info I can debug...

So, the conversion of gnetlist to python has left out a lot of usefulness.
So much that I cannot spend time helpign to debug the code today -- too much deadline pressure,
so I'm using https://github.com/vzh/geda-gaf/tree/unstable-1.9


-- 
John Griessen -- building field gear for biologists
Ecosensory  Austin TX  ecosensory.com

- Raw text -


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