unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Subject: on second/.go-cached run: ERROR: Unbound variable: for-each
@ 2011-02-03 20:20 Jan Nieuwenhuizen
  2011-02-23 11:54 ` on second/.go-cached run: ERROR: Unbound variable: for-each - simplified Jan Nieuwenhuizen
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Nieuwenhuizen @ 2011-02-03 20:20 UTC (permalink / raw)
  To: guile-devel

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 janneke@vuurvlieg:~/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 janneke@vuurvlieg:~/vc/schikkers-list

Greetings, Jan

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-23 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 20:20 Subject: on second/.go-cached run: ERROR: Unbound variable: for-each Jan Nieuwenhuizen
2011-02-23 11:54 ` on second/.go-cached run: ERROR: Unbound variable: for-each - simplified Jan Nieuwenhuizen
2011-02-24 21:52   ` Ludovic Courtès
2011-02-25  8:38     ` Jan Nieuwenhuizen
2011-05-23 21:02   ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).