[GNC] Updated to 3.1 - lost lots & report
Geert Janssens
geert.gnucash at kobaltwit.be
Wed Jun 20 11:46:05 EDT 2018
Thanks for the response.
The trace indeed has no messages related to migration. In retrospect it
couldn't have :(
The migration code itself runs before logging is set up. So any message
printed during migration would be sent to the console, but on windows that is
not available.
There are several other clues though the migration didn't run:
- no pop-up window summarizing the migration results
- missing saved report configurations
- warnings about missing .gcm file
I dug into the code and found I already fixed one issue that would prevent the
migration right after the release of gnucash 3.1. Can you retry the procedure
with a recent nightly build ? For example this one;
https://code.gnucash.org/builds/win32/maint/gnucash-3.1-2018-06-18-git-3.1-171-g1e3a44500+.setup.exe
Make a backup of your active gnucash book, install this version, move c:\Users
\<username>\AppData\Roaming\GnuCash out of the way and start gnucash. Do you
see a migration summary window in this case ?
Regards,
Geert
Op zondag 17 juni 2018 03:18:02 CEST schreef Ethan Swint:
> My response at bottom of post.
>
> Message: 3
> Date: Sat, 16 Jun 2018 10:53:06 +0200
> From: Geert Janssens <geert.gnucash at kobaltwit.be>
> To: gnucash-user at gnucash.org
> Cc: John Bonnett <jbonnett at internode.on.net>
> Subject: Re: [GNC] Updated to 3.1 - lost lots & report
> Message-ID: <1761733.q6rmsmsRqN at legolas.kobaltwit.lan>
> Content-Type: text/plain; charset="us-ascii"
>
> Op donderdag 14 juni 2018 10:37:31 CEST schreef John Bonnett:
> > I found it at this path
> >
> > "C:\Users\<username>\.gnucash"
>
> Gnucash 3.1 is supposed to migrate from this directory to
> c:\Users\<username>\AppData\Roaming\GnuCash
>
> I don't know why this didn't happen for you.
>
> > in it I found this file
> >
> > "C:\Users\<username>\.gnucash\saved-reports-2.4"
> >
> > which looked a bit suspicious. In it I found Scheme code for my missing
> > reports.
> >
> > Another folder I found in my search was
> >
> > "C:\Users\<username>\AppData\Roaming\GnuCash"
> >
> > Now this Roaming folder often holds configuration information on Windows.
>
> It
>
> > also had recently dated files in it so was probably related to my recent
> > installation of GnuCash 3.1.
>
> This directory should be generated as part of the first-time run of gnucash
> 3.1.
>
> Can you do an experiment to help evaluate the migration step ?
> Can you
> 1. quit gnucash if it's still running
> 2. rename
> "C:\Users\<username>\AppData\Roaming\GnuCash"
> to
> "C:\Users\<username>\AppData\Roaming\GnuCash.bkp"
> That moves it out of the way of gnucash.
> 3. Start gnucash
> => Does it report a migration of meta data ?
> 4. Quit gnucash
> 5. Locate the most recent trace file [1] and post it here.
>
> > I copied the above mentioned saved reports file to
> >
> > "C:\Users\<username>\AppData\Roaming\GnuCash\saved-reports-2.4"
> >
> > and next time I opened GnuCash my reports had returned.
>
> Indeed. You manually completed the migration. I would like to figure out
> why
> this didn't happen in the first place.
>
> Thanks,
>
> Geert
>
> -----------------------------------------------
>
> Geert -
>
> Thanks for the suggestion - trace file contents below. I didn't see any
> note about migration of metadata, and Gnucash did not migrate my old
> reports or lots. The manual migration works, however. Thanks for the
> responses!
>
> Regards,
> Ethan
>
>
> * 15:42:37 WARN <gnc.gui> error reading group Page 12 key ShowUnused: Key
> file does not have key “ShowUnused” in group “Page 12”
> * 15:42:41 WARN <qof> [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41 WARN <qof> [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41 WARN <qof> [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41 WARN <qof> [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:42:41 WARN <qof> [gnc_numeric_to_decimal()] Rounding required when
> 'never round' specified.
> * 15:43:59 CRIT <gnc.app-utils> [gnc_state_save()] Error: Failure saving
> state file.
> Cannot open file
> C:\Users\XXXXXX\AppData\Roaming\GnuCash\books\XXXXXXX.gnucash.gcm: No such
> file or directory
> * 15:43:59 CRIT <gnc.core-utils> Cannot open file
> C:\Users\XXXXX\AppData\Roaming\GnuCash\expressions-2.0: No such file or
> directory
> * 15:43:59 WARN <gnc.scm> Can't save style sheet
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.
More information about the gnucash-user
mailing list