Re: [GNC] Upgrade to 4.14 (was: Upgrade to 3.11: question)

2023-08-06 Thread Stan Brown (using GC 4.14)
On 2023-08-04 17:05, Stan Brown (using GC 2.6.21/3.11/4.14) wrote:
> The main point of this is a possible solution to a problem someone else
> reported a few days ago. [Namely, upgrading to 4.14 from 3.x, then running 
> 4.14 and having GC not
open the last-used book. I'm in Windows 10 and Windows 11.]

The solution I described on 4 August -- opening 4.14 for the first time,
getting the "you might like help setting up" message, closing 4.14 and
then reopening it -- worked on my virtual machine.

When I moved files to my real PCs( desktop and laptop), I exported
%APPDATA%\GnuCash and HKCU\Software\GSettings from the virtual machine
and imported them to desktop real machine, _then_ installed 4.14.
Everything opened without a problem. I then repeated the process --
import files and Registry settings -- on my laptop, and again everything
opened properly.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Upgrade to 4.14 (was: Upgrade to 3.11: question)

2023-08-04 Thread Stan Brown (using GC 2.6.21/3.11/4.14)
The main point of this is a possible solution to a problem someone else
reported a few days ago. You may want to skip the next two paragraphs,
which are about my own journey of updating GC, if you want to get right
to the meat.

I'm on Windows 10, upgrading from 2.6.19 to 5.x, one major version at a
time. The upgrade to 2.6.21 went fine, including test reports and Check
& Repair All. The upgrade to 3.11 didn't import the settings, saved
report configurations, and preferences; however, with some help from
Adrien I was able to move the things that 3.11 didn't, and all those
issues are solved.

I then ran 3.11's Check & Repair All on my two data files, which cover
2011-2017 and 2018 to present. That took a quite surprising
_six_and_a_half_hours_ for two files that were just 870 and 880 KB
(compressed).

But 3.11's Check & Repair All did finish, though the Save button
remained grayed out so apparently it found nothing to repair. Next I
cloned my 3.11 machine and installed 4.14 on the clone.

To my surprise, I got the dialog about some users wanting to create
accounts -- the dialog you get when you open GC and have no books in
your list. Also, my preferences had been changed to defaults. I wasn't
expecting that. But I remember someone else posted about a similar
experience, though I don't remember the resolution, if there is one.

So I exported the HKCU\GSettings key from the System Registry in the
3.11 and 4.13 machines, and compared the exported files. Ditto with the
%APPDATA%\GnuCash\books\*.gcm files that record the Accounts tab's
columns and sort order as well as info about other open tabs. There
didn't seem to be as many differences as I expected.

Scratching my head, I reopened GC 4.14, closed the Tip of the Day, and
then to my astonishment saw GC's window populate with all the previously
open tabs, and the Accounts tab was all set up as I had done it.
Settings like "Reverse Balanced Accounts", which had been the defaults
instead of what I picked, were now right.

In the very funny British TV show /The IT Crowd/, it's standard to
answer the phone "IT, have you tried turning it off and on again?" Based
on my experience, the other person who found GC 4.14 wasn't reopening
saved books and preferences weren't migrated might be able to fix
everything by just closing GC and then reopening it. That is, of course,
if it hasn't already been fixed in some other way.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.