trunk r21710 fails at launch during report loading

Geert Janssens janssens-geert at telenet.be
Sat Dec 17 07:16:00 EST 2011


On 13-12-11 07:52, David Reiser wrote:
> Turns out I got it right in the original post:
>
> [01:45:46] dbr at DOPL6: gnucash $git bisect bad
> 5f0f67f2d06605b30350a5b38ca0484ae21c49f9 is the first bad commit
> commit 5f0f67f2d06605b30350a5b38ca0484ae21c49f9
> Author: Geert Janssens<janssens-geert at telenet.be>
> Date:   Sun Nov 20 09:33:38 2011 +0000
>
>      Move eguile balance report to business-reports as it depends on business
>      utils.
>      This is a source code move, the report will remain in the same menu location
>      in the GUI
>      BP
>
>      git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21591 57a11ea4-9604-0410-9ed3-97b8803252fd
>
> :040000 040000 5b00ef9a1e5a7760616206a95eecfad25ecc0b1c 3818a01196e7c6b0e3bf9f40f3ad623defa5a8d2 M	src
>
> I did one other bisect manually in gnucash a few years ago when my machine took 35 minutes per build. Now it only takes 6, so it's a lot less painful. Bisect automates one of the most irritating parts for me -- keeping track of where I am, so it was worth it to go to git. I did have some adventures along the way.:)
I have verified the code. It should work fine on a clean install 
(meaning the complete installation directory removed).

The error you get suggests that the old balsheet-eg.scm file is still in 
the standard-reports installation directory. The standard reports are 
loaded by listing all scm files in that directory.

Can you check if the balsheet-eg.* files are still in your 
standard-reports installation directory ? This directory should be at
<$prefix>/share/gnucash/guile-modules/gnucash/report/standard-reports/

If not and you still have this problem, can you
1. add this snippet

(gnc:debug "stdrpt-dir=" (gnc-path-get-stdreportsdir))

on line 120 of standard-reports.scm. You can do this either directly in 
the installation directory
<$prefix>/share/gnucash/guile-modules/gnucash/report/standard-reports.scm
or in the source file, but in this case you should run make && make 
install also

2. run gnucash with "gnucash --log "gnc.scm=debug"

3. post the first few lines of gnucash.trace here. I'm mostly interested 
in what it prints for stdrpt-dir and dir-files.

Geert


More information about the gnucash-devel mailing list