RESOLVED error after upgrading to ubuntu 15.04

Colin Law clanlaw at gmail.com
Mon Aug 31 11:32:47 EDT 2015


On 31 August 2015 at 15:23, John Ralls <jralls at ceridwen.us> wrote:
>
>> On Aug 31, 2015, at 12:18 AM, Colin Law <clanlaw at gmail.com> wrote:
>> ...
>> Any comment from a dev as to why it should be necessary to delete the
>> guile cache on systems but not others?
>>
>
> The Guile developers chose a rather naive way to decide if the cache is stale: If it’s newer than the source file then it’s OK. That means that if GnuCash version X is run for the first time on a particular machine after the date that a Scheme file is changed in git (which date is preserved in the tarball) then Guile won’t recognize the new file and will continue to use the cached compilation with predictable results.

Ah, that explains it.  Is it possible for GnuCash to determine that it
is being run for the first time after an upgrade and to delete the
cache?  Alternatively perhaps this is a packaging bug in that an
upgrade should delete the cache.

Colin



More information about the gnucash-user mailing list