I just got my custom report to work on my wife's Windows 10 machine.
1. Be sure that notepad can open and read the files without strange
characters.
2. Files must be in the %APPDATA%/GnuCash folder
(C:\Users\yourusername\AppData\Roaming\GnuCash)
3. Config file is named: config-user.scm [note the extension is .scm
and not .txt) and has the contents
(load (gnc-build-userdata-path "custom-report.scm"))
4. Custom report named: custom-report.scm
If that still fails, then post the most recent contents of the log file
from C:\Users\yourusername\AppData\Local\Temp\gnucash.trace.??????.log
where ?????? could be most anything. Look at the timestamps and get the
most recent one. That will indicate if GNC even saw the config file
load statement and the outcome of the attempt to load it.
An empty tracefile implies GNC never saw the config-user.scm file (or
maybe it wasn't readable)
--Steve
On 12/9/18 9:24 AM, Bill Manuel wrote:
Tried all these suggestions (including Mr Janssens suggestion naming
the file config-user.scm) and nothing new shows up in the reports
pulldown. The trace file after the reboot was empty.
On 12/6/2018 8:22 AM, D wrote:
Also, the file name should be "config.user" and not " config.user.txt"
The file *type* should be text.
On December 6, 2018, at 3:45 PM, Christopher Lam
<christopher....@gmail.com> wrote:
There's some reports about the (gnc-build-userdata-path) part causing
problems.
Try the following instead:
(load (pk (gnc-build-userdata-path "psl-budget.scm")))
(load (pk (gnc-build-userdata-path "my-hello-world-.scm")))
and please report back the tracefile:
https://wiki.gnucash.org/wiki/Tracefile
C
On Thu, 6 Dec 2018 at 07:55, Bill Manuel <bills...@q.com> wrote:
I saved the config files in plain text format:
config-user.txt
which an internet search indicated is the same as ASCII. Did not fix
the
problem.
Bill M
On 12/4/2018 4:03 PM, John Ralls wrote:
On Dec 5, 2018, at 7:32 AM, Bill Manuel <bills...@q.com> wrote:
I am unable to add custom reports to gnucash.
I use Gnucash 3.3 updated from 2.6.19 on windows 8.1.
The custom reports and configuration pages at wiki were my guides to
add custom reports:
https://wiki.gnucash.org/wiki/Custom_Reports
https://wiki.gnucash.org/wiki/Configuration_Locations#GTK_CONFIG_HOME
I copied, then opened “Hello-world.scm” , edited the sections as
described in the custom reports link
1. change define-module line
2. change name line
3. commented out the menu-name line
4. changed menu-tip line
5. got and pasted in a guid
6. and saved it under a new name.
In addition, I coped a report at github (
https://github.com/dschwen/gnucash-reports/blob/master/psl-budget.scm)
I created a file in MSWord saved as config.user (then, as an
alternative when the process failed) config-user.scm containing the
lines:
(load (gnc-build-userdata-path "psl-budget.scm"))
(load (gnc-build-userdata-path "my-hello-world-.scm"))
and placed both the config file and custom.scm reports in the
gnc_data_home/gnc_config_home folder which the configuration page
indicated, for windows, was
C:/user/myusername/appdate/roaming/gnucash.
After doing all this, I started gnucash but neither of the customer
reports showed up in the menus.
Don’t know if this is relevant, but the wiki-config page indicated
what
files are in GTK_config_home. My GTK_config_home
(appdata/local/gtk3.0) is
empty.
If someone can help, it would be appreciated.
Did you make sure to tell MSWord to save the files as plain ASCII (not
UTF8!) text?
Regards,
John Ralls
--
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.