GnuCash 2.2.x and advanced-report-sorted

Derek Atkins warlord at MIT.EDU
Tue Sep 18 13:11:45 EDT 2007

Johan van Oostrum <jo.vanoost at> writes:

>> /usr/share/gnucash/guile-modules/gnucash/report/advanced-portfolio- 
>> sorted.scm:398:19:In file"/usr/share/gnucash/guile-modules/gnucash/ 
>> report/advanced-portfolio-sorted.scm",line 397: Duplicate case  
>> label quote in expression (case price-source((quote pricedb-latest)  
>> (lambda (foreign domestic date)(gnc:exchange-by-pricedb-latest  
>> foreign domestic))) ((quotepricedb-nearest) gnc:exchange-by-pricedb- 
>> nearest)).
> It sure looks like some debugging is needed here. Though, the report  
> was a quick update to get my GC 1.8.x report running again in my new  
> GC 2.2.0 installation.
> Right now I am working on a more up-to-date version, as Derek Atkins  
> suggested, adding the sort option to the GC 2.2.0 report. In due time  
> I will post the patchfile for this version.

guile 1.8 got much more strict about case statements with duplicate
labels.  The fix is to put the label in only one place.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list