Version 2.6.3 won't save when there are open Reports

Roger rmisko11 at gmail.com
Fri Aug 15 14:39:01 EDT 2014


All I remember is that I was using Kubuntu when I compiled some 2.4 
version and since then switched to Xubuntu but now it is quite a mess 
with still bits of Kubuntu.  Then I tried uninstalling the hand built 
version and replace it with the ubuntu repository version 2.6.3.  In 
both cases I just used the default installation paths and did pay any 
attention to what they were.

What I don't understand is how after I cleaned out all the files or at 
least supposedly removed all previous files including those in .gnucash 
& .cache that after re-installing gnucash it still remembered my account 
file.  There must still be some other gnucash related files maintaining 
some preferences?


On 14-08-15 01:59 PM, Geert Janssens wrote:
>
> 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