howto import define-report in account-piecharts.scm
22 Sep 2002 12:37:02 -0400
What happens if you run gnucash normally? Does it work?
Note that very little work on 1.6 is happening at this point, and the
report infrastructure is completely different in the upcoming 1.8
release.. So if you're planning to do much report-hacking, you're
probably better off moving to the CVS platform and working from there.
Larry Evans <email@example.com> writes:
> I tried to call gnucash from command line and then invoke the gnc:main
> However, I got the following error:
> <------- begin cut here -----------
> gnucash: [D] " checking for ""/home/evansl/.gnucash/date-utilities.scm"
> gnucash: [D] " checking for ""/home/evansl/.gnucash/scm/date-utilities.scm"
> gnucash: [D] " checking for
> gnucash: [D] "found file ""/usr/local/share/gnucash/scm/date-utilities.scm"
> In expression (gnc:define-report (quote version) 1 ...):
> Unbound variable: gnc:define-report
> ABORT: (unbound-variable)
> Type "(backtrace)" to get more information or "(debug)" to enter the
> guile> (debug)
> This is the Guile debugger; type "help" for help.
> There are 35 frames on the stack.
> Frame 34: (gnc:define-report (quote version) 1 (quote name) (car l)
> (quote menu-path) (if (caddr l) (list gnc:menuname-income-expense)
> (list gnc:menuname-asset-liability)) (quote menu-name) (cadddr l)
> (quote menu-tip) (car (cddddr l)) (quote options-generator) (lambda ()
> (options-generator (cadr l) (caddr l))) (quote renderer) (lambda
> (report-obj) (piechart-renderer report-obj (car l) (cadr l) (caddr
> >------- end cut here -----------
> I even tried adding:
> (gnc:depend "report.scm")
> with the other gnc:depend's near the top of the account-piecharts.scm;
> however, I got
> the same error.
> Please, what should I do to get this to work?
> gnucash-devel mailing list
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@MIT.EDU PGP key available