This is a multi-part message in MIME format. --------------3D523237236D11CA3460C759 Content-Type: multipart/alternative; boundary="------------B9936A5ECC36B86735966812" --------------B9936A5ECC36B86735966812 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here is the fix for the tax report warning: gnucash: [W] "gnc:run-report - "#<unspecified>" is the wrong type." I hadn't seen this warning recently, because I hadn't run gnucash from the command line recently, though I have seen it in the past. When I ran from the command line, the warning showed up every time I ran the report. It's caused by an "if" without an "else" that returns the #<unspecified> type. For "if's" that directly return data that is sent to the report, these "else's" should return a null list or null string. This diff is from the last patch I sent and contains only diffs for three files. taxtxf.scm xacc-hierarchical-report.html xacc-txf-export-report.html -- Gilligan | __o .oooO /| _ \<,_ ( ) /p|\ (_)/ (_) \ ( Oooo. / | \ ------------ \_) ( ) ======== ) / ======== gilligan@mpinet.net (_/ ~~~~~~~~~~~~~~~~ uschold@cs.ucf.edu --------------B9936A5ECC36B86735966812 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Here is the fix for the tax report warning:gnucash: [W] "gnc:run-report - "#<unspecified>" is the wrong type."
I hadn't seen this warning recently, because I hadn't run gnucash from the command line recently, though I have seen it in the past. When I ran from the command line, the warning showed up every time I ran the report. It's caused by an "if" without an "else" that returns the #<unspecified> type. For "if's" that directly return data that is sent to the report, these "else's" should return a null list or null string.
This diff is from the last patch I sent and contains only diffs for three files.
taxtxf.scm
xacc-hierarchical-report.html
xacc-txf-export-report.html
-- Gilligan | __o .oooO /| _ \<,_ ( ) /p|\ (_)/ (_) \ ( Oooo. / | \ ------------ \_) ( ) ======== ) / ======== gilligan@mpinet.net (_/ ~~~~~~~~~~~~~~~~ uschold@cs.ucf.edu