Mail Archives: geda-user/2021/07/03/10:48:53
source-library-search duplicates the last element in its argument.
///
If I have (in gafrc):
(define home (getenv "HOME"))
(source-library-search (build-path home "git/openhw/share/gschem"))
I get (at startup, e.g. lepton-cli export):
** (export:8307): CRITICAL **: 16:20:23.520: Invalid path "/home/karl/git/openhw/share/gschem/gschem/_connector" or source not readable.
and similar lines, why the gschem/gschem duplicate ?
component-library-search and source-library works lika
a charm, why not source-library-search ?
If I use "git/openhw/share", it duplicates "share".
If I use "git/openhw", it duplicates "openhw".
If I use "git/openhw/share/_sub_page", I get:
Backtrace:
In ice-9/boot-9.scm:
160: 7 [catch #t #<catch-closure 7f9eb23e7460> ...]
In unknown file:
?: 6 [apply-smob/1 #<catch-closure 7f9eb23e7460>]
In ice-9/boot-9.scm:
160: 5 [catch #t #<catch-closure 7f9eb21c9ec0> ...]
In unknown file:
?: 4 [apply-smob/1 #<catch-closure 7f9eb21c9ec0>]
In /usr/local/share/lepton-eda/scheme/lepton/library.scm:
135: 3 [source-library-search "/home/karl/git/openhw/share/_sub_page"]
117: 2 [get-tree #f]
In ice-9/boot-9.scm:
105: 1 [#<procedure 7f9eb1fdaf00 at ice-9/boot-9.scm:100:6 (thrown-k . args)> match-error ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 7f9eb21c9e40> match-error ...]
ERROR: In procedure apply-smob/1:
ERROR: In procedure match: no matching pattern
** Message: 16:42:49.836: ERROR: Failed to load RC file [/home/karl/.config/lepton-eda/gafrc]: ERROR: no matching pattern
ERROR: Failed to load RC file [/home/karl/.config/lepton-eda/gafrc]: ERROR: no matching pattern
///
liblepton/scheme/lepton/library.scm
mentions set-library-contents as a replacement, but cannot find it.
Where is it ?
/Karl Hammar
- Raw text -