Ran Tax Schedule Report and TXF Export. Selected Export -> TXF. Selected target dir and gave filename. Clicked Export button. Program crashes. Creates empty file.
Try this after quitting GnuCash: Start Notepad with Administrator privileges, then open C:\Program Files (x86)\gnucash\share\gnucash\scm\gnucash\report\taxtxf.scm. Got to line 590 and replace "!0,2f" with "~0,2f". Save the file as plain text. Restart GnuCash and try the export again.
I made the change you suggested. Program still crashes at the same place. (format #f "~0,2f" (gnc-numeric-to-double
Rats. Please attach a trace file (https://wiki.gnucash.org/wiki/Tracefile) from the crash.
Created attachment 373090 [details] trace file from gnucash crash
I saw the same problem on Mac High Sierra with 3.3 and 3.4. I tried the same suggestion from Chris Lam via the mailing list, also with no change in behavior -- same failure except the error message shows the tilde instead of the excl. point.
Created attachment 373095 [details] Fix shadowed keyword.
Created attachment 373096 [details] Fix bad format string.
Created attachment 373097 [details] Replacement taxtxf.scm I think the problem is that taxtxf.scm shadows the format builtin with a let variable. The first patch renames the let variable to format_type, the second fixes the bad format string as described in comment 1. Since applying patches requires development tools I've also attached a copy of taxtxf.scm with the changes incorporated. Please copy it over the one in GnuCash and see if that fixes the crash.
This fixed it. Thank you.
Also fixed the problem for me. Thanks.