| www.delorie.com/archives/browse.cgi | search |
| 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=1623881015; | |
| bh=fpGWf+fhLfNC0SiNZZ9XmElRjn5/XSzvLsA/lAdEaM0=; | |
| h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; | |
| b=Z//iww6rAwZQapZUbGAOr4i3WDNkHms3pjSXCVuoYb72pcRqdtxDaI5tE/WS1hz7q | |
| AZQTLkbvLp5ADt/OBOO9dA/h2qqm6Qzw1UrSohwZ92fHwBR6j+2eBFQFDQR8X4dxtP | |
| 50whkqIqXQRmy7Q/Y7y1+4uw8M7WqzgX7Ssr2fEw= | |
| X-UI-Sender-Class: | 01bb95c1-4bf8-414a-932a-4f6e2808ef9c |
| MIME-Version: | 1.0 |
| Message-ID: | <trinity-548562a1-0490-416e-bffe-a6b71d3e0869-1623881015439@3c-app-mailcom-bs12> |
| From: | "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| To: | geda-user AT delorie DOT com |
| Subject: | Re: [geda-user] PCB can no longer imports schematic |
| Date: | Thu, 17 Jun 2021 00:03:35 +0200 |
| Importance: | normal |
| Sensitivity: | Normal |
| In-Reply-To: | <alpine.DEB.2.21.2106131901090.1159@nimbus> |
| References: | <trinity-f4e69ccb-b2bb-4ee0-85c3-f30957761225-1623237572882 AT 3c-app-mailcom-bs08> |
| <alpine DOT DEB DOT 2 DOT 21 DOT 2106091750380 DOT 8283 AT nimbus> | |
| <trinity-173a0efa-ea79-4f07-b77a-b9c93a0d3d83-1623444822237 AT 3c-app-mailcom-bs16> | |
| <alpine DOT DEB DOT 2 DOT 21 DOT 2106131312150 DOT 18206 AT nimbus> | |
| <trinity-0a59e913-75aa-4e05-911e-2ae7aa43afcf-1623600634718 AT 3c-app-mailcom-bs16> | |
| <alpine DOT DEB DOT 2 DOT 21 DOT 2106131901090 DOT 1159 AT nimbus> | |
| X-UI-Message-Type: | |
| X-Priority: | 3 |
| X-Provags-ID: | V03:K1:xOjeqt8dQQu0LuYf+xZAynnV48IYc9pfBHndZDDsgLNVfIlCXzsAHRETc4W8wfRyQQJY3 |
| dNvMr8ZZzw103bxU/XvhWuzIkMteTFt/nMTUeq+ZEgIXCVTWxradmyQKeC9Y19qKg7zm1uePTrPG | |
| W3Jznr4lspDWLJx16vognx9xS1C2qpZ+MhLjLtwkEpROGKWpdOySV1bWK671n46eud1JNXQssGob | |
| K23WHz/6qxDfmU1/gJVEIRHMYnFWVjTTCXpvxExBLlFKU4lwxmqL0kd7XLOqJysmIJrt0U7MXsAZ | |
| Ds= | |
| X-Spam-Flag: | NO |
| X-UI-Out-Filterresults: | notjunk:1;V03:K0:HU+k1ViOKNw=:Ybsn+JMGC/13amgMXF7Arq |
| VtoMSotjpk2mHaFYWkX62zIs7S8Tx2ZBtAv/04pw4mnKtQVDmmvPFXzNGXTjOc6LKkYErOO4/ | |
| EBVQsOLXxaxRKJHlJmHc0ujxsHIGhggdlX5PHFFsBdgiNbyvShgwfwgEvABIRSUkZMmJC4S0b | |
| xAwVNLkAkty8CTyKj29UbJoSxgrlfZqz4uvR/MlL/WfnvbFAyoFnE0G9UsK+ajnwyLAX1kJb4 | |
| cLKJKvSmPRMzb5E9xf68mLe5c6ukiUB8/+uXPq6c9Hg0bpPEsDEeY6jJOALYlrzDCDKhPv66C | |
| A2nwfx2xI2EMWKOs5K+Vp2GDiT1IW1e0nYD8ipDcGpMimLRFFeN9bBkKbJQtLEhvkeGrEcg+X | |
| 2PJxtv2xsgR38JtNvE+3ilttelPDK60+rlnHqXnrDyn9mWGRmoL4IshR0IUkrjYqkaGG6Kjj6 | |
| OaQNYdKT3HMRTF0X2yWLng9+Rpgc/L2R7FpVqemggqi1laUYEPzigSZkdqnX9OYsYUGd8U/L2 | |
| IzdKXWJUd4iRB6HfzoRiP0ykAuE7ck4UmV85VqIQvkDx6FQ+POOCkFdy9EbZ1F9V86Bqh9iNO | |
| bDATQpSRUvt+F1S4PSU/NS8egwZohBqqVR8Mc834dLHShpw4mlgXmZ19DAANKbeHKY9rJK4lz | |
| aF/vLhCkOMtpHBFVETDkmysPmaGXRDhYHdNT32OBx1Aqoal03//nxZOQtgsba/xGhm+h2wwTL | |
| l0iJXVjWOLaFknaj5ZOttwsZEjJCrjTza3aRSkeIX25s25AXktbU9Vskl5NFgvEd7RZhv8WPe | |
| bz0rP49uF6ShJ31c038dUz5T3OmMA== | |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id 15GM3c4C000581 |
| 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 |
> Sent: Sunday, June 13, 2021 at 7:19 PM
> From: "Roland Lutz" <rlutz AT hedmen DOT org>
> To: "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
> Subject: Re: [geda-user] PCB can no longer imports schematic
>
> On Sun, 13 Jun 2021, Claudio Fabri (clafi AT gmx DOT com) [via
> geda-user AT delorie DOT com] wrote:
> > 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.
>
> Hmm. I tried that, but that works fine on my machine.
>
> Do you use a non-UTF8 locale?
Nope, fr_BE.UTF-8
> > ERROR: Could not find backend `pcbfwd' in load path.
> >
> > […]
> >
> > ~# 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/.
>
> Ah, yes. There are two variants for most backends: the legacy Guile one
> (used with the -g option) and the newer Python one (used with -p).
> Traditionally, the pcbfwd backend was supplied by PCB, so either PCB needs
> to be installed to the same prefix as gEDA/gaf (so gnetlist finds the
> gnet-pcbfwd.scm file), or the backend paths need to be adjusted correctly.
> gEDA/gaf comes with its own Python version of the pcbfwd backend, so using
> `-p pcbfwd' would work, but AFAIK, PCB doesn't allow changing the import
> command.
>
> You can add the directory to which gnet-pcbfwd.scm was installed by PCB to
> the backend load path by adding the following line to your "gafrc" or
> "gnetlistrc" file:
>
> (scheme-directory "PCBPREFIX/share/gEDA/scheme/")
>
> where PCBPREFIX needs to replaced with the directory PCB was installed to
> (like "/usr/local"). Now, "gnetlist --list-backends" should yield
>
> [PG] pcbfwd
>
> with a G indicating that the Guile version of the backend was found.
>
I realized I only had to install pcb again to make it work as it installs the *.scm file in gEDA shared directory — I had removed all *.scm files before, as you suggested. After that gnetlist backends lists P and G versions.
Now I get this error:
Redirecting warnings and errors to GUI dialog...
`xorn-netlist' raised an uncaught exception.
This is an error. Please report it to bug-xorn AT hedmen DOT org
Traceback (most recent call last):
File "/usr/bin/xorn", line 129, in main
module.main()
File "/usr/lib/xorn/netlist.py", line 306, in main
import gaf.netlist.reportgui
File "/usr/lib/python2.7/site-packages/gaf/netlist/reportgui.py", line 23, in <module>
import collections, cStringIO, gtk, pango, re, traceback
ImportError: No module named gtk
I tried to install pygtk but the system won't as there seems to be no package named "libglade" available, which is a required dependency.
However...
I could make pcb work again by (I suppose) preloading the netlist (which has to be generated before hand) and importing the schematics. Now I get all the components placed and ratsnest properly.
I think I can figure out how to sort out the rest of my issues but so far gschem/pcb/gnetlist all seem to work again.
Thanks a lot for your help.
Claudio
> Roland
>
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |