Re: [GNC] Preferences reset

2021-05-22 Thread John Ralls



> On May 22, 2021, at 11:44 AM, Geert Janssens  
> wrote:
> 
> Op zaterdag 22 mei 2021 19:34:44 CEST schreef John Ralls:
> > > On May 22, 2021, at 4:00 AM, Geert Janssens 
> > > wrote:
> > > 
> > > I have looked into this some more and filed bug
> > > https://bugs.gnucash.org/show_bug.cgi?id=798194 with more details.
> > > 
> > > The proper fix would require changes affecting all users, not only flatpak
> > > users (changes to how we store our preferences in GSettings). That's
> > > probably out of proportion with the benefit we'd have from this.
> > Well, all Linux users. The domain is already correct on macOS,
> > org.gnucash.Gnucash.plist. Would it change the HKLM\Software registry keys
> > on Windows?
> > 
> > Regards,
> > John Ralls
>  
> Interesting. What makes this different on MacOS vs Linux ? Where is this 
> defined ?

https://github.com/Gnucash/gnucash-on-osx/blob/c79543057f2a0efa21169ab6fccb31bebb731cd5/gnucash-bundler/Info.plist#L13

>  
> And more interestingly perhaps what are the key paths used inside of that 
> plist file ?

Looks like the paths inside the file *would* be affected, e.g. 
/org/gnucash/window/pages/account-tree/summary/start-choice-absolute

Regards,
John Ralls


___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Preferences reset

2021-05-22 Thread Geert Janssens
Op zaterdag 22 mei 2021 19:34:44 CEST schreef John Ralls:
> > On May 22, 2021, at 4:00 AM, Geert Janssens 
> > wrote:
> > 
> > I have looked into this some more and filed bug
> > https://bugs.gnucash.org/show_bug.cgi?id=798194 with more details.
> > 
> > The proper fix would require changes affecting all users, not only flatpak
> > users (changes to how we store our preferences in GSettings). That's
> > probably out of proportion with the benefit we'd have from this.
> Well, all Linux users. The domain is already correct on macOS,
> org.gnucash.Gnucash.plist. Would it change the HKLM\Software registry keys
> on Windows?
> 
> Regards,
> John Ralls

Interesting. What makes this different on MacOS vs Linux ? Where is this 
defined ?

And more interestingly perhaps what are the key paths used inside of that plist 
file ?

Regards,

Geert

___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Preferences reset

2021-05-22 Thread John Ralls



> On May 22, 2021, at 4:00 AM, Geert Janssens  
> wrote:
> 
> I have looked into this some more and filed bug 
> https://bugs.gnucash.org/show_bug.cgi?id=798194 with more details.
>  
> The proper fix would require changes affecting all users, not only flatpak 
> users (changes to how we store our preferences in GSettings). That's probably 
> out of proportion with the benefit we'd have from this.
>  

Well, all Linux users. The domain is already correct on macOS, 
org.gnucash.Gnucash.plist. Would it change the HKLM\Software registry keys on 
Windows?

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@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.


[GNC] Import accounts from CSV / new security

2021-05-22 Thread mike823
Hi everyone,

When doing an "Import accounts from CSV" if the account is "stock" type, it
will require a "security" (or commodity) as parameter. Is there any way to
create the security through import, when it is a new one and it does not
exist?

TIA. 



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Preferences reset

2021-05-22 Thread Glenn Fowler
All,
That link is invalid, here is the correct link:
https://bugs.gnucash.org/show_bug.cgi?id=798194

On Sat, May 22, 2021, 7:00 AM Geert Janssens 
wrote:

> I have looked into this some more and filed bug
> https://bugs.gnucash.org/show_bug.cgi?
> id=798194[1]  with
> more details.
>
> The proper fix would require changes affecting all users, not only flatpak
> users (changes to
> how we store our preferences in GSettings). That's probably out of
> proportion with the benefit
> we'd have from this.
>
> Luckily there is a workaround that is fairly simple, involving two shell
> commands. They are
> detailed in the bug report.
>
> Regards,
>
> Geert
>
> Op zaterdag 3 april 2021 22:52:31 CEST schreef John Ralls:
> > I haven't noticed anything and so far everyone who's reported this uses
> the
> > flatpak build. My guess for the most likely cause is that we upgraded the
> > Gnome runtime and there's some change to GSettings in there.
> >
> > Regards,
> > John Ralls
> >
> > > On Apr 3, 2021, at 9:33 AM, David Carlson  >
> > > wrote:
> > >
> > > So your file history was gone too.  I wonder if there is a comparable
> > > problem with Mac computers?
> > >
> > > On Sat, Apr 3, 2021, 11:05 AM Mike  wrote:
> > >> Yeah, that's exactly what I mean. I forgot to add that when I clicked
> on
> > >> the desktop icon to start GC it opened a new database with no entries
> as
> > >> if
> > >> I were starting GC from scratch. I had to find the file and start it
> from
> > >> the file manager. I was worried that my data would be gone, but it was
> > >> only
> > >> my preferences that were gone.
> > >>
> > >> Mike
> > >>
> > >> On 4/3/21 9:49 AM, David Carlson wrote:
> > >>
> > >> Do you mean that GnuCash reset your preferences for you without any
> > >> action
> > >> on your part?
> > >>
> > >> That sounds like a bug to me.
> > >>
> > >>
> > >>
> > >> On Sat, Apr 3, 2021, 8:38 AM Mike via gnucash-user <
> > >>
> > >> gnucash-user@gnucash.org> wrote:
> > >>> I just opened GC today and discovered that I had to reset all of my
> > >>> preferences. None of the entries were affected. Very strange, I've
> not
> > >>> had that happen before. I'm using GC Flatpak version 4.5 on Linux
> Mint
> > >>> 20.1 for those who are interested.
> > >>>
> > >>> Mike
> > >>> ___
> > >>> gnucash-user mailing list
> > >>> gnucash-user@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.
> > >
> > > ___
> > > gnucash-user mailing list
> > > gnucash-user@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.
> >
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> ___
> gnucash-user mailing list
> gnucash-user@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.
>
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Preferences reset

2021-05-22 Thread Geert Janssens
As the description in the bug is fairly long and technical, I'll repeat the 
workaround steps here:
The migration is actually fairly easy to do manually. It involves these steps:
* if you care about current sandbox settings, move
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
  to some place safe
* run
  dconf dump /org/gnucash/ > \
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
* run
  perl -pi.bkp -e's!^[[]![org/gnucash/!' \
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
The long  commands are split in two lines. You can either copy them as 
presented here (with 
the backslash and newlines included)  or you can put each command on a single 
line, but then 
you have to remove the  backslash character from the command.

Regards,

Geert

Op zaterdag 22 mei 2021 13:00:58 CEST schreef Geert Janssens:
> I have looked into this some more and filed bug
> https://bugs.gnucash.org/show_bug.cgi? id=798194[1] with more details.
> 
> The proper fix would require changes affecting all users, not only flatpak
> users (changes to how we store our preferences in GSettings). That's
> probably out of proportion with the benefit we'd have from this.
> 
> Luckily there is a workaround that is fairly simple, involving two shell
> commands. They are detailed in the bug report.
> 
> Regards,
> 
> Geert
> 
> Op zaterdag 3 april 2021 22:52:31 CEST schreef John Ralls:
> > I haven't noticed anything and so far everyone who's reported this uses
> > the
> > flatpak build. My guess for the most likely cause is that we upgraded the
> > Gnome runtime and there's some change to GSettings in there.
> > 
> > Regards,
> > John Ralls
> > 
> > > On Apr 3, 2021, at 9:33 AM, David Carlson 
> > > wrote:
> > > 
> > > So your file history was gone too.  I wonder if there is a comparable
> > > problem with Mac computers?
> > > 
> > > On Sat, Apr 3, 2021, 11:05 AM Mike  wrote:
> > >> Yeah, that's exactly what I mean. I forgot to add that when I clicked
> > >> on
> > >> the desktop icon to start GC it opened a new database with no entries
> > >> as
> > >> if
> > >> I were starting GC from scratch. I had to find the file and start it
> > >> from
> > >> the file manager. I was worried that my data would be gone, but it was
> > >> only
> > >> my preferences that were gone.
> > >> 
> > >> Mike
> > >> 
> > >> On 4/3/21 9:49 AM, David Carlson wrote:
> > >> 
> > >> Do you mean that GnuCash reset your preferences for you without any
> > >> action
> > >> on your part?
> > >> 
> > >> That sounds like a bug to me.
> > >> 
> > >> 
> > >> 
> > >> On Sat, Apr 3, 2021, 8:38 AM Mike via gnucash-user <
> > >> 
> > >> gnucash-user@gnucash.org> wrote:
> > >>> I just opened GC today and discovered that I had to reset all of my
> > >>> preferences. None of the entries were affected. Very strange, I've not
> > >>> had that happen before. I'm using GC Flatpak version 4.5 on Linux Mint
> > >>> 20.1 for those who are interested.
> > >>> 
> > >>> Mike
> > >>> ___
> > >>> gnucash-user mailing list
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Preferences reset

2021-05-22 Thread Geert Janssens
I have looked into this some more and filed bug 
https://bugs.gnucash.org/show_bug.cgi?
id=798194[1] with more details.

The proper fix would require changes affecting all users, not only flatpak 
users (changes to 
how we store our preferences in GSettings). That's probably out of proportion 
with the benefit 
we'd have from this.

Luckily there is a workaround that is fairly simple, involving two shell 
commands. They are 
detailed in the bug report.

Regards,

Geert

Op zaterdag 3 april 2021 22:52:31 CEST schreef John Ralls:
> I haven't noticed anything and so far everyone who's reported this uses the
> flatpak build. My guess for the most likely cause is that we upgraded the
> Gnome runtime and there's some change to GSettings in there.
> 
> Regards,
> John Ralls
> 
> > On Apr 3, 2021, at 9:33 AM, David Carlson 
> > wrote:
> > 
> > So your file history was gone too.  I wonder if there is a comparable
> > problem with Mac computers?
> > 
> > On Sat, Apr 3, 2021, 11:05 AM Mike  wrote:
> >> Yeah, that's exactly what I mean. I forgot to add that when I clicked on
> >> the desktop icon to start GC it opened a new database with no entries as
> >> if
> >> I were starting GC from scratch. I had to find the file and start it from
> >> the file manager. I was worried that my data would be gone, but it was
> >> only
> >> my preferences that were gone.
> >> 
> >> Mike
> >> 
> >> On 4/3/21 9:49 AM, David Carlson wrote:
> >> 
> >> Do you mean that GnuCash reset your preferences for you without any
> >> action
> >> on your part?
> >> 
> >> That sounds like a bug to me.
> >> 
> >> 
> >> 
> >> On Sat, Apr 3, 2021, 8:38 AM Mike via gnucash-user <
> >> 
> >> gnucash-user@gnucash.org> wrote:
> >>> I just opened GC today and discovered that I had to reset all of my
> >>> preferences. None of the entries were affected. Very strange, I've not
> >>> had that happen before. I'm using GC Flatpak version 4.5 on Linux Mint
> >>> 20.1 for those who are interested.
> >>> 
> >>> Mike
> >>> ___
> >>> gnucash-user mailing list
> >>> gnucash-user@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.
> > 
> > ___
> > gnucash-user mailing list
> > gnucash-user@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.
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] When Do Account Totals Update When Updating Prices

2021-05-22 Thread Deva -
Sounds good, Jack. Thanks for the revert.

Cheers,
Deva


Sent from Outlook


From: Jack Frillman 
Sent: 21 May 2021 16:56
To: Deva - ; gnucash-user@gnucash.org 

Subject: Re: [GNC] When Do Account Totals Update When Updating Prices


Deva,
I found this in my junk folder and I have no idea why it ended up there and all 
the others GNC emails didn't.

Your suggestion of doing the refresh does in fact update the account totals 
like I wanted.

A belated thanks for the suggestion.

Jack

On 4/8/21 7:23 AM, Deva - wrote:
Jack,

I don't exactly have an answer to your question, but I find that such 
mysterious behaviour goes away sometimes when I do View->Refresh. For instance, 
when I am switching datafiles, sometimes the accounts page shows all totals as 
zero (I am on Ubuntu GNC 3.10). All totals reappear when I do the View->Refresh 
action. Hopefully, this will solve your problem as well.

If this doesn't work, I'm afraid I don't have much else to offer you.

Cheers,
Deva


-

From: Jack Frillman 
To: Gnucash Users 
Subject: [GNC] When Do Account Totals Update When Updating Prices
Message-ID: 
<8b17fa76-f11f-8408-f985-5093b129f...@me.com>
Content-Type: text/plain; charset=utf-8; format=flowed


I have an IRA account set up where the parent account is a Bank Account
and under that are a number of Stock and Mutual Funds accounts.
When I update the prices by importing a CSV file the total $ amount for
the parent (IRA Account) account does not always update right away.
Sometimes it take a while and I'm a bit confused on what's going on.

What triggers the account totals to update?

--
Old Unix programmers never die, they just mv to /dev/null
- Anonymous



--



--
Old Unix programmers never die, they just mv to /dev/null
- Anonymous
___
gnucash-user mailing list
gnucash-user@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.