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-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623600634; bh=fWt0SipdKRurfE4IxINZFSkbL1SHe7M/oA9fFFYMKL4=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=R4DWaSJ+FGAafa0eKdB5VZBZU2caYwTFiNTZvmkaLoRmA2MOEfq6Vj2Xe1hzvv/jG Bz8FdKlGvCWlbB7wNVYvzFpFYL0iQ67QoJPNvBikK/tRGyTYtM5BgAgwYV593cXA7U tKx/0pb9y2iN6BT6WLIhwzWruK/6aTyPHbfVCCp8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c MIME-Version: 1.0 Message-ID: From: "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] PCB can no longer imports schematic Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Jun 2021 18:10:34 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:oAqtymwb1fi5O/wKbj1knGW1hxI+D+QZd1pWPXzi1kdehNb5U+iJN8n2fP2aEFpePZOUO +EZXY6kCKv2ssXI40PpH2F+0x17wYUFi0KA98KeCiHPx6u7EcTTk5gjpIhZGqnKUsfIfF/figGQ2 CCv4GR+erTZ2UOFfjxet5+4jhVQC6sJtKAxEUBCUmhPcbKBpCkV1xSm6ODSFbvO1n1s7z7kS9lLd tpEVGVrKLcwHZ5fb5PiSpcMG1B6EyIKu8zU/Ja+w54jMbCevdUd7ZqiDJO2AVFC/BHqoUejiNsu7 6s= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wrldSBo3q+g=:ffTM/fu9lniayh35j7QZgi eb18WHykPlZkrKQG530UjnkaVqmJixaUn3OcIDM4KRNtyRgw+WLZR/pcjfkJl5+cQjZbA1amm W0cP9pTLkJyU/bjCX20D/Qyrkr/w2TxGtRRR/Mku+0m+BOZ99AeEPMD5CWz6qkWFQ8edzh8Zh JircU+HhBPmee5Mu0M8iJl0M/YArQtWqgQwtOJeRwARe2JBCXd0H5Uqsd2+/YRebTjlW6DZ1E AuWcZ5sT9PoTFXTizeNXefOeASAVOUMCJl+BlO0Wxt1+2a/85VtL+viqhZvfLoOtU3nSWVaUT 0m0Ik/kQOjoHRiCOpztXN1uY0WU17ZAlF+tyIaoDu8hB9/8XthTV6cO0X/4Z+eui8pzpvgAw8 cnKRF+DOfDeDnl740ya6VuNl+FqYhXME5ZoM+CWGjdGRB/P54nacBsaBmUCtBEMK/RZAom6h0 WcV7RGcywjL9Mz1EvfqQI6rky7T8QOOeB/G9H58gC5cRieWZGxsif19ll8TzRaOVhxi4N9q6V zhiNFl46Ii8RO4hjyXDNU4270mkV/NRYo0XCSRPd3Y2mvZuXlvICY+OubpPQBtT+r2GqFov84 yK1XLievR5Asfpj/dGUerviYJSnn4BXKtarLUJvpJAP+lhzO4tmyVtjD7YuDukwJGDh5p+AOL Kc2ZZXff9I89R6lIT1bLUdmPw3fRU/2bki7gAgzKZtcLCxqSlWG4gAB+pQ5U+pIZxojEqSU8Z Fb6UpcW7+/DLt4kb34a8lhiJz80b9Hr81wxBe+oh2NjKl1IHK9RJ+oN+y7hNMEoM0W4C/Tuud +BUnV7dF+7J26CtFCvF/WgF/Azf4g== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 15DGAbrC012622 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 > Sent: Sunday, June 13, 2021 at 1:25 PM > From: "Roland Lutz" > To: "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" > Subject: Re: [geda-user] PCB can no longer imports schematic > > On Fri, 11 Jun 2021, Claudio Fabri (clafi AT gmx DOT com) [via > geda-user AT delorie DOT com] wrote: > > I cleaned the cache and restarted gnetlist --list-backends, same (kind > > of) error. > > That's actually a quite different error. > > Running gnetlist on a fresh install (or after removing the Guile cache) > has sometimes led to problems; Guile appears to compile files differently > depending on the execution environment. (*sigh*) I tend to run gschem > first so Guile compilation happens correctly. That said, this doesn't > appear to be the problem here. > > > ERROR: Throw to key `python-exception' with args > > `("exceptions.UnicodeDecodeError" "'ascii' codec can't decode byte 0xc3 > > in position 59: ordinal not in range(128)")'. > > > Failed to load RC file [gafrc] > > I have tried different things to reproduce this error, and while I did > find several different bugs (I really should do mean things to gEDA/gaf > more often), I couldn't reproduce your problem. > > The most probable cause is a non-ASCII character in a place where gEDA/gaf > doesn't expect it. If you have any special characters in your pathname, > "gafrc" file, or similar, maybe you could test if the problem goes away > (or the error message changes) if you remove this character? Knowing > where the error comes from would be very helpful in solving the issue. > > Roland OMG! You're my saviour (at least so far ;-) I indeed have an accented character in the current directory name. I ran gnetlist --list-backends from another directory and I now get a list of backends. So far so good. I'm still not quite there yet though as here's the error I get when I import a schematics from application pcb itself: ERROR: Could not find backend `pcbfwd' in load path. But at least that's not some nonsensical message. I looked up on my system and there's a file named gnet_pcbfwd.py in a directory named /usr/lib/xorn/backends, owning package: geda-gaf-1.10.0-1... what? Here are the installed backends that contain "pcb", lower- and upper-case in their name: ~# gnetlist --list-backends | grep -i pcb [PG] PCB [PG] gsch2pcb [PG] liquidpcb [P ] pcbfwd [PG] pcbpins This works: gnetlist -g PCB -o oscillator.net oscillator.sch This doesn't: gnetlist -g pcbfwd -o oscillator.net oscillator.sch I've also inspected the list of files for package pcb (I have version 4.2.2) and there's also a file named gnet-pcbfwd.scm in /usr/share/gEDA/scheme/. I feel we're close but I need a hint at this point. Claudio