Dear Paul,
Am 10.02.20 um 18:27 schrieb Christian Becke:
Am 10.02.20 um 16:42 schrieb Paul Emsley:
On 10/02/2020 11:23, Christian Becke wrote:
I applied some patches to
build coot against guile-2.0 (guile-1.8 is not available on Gentoo
anymore), maybe this is causing problems? I would appreciate some help
with debugging this.
load /home/chris/.coot-preferences/curlew-morph-march.scm
Backtrace:
In ice-9/boot-9.scm:
160: 4 [catch #t #<catch-closure 7f8f8d98c820> ...]
In unknown file:
?: 3 [apply-smob/1 #<catch-closure 7f8f8d98c820>]
In ice-9/eval.scm:
411: 2 [eval # ()]
In coot-gui.scm:
1054: 1 [coot-menubar-menu "Morph"]
In unknown file:
?: 0 [gtk-container-children (#{score-1 1459}# . #f)]
ERROR: In procedure gtk-container-children:
ERROR: In procedure gtk-container-children: Wrong type argument in
position 1: (#{score-1 1459}# . #f)
Yes, this looks like the sort of thing to expect if one is using the
wrong/new/modern/supported version of guile-gtk - it looks like
OK, so I am shooting my own foot, here - I was kind of expecting that. :)
It turned out that guile-gtk was not working at all, although it seems
to have compiled OK.
coot-main-menubar isn't returning a value that coot-menubar-menu can
deal with - I will need to look at the glue between guile and c/c++.
No need to do so - it was all due to my borked guile-gtk build. Not
coot's fault.
If needed, you can compile coot without guile and it works pretty good.
Done. Apart from a few minor things, everything is working fine now.
That would mean I would have to live without many of the curlew
scripts... :(
I ported some of the curlew scripts to python - I could make these
scripts available somewhere if this is useful.
Best,
Christian
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1