Problems with custom invoice

Derek Atkins warlord at MIT.EDU
Mon Nov 20 20:10:17 EST 2006


Quoting Chris Dennis <cgdennis at btinternet.com>:

> This is getting messy.  When I try to reinstate the standard
> invoice.scm, gnucash crashes when reading in my accounts file:
>
> ----
>   $ gnucash
>   gnucash: [M] "Found Finance::Quote version ""1.11"
>   Backtrace:
>   In current input:
>      1: 0* (let ((options #)) (let (#) (# option)) ...)
>      1: 1* (let ((option #)) ((lambda # #) option))
>      1: 2* [gnc:lookup-option #f "General" "Invoice Number"]
>   In /usr/share/gnucash/scm/options.scm:
>   1463: 3  ((options (quote lookup)) section name)
>   1463: 4* (options (quote lookup))
>
>   /usr/share/gnucash/scm/options.scm:1463:4: In expression (options
> (quote lookup)):
>   /usr/share/gnucash/scm/options.scm:1463:4: Wrong type to apply: #f
> ----
>
> So I can't check whether standard invoices are working for me.
>
> There must be something invalid in my accounts file -- can you tell from
> that backtrace where I should start looking?  Gnucash 2.0 didn't
> complain when it converted the file from 1.8.

Um, have you perhaps mixed SVN Trunk with 2.0 versions of files?
This error implies that that you're passing #f (SCM_BOOL_F) to
something that doesn't want it.

-derek

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



More information about the gnucash-devel mailing list