www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2023/03/04/14:38:38

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 4 Mar 2023 20:19:14 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] Strange errors importing gschem into PCB
In-Reply-To: <e142bdaf-597f-6219-5653-993cf530a50a@linetec.nl>
Message-ID: <40bb8153-a4f9-b79c-b4db-d5ed94516e67@grinsen-ohne-katze.de>
References: <e142bdaf-597f-6219-5653-993cf530a50a AT linetec DOT nl>
MIME-Version: 1.0
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

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-34409039-1677957554=:8239
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

Hi Richard,

On Sat, 4 Mar 2023, Richard Rasker (rasker AT linetec DOT nl) [via 
geda-user AT delorie DOT com] wrote:
> However, things are somehow broken now. Nothing happens when I choose File
> -> Import Schematics -> gschem to import a slightly modified schematic, and
> the Log window also doesn't show an error message.

this happens if the GTK2 bindings for Python are missing.

> When I start PCB from the command line, I see the following errors when I
> try importing the schematic:
> 
> Loading schematic [/home/richard/electron/Test/Test_Err.sch]
> package `U101' (unmangled), pin `8': error: multiple nets connected to pin:
> "5V" vs. "unconnected_pin-2"
> package `U101' (unmangled), pin `4': error: multiple nets connected to pin:
> "GND" vs. "unconnected_pin-3"
> package `U102' (unmangled), pin `8': error: multiple nets connected to pin:
> "unconnected_pin-4" vs. "5V"
> package `U102' (unmangled), pin `4': error: multiple nets connected to pin:
> "unconnected_pin-5" vs. "GND"
> could not open action file "/tmp/pcb.XX9e3A0V/gnetlist_output"
> 
> […]
> 
> Does anyone have an idea what is wrong here?

I added a few sanity checks to gnetlist which are supposed to catch common 
errors in the input schematics, like in this case, a pin being connected 
to one net in one (partial) symbol and to another net in another symbol. 
Apparently, this check is too strict: since you didn't connect the power 
pins in one of the symbols, gnetlist inserted an automatic "unconnected 
pin" net which conflicts with the power net.

As a workaround, you can copy the power connections to all instances of 
the dual opamp symbol (make sure to swap them for the top-left, flipped 
symbol).

Roland

--8323329-34409039-1677957554=:8239--

- Raw text -


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