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 smtp-vp02.sig.oregonstate.edu From: "Roger Traylor (traylor AT oregonstate DOT edu) [via geda-user AT delorie DOT com]" Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: [geda-user] gschlas for migrating gschem to sch-rnd Date: Fri, 3 May 2024 10:42:01 -0700 References: <9EA57077-D347-472F-893D-37C613056903 AT oregonstate DOT edu> To: geda-user AT delorie DOT com In-Reply-To: Message-Id: <0EDF991E-499B-4781-8AC4-6EC32836E78D@oregonstate.edu> X-Mailer: Apple Mail (2.3696.120.41.1.8) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 443Hg7VJ741166 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 Precedence: bulk Roland, Thanks so much for replying to my request for help. Much appreciated. I tried opening up the embedded version of the schematic and saving under another name. When doing so, the newly created version also has “refdes=?”! Does gschem cache schematic data? This behavior makes no sense to me. Keep wondering if I did something stupid. I can send you the .sch file if that is helpful. Roger > On May 3, 2024, at 4:43 AM, Roland Lutz wrote: > > [This email originated from outside of OSU. Use caution with links and attachments.] > > 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