Bug in TXF Report? Gnucash 2.3.8 and 2.3.9
David T.
sunfish62 at yahoo.com
Wed Feb 17 01:02:10 EST 2010
Alex--
Can you advise whether this scm file will work with 2.2.9? The thread suggests that there are data structure changes that would not be backward compatible to 2.2.9.
Thanks,
David
--- On Wed, 2/10/10, J. Alex Aycinena <alex.aycinena at gmail.com> wrote:
> From: J. Alex Aycinena <alex.aycinena at gmail.com>
> Subject: Re: Bug in TXF Report? Gnucash 2.3.8 and 2.3.9
> To: mronell at alumni.upenn.edu, "gnucash-devel" <gnucash-devel at gnucash.org>
> Date: Wednesday, February 10, 2010, 4:59 PM
> Marc,
>
> >> Is your data file saved as XML or in a database?
> >>
> > Alex, when I open up the file, it looks like
> non-ascii characters,
> > control characters and unlegible materials. It is
> not recognizable as
> > XML.
> >
>
> If you didn't set it up to use a database it's XML but it's
> compressed
> so that is why it looks like that. I don't think it's
> relevant.
>
>
> > In
> /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:
> > 1387: 28 (let* (# # # ...) (if # # ...) ...)
> > 1396: 29* (if (not #) (if # # ...) ...)
> > 1495: 30 (begin (if # # #)
> selected-accounts-sorted-by-form-line-acct)
> > 1496: 31* (if (not #) (if tax-related # #) (begin))
> > 1499: 32 (if tax-related (set! txf-invalid-alist #)
> (begin))
> > 1505: 33 (begin)
> >
> /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:1505:23:
> In procedure begin in expression (begin):
> >
> /usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm:1505:23:
> missing or extra expression
>
> This is a different error from the earlier one so it looks
> like
> setting the Tax-Entity-Type got you around that one.
> However, I
> couldn't figure out how to reproduce this one. I did make a
> change to
> the code that hopefully solves it but can't test it myself
> since I
> can't reproduce it. I earlier sent you a revised taxtxf.scm
> file which
> solved the earlier problem. Now I attach an updated one
> that includes
> that fix plus this one. Could you please test it let me
> know if it
> works. Like I said before, do the following (you'll have to
> be root to
> do this):
>
> 1. with gnucash not running, rename the original file
>
> '/usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm'
>
> to
>
> '/usr/local/share/gnucash/guile-modules/gnucash/report/taxtxf.scm.orig'.
>
> 2. copy the attached file to
> '/usr/local/share/gnucash/guile-modules/gnucash/report/'.
>
> 3. start gnucash and open your data file; open the report
> and let me
> know if it works.
>
> 4. save the new 'taxtxf.scm' file somewhere, if you want,
> and rename
> the original one back.
>
> Again, I look forward to your feedback,
>
> Alex
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
More information about the gnucash-devel
mailing list