From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: Subject: on second/.go-cached run: ERROR: Unbound variable: for-each Date: Thu, 03 Feb 2011 21:20:33 +0100 Organization: www.AvatarAcademy.nl Message-ID: <1296764433.19670.282.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296764449 2150 80.91.229.12 (3 Feb 2011 20:20:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 20:20:49 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Feb 03 21:20:43 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl5fX-0006ur-8j for guile-devel@m.gmane.org; Thu, 03 Feb 2011 21:20:43 +0100 Original-Received: from localhost ([127.0.0.1]:40771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl5fW-0004ab-KU for guile-devel@m.gmane.org; Thu, 03 Feb 2011 15:20:42 -0500 Original-Received: from [140.186.70.92] (port=46093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl5fS-0004Zr-SE for guile-devel@gnu.org; Thu, 03 Feb 2011 15:20:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl5fQ-0003ZA-Lf for guile-devel@gnu.org; Thu, 03 Feb 2011 15:20:38 -0500 Original-Received: from smtp-vbr19.xs4all.nl ([194.109.24.39]:1160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl5fQ-0003Yd-Bu for guile-devel@gnu.org; Thu, 03 Feb 2011 15:20:36 -0500 Original-Received: from [192.168.1.112] (peder.onsbrabantnet.nl [88.159.206.46] (may be forged)) (authenticated bits=0) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id p13KKYV5047162; Thu, 3 Feb 2011 21:20:34 +0100 (CET) (envelope-from janneke-list@xs4all.nl) X-Mailer: Evolution 2.30.3 X-Virus-Scanned: by XS4ALL Virus Scanner X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr19.xs4all.nl id p13KKYV5047162 X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-Received-From: 194.109.24.39 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11532 Archived-At: 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.li= nux-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 s= econd 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 g= w support modules) and (gnome gobject utils) If you don't have LilyPond >=3D 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=20 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 [# # ...] 2532: 15 [try-module-autoload (ikli ikli) #f] 1864: 14 [save-module-excursion #] 2543: 13 [#] In unknown file: ?: 12 [primitive-load-path "ikli/ikli" #f] In /home/janneke/vc/schikkers-list/ikli/ikli.scm: 220: 11 [#] In module/oop/goops.scm: 1552: 10 [# #] In /home/janneke/vc/schikkers-list/ikli/notation.scm: 199: 9 [# # ...] In unknown file: ?: 8 [%initialize-object #< 9cb2140> ()] In /home/janneke/vc/schikkers-list/ikli/notation.scm: 183: 7 [#] In module/oop/goops.scm: 1552: 6 [# #] In unknown file: ?: 5 [%initialize-object #< a0f9b70> ()] In /home/janneke/vc/schikkers-list/ikli/music.scm: 667: 4 [test-expr] In module/oop/goops.scm: 1552: 3 [# #] In /home/janneke/vc/schikkers-list/ikli/music.scm: 332: 2 [# # ...] In module/ice-9/boot-9.scm: 115: 1 [# 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 --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.= nl =20