[GNC] Custom report on Windows

Stephen M. Butler kg7je at arrl.net
Fri Dec 7 17:35:00 EST 2018


The custom balance sheet (formatted) report that you folks helped my 
configure on Linux, my wife now wants on her Windows 10 box.

 From my research, it appears that both the config-user.scm file (Linux: 
$HOME/.config/gnucash/) and the three report files balsheet-fmtd.scm, 
balsheet-fmtd.eguile.scm, stylesheet-reports.css (Linux: 
$HOME/.local/share/gnucash/) all go to %APPDATA% on Windows 10.  I 
copied all four files from my Ubuntu 18.04 box to her Windows 10 box and 
put them in %APPDATA% (C:\Users\Wanita\AppData\Roaming\Gnucash\) and 
restarted GnuCash on her box.

The reports did not appear in the drop down menu.  Do all four files go 
into the same folder on Windows?  Or did I miss-read the location for 
one or the other?

I found the trace file in C:\Users\Wanita\AppData\Local\Temp and it has 
these messages that seem relevent:


* 14:25:46  WARN <gnc.app-utils> In c-interface.scm:
   29: 19 [#<procedure b685438 at c-interface.scm:23:8 ()>]
In unknown file:
    ?: 18 [eval-string "(load (gnc-build-userdata-path 
\"balsheet-fmtd.scm\"))\n" ...]
    ?: 17 [call-with-input-string "(load (gnc-build-userdata-path 
\"balsheet-fmtd.scm\"))\n" ...]
In ice-9/boot-9.scm:
2412: 16 [save-module-excursion #<procedure b6853f0 at 
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
   44: 15 [read-and-eval #<input: string bbc3150> #:lang ...]
   37: 14 [lp (load (gnc-build-userdata-path "balsheet-fmtd.scm"))]
In ice-9/boot-9.scm:
2412: 13 [save-module-excursion #<procedure b103380 at 
ice-9/boot-9.scm:4084:3 ()>]
4089: 12 [#<procedure b103380 at ice-9/boot-9.scm:4084:3 ()>]
1734: 11 [%start-stack load-stack ...]
1739: 10 [#<procedure b7d5948 ()>]
In unknown file:
    ?: 9 [primitive-load 
"C:\\Users\\Wanita\\AppData\\Roaming\\GnuCash\\balsheet-fmtd.scm"]
In ice-9/eval.scm:
  505: 8 [#<procedure a39f000 at ice-9/eval.scm:499:4 (exp)> 
(use-modules #)]
In ice-9/psyntax.scm:
1107: 7 [expand-top-sequence ((use-modules (gnucash main))) () ...]
  990: 6 [scan ((use-modules (gnucash main))) () ...]
  279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3622: 4 [process-use-modules (((gnucash main)))]
  712: 3 [map #<procedure a4fe810 at ice-9/boot-9.scm:3622:25 
(mif-args)> ((#))]
3623: 2 [#<procedure a4fe810 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
2903: 1 [resolve-interface (gnucash main) #:select ...]
In unknown file:
    ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (gnucash 
main)) #f]

ERROR: no code for module (gnucash main)
* 14:25:49  WARN <gnc.app-utils> Could not spawn perl: Failed to execute 
child process (No such file or directory)


Does this mean Perl isn't loaded on her box or is there a problem with 
gnucash main?

--Steve

-- 
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8



More information about the gnucash-user mailing list