[GNC-dev] Issue with Tax Report in Gnucash 3.3

John Ralls jralls at ceridwen.us
Sat May 18 15:06:03 EDT 2019



> On May 18, 2019, at 8:55 AM, Clint Redwood <clint at screwtape.co.uk> wrote:
> 
> Hi,
> 
> I've upgraded from Gnucash 2.6 to 3.3, and have tried to run the Tax report, which I use with a custom set of accounts, and a "fake" exchange rate of 1 GBP to 1 USD to allow this report to work for a UK company.
> 
> It was all working fine in 2.6, and my custom txf.scm seems to be working in 3.3 as I can see my form and field references in the "Tax Report Options" screen. However, when I try to run the report it says "Report error - 
> An error occurred while running the report.", and when I look at the trace file, I see...
> 
> --- BEGIN EXCERPT ---
> In taxtxf.scm:
>  3196:17  4 (generate-tax-schedule _ _ _ _ _)
> In srfi/srfi-1.scm:
>   592:17  3 (map1 ((("BalSht") ("1") ("AC44") ("NAC44") ("As…") …) …))
> In taxtxf.scm:
>  2294:40  2 (handle-tax-code _)
>  1218:41  1 (process-account-transaction-detail #<<html-table> col…> …)
>   713:32  0 (process-currency-conversion #f #<swig-pointer gnc_com…> …)
> 
> In procedure module-lookup: Unbound variable: gnc-pricedb-lookup-nearest-in-time-t64
> --- END EXCERPT ---
> 
> I therefore presume that something has changed between the versions, and does not support the exchange rate transform? Is this likely to be a bug with the 3.3 version, or something that I've done in the custom txf.scm that doesn't port to 3.3? I've checked, and there are no differnces between the original txf.scm files between 2.6 and 3.3, so I didn't assume I'd need to change anything.
> 
> Thanks for looking.

That's https://bugs.gnucash.org/show_bug.cgi?id=796994, fixed in GnuCash 3.4.

Regards,
John Ralls



More information about the gnucash-devel mailing list