delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2024/05/03/07:45:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 3 May 2024 13:43:09 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Roger Traylor (traylor AT oregonstate DOT edu) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] gschlas for migrating gschem to sch-rnd
In-Reply-To: <9EA57077-D347-472F-893D-37C613056903@oregonstate.edu>
Message-ID: <ac8beb2e-358c-a4d-9c8-38ac162e6ef@grinsen-ohne-katze.de>
References: <C95814B7-3693-4C4E-A5B6-D4A9BE96C1BE AT oregonstate DOT edu> <9EA57077-D347-472F-893D-37C613056903 AT oregonstate DOT edu>
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-747931105-1714736589=:2197
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

Hi Roger,

On Thu, 2 May 2024, Roger Traylor (traylor AT oregonstate DOT edu) [via 
geda-user AT delorie DOT com] wrote:
> Looking at the .sch file that gschlas produces, many components have had 
> their refdes removed and now are "refdes=?”. However, invoking gschem on 
> the same .sch file, the components have their refdes correctly filled 
> in. Bizarre.

this may be my fault.  gschlas is one of these tools that exist at the 
fringe of the suite and don't get much attention; maybe I broke it without 
noticing.  (I guess I should make sure all the tools have tests.)

Does embedding the symbols and saving it under a new name in gschem work?

> Am I missing something here? I can’t bear entering all the refdes by 
> hand. I am using geda-gaf-1.10.2.

Then you have the xorn infrastructure available, which comes in really 
handy here.  If embedding the symbols in gschem doesn't work, I can write 
a short script for this.  (If you want to do so yourself, have a look at 
xorn/src/command/convert.py as a starting point.  Most of the script is 
argument processing; the interesting part starts at "gaf.read.read".)

Roland

--8323329-747931105-1714736589=:2197--

- Raw text -


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