Re: [GNC] Custom report on Windows
On 12/8/18 1:30 AM, Geert Janssens wrote: Op vrijdag 7 december 2018 23:35:00 CET schreef Stephen M. Butler: 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 In c-interface.scm: 29: 19 [#] 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 #] In ice-9/eval-string.scm: 44: 15 [read-and-eval # #:lang ...] 37: 14 [lp (load (gnc-build-userdata-path "balsheet-fmtd.scm"))] In ice-9/boot-9.scm: 2412: 13 [save-module-excursion #] 4089: 12 [#] 1734: 11 [%start-stack load-stack ...] 1739: 10 [#] In unknown file: ?: 9 [primitive-load "C:\\Users\\Wanita\\AppData\\Roaming\\GnuCash\\balsheet-fmtd.scm"] In ice-9/eval.scm: 505: 8 [# (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 # ((#))] 3623: 2 [# (#)] 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 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 Hi Steve, Perl is not relevant in this context. The error is from the guile code in gnucash. The (gnucash main) module no longer exists in gnucash 3.x. All relevant functionality has been moved elsewhere. So I wonder where the request comes from to load this module. Is there something like that in the custom report you are trying to load ? Regards, Geert Yup. My custom report is a clone of the balsheet equile version and main was in that. I was going to say that it works on Linux and then I remembered that I tend to just compile and build without uninstalling the prior version. That must explain why it continues to work on my box. Made a diff on my code versus the original I cloned from and found that main was replaced by utilities. Report now works on Windows (and on Ubuntu). Thanks. One of these days I'll do a clean uninstall and see what is still hanging around! --Steve -- Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Custom report on Windows
Op vrijdag 7 december 2018 23:35:00 CET schreef Stephen M. Butler: > 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 In c-interface.scm: >29: 19 [#] > 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 # ice-9/eval-string.scm:65:9 ()>] > In ice-9/eval-string.scm: >44: 15 [read-and-eval # #:lang ...] >37: 14 [lp (load (gnc-build-userdata-path "balsheet-fmtd.scm"))] > In ice-9/boot-9.scm: > 2412: 13 [save-module-excursion # ice-9/boot-9.scm:4084:3 ()>] > 4089: 12 [#] > 1734: 11 [%start-stack load-stack ...] > 1739: 10 [#] > In unknown file: > ?: 9 [primitive-load > "C:\\Users\\Wanita\\AppData\\Roaming\\GnuCash\\balsheet-fmtd.scm"] > In ice-9/eval.scm: > 505: 8 [# > (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 # (mif-args)> ((#))] > 3623: 2 [# (#)] > 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 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 Hi Steve, Perl is not relevant in this context. The error is from the guile code in gnucash. The (gnucash main) module no longer exists in gnucash 3.x. All relevant functionality has been moved elsewhere. So I wonder where the request comes from to load this module. Is there something like that in the custom report you are trying to load ? Regards, Geert ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] Custom report on Windows
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 In c-interface.scm: 29: 19 [#] 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 #ice-9/eval-string.scm:65:9 ()>] In ice-9/eval-string.scm: 44: 15 [read-and-eval # #:lang ...] 37: 14 [lp (load (gnc-build-userdata-path "balsheet-fmtd.scm"))] In ice-9/boot-9.scm: 2412: 13 [save-module-excursion #ice-9/boot-9.scm:4084:3 ()>] 4089: 12 [#] 1734: 11 [%start-stack load-stack ...] 1739: 10 [#] In unknown file: ?: 9 [primitive-load "C:\\Users\\Wanita\\AppData\\Roaming\\GnuCash\\balsheet-fmtd.scm"] In ice-9/eval.scm: 505: 8 [# (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 #(mif-args)> ((#))] 3623: 2 [# (#)] 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 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.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.