guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subject: on second/.go-cached run: ERROR: Unbound variable: for-each


From: Jan Nieuwenhuizen
Subject: Subject: on second/.go-cached run: ERROR: Unbound variable: for-each
Date: Thu, 03 Feb 2011 21:20:33 +0100

Hi,

My embryonal LilyPond GUI now works with Guile 1.9.15, but
it cannot run from cached .go files -- see below.

Can you help me with this; how do I go about debugging this?

If/once you have a working guile-gnome setup which includes gnomecanvas,
simply do

    git clone git://github.com/janneke/schikkers-list.git
    cd schikkers-list
    rm -rf ~/.cache/guile/
    ./ikli.scm

This is also the best option, at least until we have the binary
relocation for 1.9 fully handled.

If you don't have guile-gnome you can download and install either of

    
http://lilypond.org/schikkers-list/download/schikkers-list-0.0.1-2.linux-x86.sh

The .sh installs in ~/schikkers-list, run it [for now] by doing

    cd ~/schikkers-list/usr/bin && $(pwd)/guile --debug -e main -s 
$(pwd)/schikkers-list

On the first run, it cannot find (ikli relocate) and it aborts.  On the second
run, it works!  Quit the program, run again, you get the for-each unbound error
below.

There's only one warning that I get

    WARNING: (gnome gtk): `re-export-modules' imported from both (gnome gw 
support modules) and (gnome gobject utils)

If you don't have LilyPond >= 2.13.37 installed, or no LilyPond at
all, you won't see any music but you can still choose File/Open or
Help/About to see that the GUI sort of works.

Starting it for the second time, i.e., using the compiled .go cache from
the first run, I get

    15:19:04 address@hidden:~/vc/schikkers-list
    $ ./ikli.scm 
    Backtrace:
    In module/ice-9/boot-9.scm:
    1172: 19 [load "./ikli.scm" #f]
    In unknown file:
       ?: 18 [load-compiled/vm 
"/home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/ikli.scm.go"]
    In ./ikli.scm:
      55: 17 [main ("./ikli.scm")]
    In module/ice-9/boot-9.scm:
    2266: 16 [#<procedure 9695c30 at module/ice-9/boot-9.scm:2254:4 (name 
#:optional autoload version #:key ensure)> # ...]
    2532: 15 [try-module-autoload (ikli ikli) #f]
    1864: 14 [save-module-excursion #<procedure 9709918 at 
module/ice-9/boot-9.scm:2533:17 ()>]
    2543: 13 [#<procedure 9709918 at module/ice-9/boot-9.scm:2533:17 ()>]
    In unknown file:
       ?: 12 [primitive-load-path "ikli/ikli" #f]
    In /home/janneke/vc/schikkers-list/ikli/ikli.scm:
     220: 11 [#<procedure 9710a60 ()>]
    In module/oop/goops.scm:
    1552: 10 [#<procedure 9b9cdd0 at module/oop/goops.scm:1550:0 (class . 
initargs)> #]
    In /home/janneke/vc/schikkers-list/ikli/notation.scm:
     199: 9 [#<procedure 9a840f0 at 
/home/janneke/vc/schikkers-list/ikli/notation.scm:198:0 (obj . initargs)> # ...]
    In unknown file:
       ?: 8 [%initialize-object #<<notation> 9cb2140> ()]
    In /home/janneke/vc/schikkers-list/ikli/notation.scm:
     183: 7 [#<procedure 99b6490 ()>]
    In module/oop/goops.scm:
    1552: 6 [#<procedure 9b9cdd0 at module/oop/goops.scm:1550:0 (class . 
initargs)> #]
    In unknown file:
       ?: 5 [%initialize-object #<<music-document> a0f9b70> ()]
    In /home/janneke/vc/schikkers-list/ikli/music.scm:
     667: 4 [test-expr]
    In module/oop/goops.scm:
    1552: 3 [#<procedure 9b9cdd0 at module/oop/goops.scm:1550:0 (class . 
initargs)> #]
    In /home/janneke/vc/schikkers-list/ikli/music.scm:
     332: 2 [#<procedure 9a8d750 at 
/home/janneke/vc/schikkers-list/ikli/music.scm:329:0 (obj . initargs)> # ...]
    In module/ice-9/boot-9.scm:
     115: 1 [#<procedure 96754d8 at module/ice-9/boot-9.scm:110:6 (thrown-k . 
args)> unbound-variable ...]
    In unknown file:
       ?: 0 [catch-closure unbound-variable "module-lookup" ...]

    ERROR: In procedure module-lookup:
    ERROR: Unbound variable: for-each
    [1]15:22:07 address@hidden:~/vc/schikkers-list

Greetings, Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]