delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2023/03/04/16:47:29

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Virus-Scanned: Debian amavisd-new at mail.linetec.nl
Message-ID: <8edec3dd-d6d1-c94c-3fcf-cd634b7e214e@linetec.nl>
Date: Sat, 4 Mar 2023 22:27:32 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Subject: Re: [geda-user] Strange errors importing gschem into PCB
To: geda-user AT delorie DOT com
References: <e142bdaf-597f-6219-5653-993cf530a50a AT linetec DOT nl>
<40bb8153-a4f9-b79c-b4db-d5ed94516e67 AT grinsen-ohne-katze DOT de>
From: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
In-Reply-To: <40bb8153-a4f9-b79c-b4db-d5ed94516e67@grinsen-ohne-katze.de>
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

Hello Roland,

Op 04-03-2023 om 20:19 schreef Roland Lutz:
> 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.

Yes, I see a question asking if pygtk is installed. However, I can't 
find any package by that name. Or is this part of another package?

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

Yes, thanks, that works.

Another new thing that I noticed is that I now get tons of DRC errors 
for pads that are directly connected to polygons ("Pad with insufficient 
clearance inside polygon"). I have lots of devices that need to be 
connected to polygons, e.g. ICs with exposed ground pads that must be 
connected to GND and power MOSFETs that need copper area as a heatsink. 
Can I turn off these errors? And how am I supposed to make these 
connections without getting those error messages?

Richard

- Raw text -


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