Re: [COOT] error when loading scheme file

2020-09-08 Thread Gabriele Balducci
> I have no idea why it now throws this error: I didn't touch my ~/.coot
> and it has worked for ages
> (I've only an approximate knowledge of scheme so I don't know how to
> debug)

just found the reason: I had botched  (for some reason) the
GUILE_LOAD_PATH environment variable

apologies for the noise

ciao
-gabriele



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


[COOT] error when loading scheme file

2020-09-08 Thread Gabriele Balducci
hello

after a bit that I wasn't using coot, I now get a start time failure
when coot tries to load scheme code in ~/.coot:

  8<
  load /home/balducci/.coot
  Backtrace:
  In ice-9/boot-9.scm:
   160: 4 [catch #t # ...]
  In unknown file:
 ?: 3 [apply-smob/1 #]
  In ice-9/eval.scm:
   386: 2 [eval # ()]
   393: 1 [eval # ()]
  In unknown file:
 ?: 0 [memoize-variable-access! # #]

  ERROR: In procedure memoize-variable-access!:
  ERROR: Unbound variable: add-key-binding
  >8

I have cut the contents of the scheme file to the minimum which
triggers the above error:

8<
(add-key-binding "close everything" "q"
 close-all-molecules
 )
>8

Building from git (HEAD of refinement) vs this guile

8<
guile (GNU Guile) 2.0.14
Copyright (C) 2016 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>8

I have no idea why it now throws this error: I didn't touch my ~/.coot
and it has worked for ages
(I've only an approximate knowledge of scheme so I don't know how to
debug)

any help/hint warmly appreciated

thanks a lot
ciao
-gabriele



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/