Version 2.6.3 won't save when there are open Reports
Geert Janssens
janssens-geert at telenet.be
Fri Aug 15 13:59:30 EDT 2014
Hmm, thinking about it some more this still doesn't make sense completely.
Guile is very strict in searching for its precompiled scm files. It will use the exact path to
the original scm file to find the precompiled version.
So if you would have installed a self compiled gnucash in /usr/local and a Kubuntu provided
package in /usr, guile normally doesn't mix both versions. Or does Kubuntu install the 2.6.3
package in /usr/local as well for some reason ?
Geert
On Friday 15 August 2014 19:51:19 Geert Janssens wrote:
> On Friday 15 August 2014 13:37:05 Roger wrote:
> > Hi Derek,
> >
> > I have always agreed with you about residual and have done as you
> > suggested so that this was all that was left (actually I think there
> > must be some configuration files somewhere???)
> >
> > Anyway I think I found the residual that was causing the open report
> > problem.
> >
> > Once I deleted the ~/.cache/guile folder everything seems to work!
> >
> > Thank you both Derek & Geert for you perseverance in helping to
> > solve
> > this frustrating problem.
> >
> > Roger
>
> Doh, I should have thought of that ! Guile 2 precompiles the scm files
> and uses the precompiled versions as long as they are more recent
> than the uncompiled version.
>
> So if you installed a selfcompiled version of gnucash at a more recent
> date than the date Kubuntu has created its 2.6.3 package, the
> compiled scm files (from 2.6.1) are more recent than the original
> 2.6.3 scm files and a guile won't recompile.
>
> That's a subtle bug with our use of guile 2. The only sensible
> solution I see for this is to disable auto-compilation and instead
> compile the scm files as part of the build process. That way we can
> ensure the compiled scm files always match the uncompiled ones for
> the running version of GnuCash.
>
> Thanks for reporting your solution. At least we know now what steps to
> take in the future.
>
> Geert
More information about the gnucash-user
mailing list