Is Gnucash (as of r16711) supposed to work with Guile 1.8.3?  Macports 
changed things around so it's hard to use Guile 1.6 so I tried to build 
Gnucash (from SVN, not Macports) with 1.8.3.  When I run it I get this 
error loading saved reports (any saved reports):

* 02:11:44 MESSG <gnc.bin> loading saved reports
* 02:11:44  WARN <gnc.app-utils> Function: memoization, syntax-error

/Users/mta/.gnucash/saved-reports-2.0:3:1: In procedure memoization in 
expression (let* () (define # #) ...):
/Users/mta/.gnucash/saved-reports-2.0:3:1: In file 
"/Users/mta/.gnucash/saved-reports-2.0", line 3: Mixed definitions and 
expressions in (define (options-gen) (let ((options 
(gnc:report-template-new-options/name "Advanced Portfolio"))) (let 
((option (gnc:lookup-option options "Display" "Share decimal places"))) 
((lambda (option) (if option (# 4.0))) option)) (let ((option 
(gnc:lookup-option options "Display" "Show listings"))) ((lambda 
(option) (if option (# #f))) option)) (let ((option (gnc:lookup-option 
options "General" "Report name"))) ((lambda (option) (if option (# 
"Alexander Portfolio"))) option)) (let ((option (gnc:lookup-option 
options "General" "Set preference for price list data"))) ((lambda 
(option) (if option (# #f))) option)) (let ((option (gnc:lookup-option 
options "General" "Basis calculation method"))) ((lambda (option) (if 
option (# #))) option)) (let ((option (gnc:lookup-option options 
"General" "Include gains and losses"))) ((lambda (option) (if option (# 
#t))) option)) options)).

Looking at the code in eval.c in Guile 1.8.3 where this error comes 
from, it looks impossible.  That error should only occur if there is a 
malformed (begin ...) form and there isn't a "begin" anywhere in the 
saved report file unless something there is a macro that expands to 
begin, which seems unlikely.  Does anyone have any idea what's going 
on?  Most other things seem to work and make check works so things 
aren't completely broken.

For now I'm going to undo the changes to Macports that screwed up Guile 
1.6, but I'm curious what's going on here.

-- 
Mike Alexander           [EMAIL PROTECTED]
Ann Arbor, MI            PGP key ID: BEA343A6

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to