| 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=1623444822; | |
| bh=PysXPTEhJVVx9yc00EwdLeInpbX6D6fASCc+Qv2Doxs=; | |
| h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; | |
| b=XAE0h0+BV9hdWyl6KXwEQ5mo7PQYSql/An26PECxmLLTlLVlBbuZLt8EzTFuCttIx | |
| ZmPugR5feu/P2Rbp8TyyDERnU1AQ1w6NESnkyTWM/RqcLvm3zt7oun/2DYVwY7Qk3R | |
| M3vtHCJLrbR5X87bkFoYZjB3W6ODWBkQD2oOL/Ac= | |
| X-UI-Sender-Class: | 01bb95c1-4bf8-414a-932a-4f6e2808ef9c |
| MIME-Version: | 1.0 |
| Message-ID: | <trinity-173a0efa-ea79-4f07-b77a-b9c93a0d3d83-1623444822237@3c-app-mailcom-bs16> |
| 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: | Fri, 11 Jun 2021 22:53:42 +0200 |
| Importance: | normal |
| Sensitivity: | Normal |
| In-Reply-To: | <alpine.DEB.2.21.2106091750380.8283@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> | |
| X-UI-Message-Type: | |
| X-Priority: | 3 |
| X-Provags-ID: | V03:K1:tsypJCEtFITGwCV/d8wMeIgMZPhl4BS7iD+rVbur3XmYaOQoKhcUxwJo80FYaMA6HEod6 |
| glWvvDxsRYDb6hUvq6J6CYuXNhXz0ptTIGW0xk7crkqf0qxxH7ib55ColiM04en59Ytv/z0JErug | |
| N1uGSq/LwvHZI9l/o+b+RmfCQ8kS+C1/lOSKbZ3vam228h6kBmeEMMc0788C4nhgJO1P/iYGdgDN | |
| I6DFWBc8WNVs83BdfYT33KdVh2z8ytODFO8hjDNVD2YOXfVjoVuWOmo3NI3Sa8y505WHcPC+QvuH | |
| Pk= | |
| X-Spam-Flag: | NO |
| X-UI-Out-Filterresults: | notjunk:1;V03:K0:cY5GaDUP0P0=:RJAgrb/xq+XAXmISGxnhRM |
| ncKgYz21LeqCpqfZN7gCd+Z2a8d1QoIBfaRAMFopa3QQ/mbCho277eKkn3Oj68IGvbLBfyt/v | |
| 7uAzIAFG+z1iqsO5nPB+30VAslS3jP7HMgXPjZXM+8egLR5Sg1Ge18TEDfC2QMNt8PVFsHIki | |
| 0tC75ZyFV8ikcj33w4VhkfLd5c3ygwKxqkxOVhLZzHNjgMRUOc43QCl0uf3yIlmwMUMKh1z7a | |
| rRY4GmMJXSAFLCXk7t7Wc6uT8vCDK2FLJhbU8Az84oMdOzmEZ6dHPf0KJKNkAYMJyMARGYGmI | |
| YkmBehgQ7rluXVupnqlVZKjhU4q2DHJp+3gqRmvWzDjjCC/waaLEovEeNvYIveGlv96K/n+4O | |
| D1A+f5qA/kyyayvKeKR2UxKEmlqKBX7j/eIK5HilmoBN8rpQyno6KWj+R+u5Go7ae6xC99t74 | |
| bquBwVajBjCVLxRIckK0KOfI5x2xweo/R287eKM8QHkM4R8yGIxqU42cOVSt0HD5RSiF8Sd14 | |
| vOFMo+4zrCFo5JHJcDZwDHptUMTvFh52xyS3F2la4zQ9ADSnhUuTtJrRDLInI9x4qUiPFj1Z0 | |
| 2Y/Ik1dUwuSafWRka/NZFUnzuEWglQXT4P3KruKgnSPYO/jlZKhBZDbDRLs9fdE7spPUnga2W | |
| 4FQorQQDtty1faC+hH70faNBsx8VtD0kxlbss0gFYv1lPuta4HlOoKoggVGeWBRXmD0Tw76G5 | |
| DlJiR2L+gfuakars6x3aqwYcSx8f2xZdhdHbSwS4OJd/XKNnO7YUo0kwi2FUzpjbbvFVBpvt0 | |
| tP610M5pGnIYjUGsrbVn6XjNWuRyA== | |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id 15BKrjI6029937 |
| 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: Wednesday, June 09, 2021 at 6:12 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
>
> Hi Claudio,
>
> On Wed, 9 Jun 2021, Claudio Fabri (clafi AT gmx DOT com) [via
> geda-user AT delorie DOT com] wrote:
> > ERROR: In procedure string-append:
> > ERROR: In procedure string-append: Wrong type (expecting string): #f
> > Failed to load RC file [/usr/share/gEDA/system-gafrc]
> >
> > I don't know what to do at this point to sort this out so I need a
> > little helping hand.
>
> the variable "geda-data-path" appears to be set to "#f" when it should
> actually contain the path to the gEDA data directory (i.e., something
> along the lines of "/usr/local/share/gEDA").
>
> "geda-data-path" is set to the result of a call to "sys-data-dirs" in
> .../share/gEDA/scheme/geda.scm, and I don't see how "sys-data-dirs" could
> return "(#f)". Have there been any previous errors which you haven't
> reported?
Thanks Roland.
No, this is the first step in my attempt to sort it out.
> This looks to me like an issue with Guile and/or gEDA/gaf's installed
> Scheme files. Have you verified you are using Guile version 2.0.x?
> Sometimes it helps to remove the Guile cache in ~/.cache/guile/ccache/.
I cleaned the cache and restarted gnetlist --list-backends, same (kind of) error. I'm posting it here just in case:
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/gEDA/scheme/geda.scm
;;; compiling /usr/share/gEDA/scheme/geda/os.scm
;;; compiled /home/vinz/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gEDA/scheme/geda/os.scm.go
;;; compiled /home/vinz/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gEDA/scheme/geda.scm.go
;;; compiling /usr/share/gEDA/scheme/geda-deprecated-config.scm
;;; compiled /home/vinz/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gEDA/scheme/geda-deprecated-config.scm.go
;;; compiling /usr/share/gEDA/scheme/color-map.scm
;;; compiled /home/vinz/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gEDA/scheme/color-map.scm.go
Backtrace:
In ice-9/boot-9.scm:
160: 9 [catch #t #<catch-closure 7f779325f120> ...]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 7f779325f120>]
?: 7 [call-with-input-string "(with-fluids ((rc-filename-fluid \"gafrc\") (rc-config-fluid (eda-config-scm-from-config #f))) (primitive-load \"gafrc\"))" ...]
In ice-9/boot-9.scm:
2412: 6 [save-module-excursion #<procedure 7f7792f69f60 at ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
44: 5 [read-and-eval #<input: string 7f7792fe75b0> #:lang ...]
37: 4 [lp (with-fluids (# #) (primitive-load "gafrc"))]
In ice-9/eval.scm:
481: 3 [lp (#<fluid 27> #<fluid 28>) ("gafrc" #f)]
481: 2 [lp (#<fluid 28>) (#f)]
In unknown file:
?: 1 [primitive-load "gafrc"]
?: 0 [#{<Python function>}# "."]
ERROR: In procedure #{<Python function>}#:
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]
> If you have recently re-instaled gEDA/gaf, there could be some older
> Scheme files interfering with the current installation. In this case,
> uninstall gEDA/gaf, make sure there are no gEDA/gaf *.scm files left on
> your system from any older installation, clear the Guile cache again, and
> then re-install gEDA/gaf.
So I uninstalled geda-gaf, cleaned the cache, reinstalled and ran gnetlist --list-backends, same error again :-(.
I don't know if it helps but I also have guile-1.8 installed. However when I run the gnetlist command, here's the cached guile directory:
~# ll .cache/guile/ccache  ✔
total 4
drwxr-xr-x 3 vinz vinz 4096 11 jun 22:48 2.0-LE-8-2.0
Claudio
> I hope this helps...
>
> Roland
>
>
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |