With version 3.3, I am not able to generate tax report. This feature used to work properly with the previous 2.x version. I have accounts in different currency, and when I try to generate a tax report for a non-USD account, it fails. I see the following trace on the terminal. I am using MacOS Application Path /Applications/./Gnucash.app/Contents/MacOS/Gnucash (process:28826): gnc.gui-WARNING **: 10:00:19.531: [mac_set_languages()] Language list: en:en_US:C Found Finance::Quote version 1.47 19 (eval-string "(gnc:report-run 0)" #<undefined>) In ice-9/boot-9.scm: 2312:4 18 (save-module-excursion _) In ice-9/eval-string.scm: 38:6 17 (read-and-eval #<input: string 1177afa80> #:lang _) In report.scm: 830:4 16 (gnc:report-run _) In c-interface.scm: 70:23 15 (gnc:backtrace-if-exception _ . _) 22:4 14 (gnc:call-with-error-handling _ _) In ice-9/boot-9.scm: 829:9 13 (catch _ _ #<procedure 1177b8ae0 at c-interface.scm:31…> …) In c-interface.scm: 27:29 12 (_) In report.scm: 834:24 11 (_) 807:34 10 (gnc:report-render-html #<<report> type: f8921f4e5c284…> …) In taxtxf.scm: 3196:17 9 (generate-tax-schedule _ _ _ _ _) In srfi/srfi-1.scm: 592:29 8 (map1 _) 592:29 7 (map1 ((("Sched A") ("1") ("10") ("N283") ("Expe…") …) …)) 592:29 6 (map1 ((("Sched B") ("1") ("1") ("N287") ("Incom…") …) …)) 592:17 5 (map1 ((("Sched B") ("1") ("1") ("N287") ("Incom…") …) …)) In taxtxf.scm: 2294:40 4 (handle-tax-code _) 1335:8 3 (process-account-transaction-detail #<<html-table> col…> …) In srfi/srfi-1.scm: 592:17 2 (map1 (#<swig-pointer Split * 7f841011fdd0> #<swig-p…> …)) In taxtxf.scm: 1379:38 1 (_ #<swig-pointer Split * 7f841011fdd0>) 713:32 0 (process-currency-conversion #<swig-pointer Split * 7f…> …) In procedure module-lookup: Unbound variable: gnc-pricedb-lookup-nearest-in-time-t64
Try modifying taxtxf.scm - it may require digging in the Gnucash.app folder find the text "gnc-pricedb-lookup-nearest-in-time-t64" and change it "gnc-pricedb-lookup-nearest-in-time64" I think this'll fix it
Thanks, The suggested fix worked.
And Chris's fix is pushed for GnuCash 3.4. Thanks for reporting this just in time for tax season!