Invoice
David Langer
dlangerpi at gmail.com
Wed Oct 6 09:12:00 EDT 2010
Hi Derek,
I see the gnucash.trace file. I note that I've replaced the error producing
code with the original suggestion so that I could work on some stuff. I can
change it back. What do you want me to do with the .trace file?
On Wed, Oct 6, 2010 at 9:04 AM, Derek Atkins <warlord at mit.edu> wrote:
> Hi,
>
> There should be a backtrace printed to either the terminal (where you
> run "gnucash &") or into /tmp/gnucash.trace?
>
> -derek
>
> David Langer <dlangerpi at gmail.com> writes:
>
> > Hi Derek,
> >
> > The error, when applying the report parameters, is:
> >
> > Report error
> >
> > An error occurred while running the report
> >
> > Here is the code for that place, including some before 399:
> >
> > (define (add-payment-row table used-columns split total-collector)
> >
> > (let* ((t (xaccSplitGetParent split))
> >
> > (currency (xaccTransGetCurrency t))
> >
> > ;; XXX Need to know when to reverse the value
> >
> > (amt (gnc:make-gnc-monetary currency (xaccSplitGetValue split)))
> >
> > (payment-style "grand-total")
> >
> > (row '()))
> >
> > (total-collector 'add
> >
> > (gnc:gnc-monetary-commodity amt)
> >
> > (gnc:gnc-monetary-amount amt))
> >
> > (if (date-col used-columns)
> >
> > (addto! row
> >
> > (gnc-print-date (gnc-transaction-get-date-posted t))))
> >
> > (if (description-col used-columns)
> >
> > (let* ((t (xaccSplitGetParent split))
> >
> > (m1 (xaccSplitGetMemo split)))
> >
> > (if (string= m1 "")( addto! row (_
> > "Payment, thank you"))
> >
> > ( addto! row m1 ))))
> >
> >
> >
> > (gnc:html-table-append-row/markup!
> >
> > table
> >
> > payment-style
> >
> > (append (reverse row)
> >
> > On Tue, Oct 5, 2010 at 2:07 PM, Derek Atkins <warlord at mit.edu> wrote:
> >
> > David Langer <dlangerpi at gmail.com> writes:
> >
> > > I'm getting an error now when I try to create the printable
> invoice.
> > >
> > > I went back and replaced this new code bit with your original and
> > there's no
> > > error.
> >
> > Could you be more explicit?
> > What error are you seeing?
> >
> > -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
> >
> > --
> > This email is intended solely for the person(s) to whom it is addressed,
> and
> > is strictly private and confidential. Copying or circulation of this
> email,
> > and/or its attachments, hyperlinks, embedded text, images, movies,
> scripts and
> > animations is not authorized by the sender. If you have received this
> email in
> > error please reply back to me ASAP and delete what you have received so
> that
> > the error may be corrected.
> >
>
> --
> 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
>
--
This email is intended solely for the person(s) to whom it is addressed, and
is strictly private and confidential. Copying or circulation of this email,
and/or its attachments, hyperlinks, embedded text, images, movies, scripts
and animations is not authorized by the sender. If you have received this
email in error please reply back to me ASAP and delete what you have
received so that the error may be corrected.
More information about the gnucash-user
mailing list