Re: [GNC] Fetching quotes with flatpak
When specifying the namespace it works. Good to know there is a bug report about this. I've subscribed to it so that I know when it's been fixed. On Sun, 2023-04-02 at 19:24 +, Murugan Muruganandam wrote: > Can you run this in debug mode and see what error you are getting > > gnucash-cli --debug --quotes get --namespace from securities editor> > > > > Saludos Cordiales > > Murugan > From: Jon Schewe > Sent: Sunday, April 2, 2023 2:48 PM > To: Murugan Muruganandam ; gnucash- > u...@gnucash.org > Subject: Re: [GNC] Fetching quotes with flatpak > > That works as expected > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q > dump yahoo_json acn > acn: > date => 03/31/2023 > pe => 26.31768 > type => EQUITY > isodate => 2023-03-31 > low => 282.61 > year_range => 242.8 - 345.3 > high => 285.96 > symbol => acn > open => 283.12 > eps => 10.86 > exchange => Sourced from Yahoo Finance (as JSON) > success => 1 > div_yield => 1.5318757 > name => acn (Accenture plc) > method => yahoo_json > volume => 3009370 > currency => USD > last => 285.81 > close => 282.66 > > > On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote: > > can you try the following and check > > > > gnucash-cli --verbose -Q dump yahoo_json acn > > > > > > > > Saludos Cordiales > > > > Murugan > > > > From: gnucash-user > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon > > Schewe > > Sent: Sunday, April 2, 2023 10:53 AM > > To: gnucash-user@gnucash.org > > Subject: [GNC] Fetching quotes with flatpak > > > > I'm looking to use gnucash-cli to fetch quotes, however I'm told > > I'm > > missing a parameter. The commandline help documentation states to > > use > > "get" and then the datafile. I believe that I've done it correctly > > here, what am I missing? > > > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes > > > get > > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash > > Missing data file parameter > > > > Thank you, > > Jon > > > > ___ > > 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. > ___ 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.
Re: [GNC] Fetching quotes with flatpak
FYI there is an open bug report about this. https://bugs.gnucash.org/show_bug.cgi?id=798815 And yes I confirm it works for me also with a namespace but not without. It seems that with no namespace, the code is parsing the filename in the wrong variable, hence the missing filename message. On Sun, Apr 2, 2023 at 4:33 PM David H wrote: > Murugan/Jon, > > I'm having the same issue which isn't really an issue for me as I usually > just run Get Quotes from within GnuCash itself. I was able to get updated > quotes however by including the namespace parameter as follows:- > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get > --namespace=NYSE /home/<>/Documents/Test.gnucash > Found Finance::Quote version 1.5301. > > Hope this helps, Cheers David H. > > > > On Mon, 3 Apr 2023 at 05:25, Murugan Muruganandam < > m.muruganan...@hotmail.com> wrote: > > > Can you run this in debug mode and see what error you are getting > > > > gnucash-cli --debug --quotes get --namespace > securities editor> > > > > > > > > > > Saludos Cordiales > > > > > > Murugan > > > > ________ > > From: Jon Schewe > > Sent: Sunday, April 2, 2023 2:48 PM > > To: Murugan Muruganandam ; > > gnucash-user@gnucash.org > > Subject: Re: [GNC] Fetching quotes with flatpak > > > > That works as expected > > > > >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q > > dump yahoo_json acn > > acn: > > date => 03/31/2023 > > pe => 26.31768 > > type => EQUITY > > isodate => 2023-03-31 > > low => 282.61 > > year_range =>242.8 - 345.3 > > high => 285.96 > > symbol => acn > > open => 283.12 > > eps => 10.86 > > exchange => Sourced from Yahoo Finance (as JSON) > > success => 1 > >div_yield => 1.5318757 > > name => acn (Accenture plc) > > method => yahoo_json > > volume => 3009370 > > currency => USD > > last => 285.81 > >close => 282.66 > > > > > > On Sun, 2023-04-02 at 18:05 +0000, Murugan Muruganandam wrote: > > > can you try the following and check > > > > > > gnucash-cli --verbose -Q dump yahoo_json acn > > > > > > > > > > > > Saludos Cordiales > > > > > > Murugan > > > > > > From: gnucash-user > > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon > > > Schewe > > > Sent: Sunday, April 2, 2023 10:53 AM > > > To: gnucash-user@gnucash.org > > > Subject: [GNC] Fetching quotes with flatpak > > > > > > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm > > > missing a parameter. The commandline help documentation states to use > > > "get" and then the datafile. I believe that I've done it correctly > > > here, what am I missing? > > > > > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get > > > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash > > > Missing data file parameter > > > > > > Thank you, > > > Jon > > > > > > ___ > > > 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. > > > > ___ > > 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. > > > ___ > 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. > ___ 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.
Re: [GNC] Fetching quotes with flatpak
Murugan/Jon, I'm having the same issue which isn't really an issue for me as I usually just run Get Quotes from within GnuCash itself. I was able to get updated quotes however by including the namespace parameter as follows:- flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get --namespace=NYSE /home/<>/Documents/Test.gnucash Found Finance::Quote version 1.5301. Hope this helps, Cheers David H. On Mon, 3 Apr 2023 at 05:25, Murugan Muruganandam < m.muruganan...@hotmail.com> wrote: > Can you run this in debug mode and see what error you are getting > > gnucash-cli --debug --quotes get --namespace securities editor> > > > > > Saludos Cordiales > > > Murugan > > > From: Jon Schewe > Sent: Sunday, April 2, 2023 2:48 PM > To: Murugan Muruganandam ; > gnucash-user@gnucash.org > Subject: Re: [GNC] Fetching quotes with flatpak > > That works as expected > > >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q > dump yahoo_json acn > acn: > date => 03/31/2023 > pe => 26.31768 > type => EQUITY > isodate => 2023-03-31 > low => 282.61 > year_range =>242.8 - 345.3 > high => 285.96 > symbol => acn > open => 283.12 > eps => 10.86 > exchange => Sourced from Yahoo Finance (as JSON) > success => 1 >div_yield => 1.5318757 > name => acn (Accenture plc) > method => yahoo_json > volume => 3009370 > currency => USD > last => 285.81 >close => 282.66 > > > On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote: > > can you try the following and check > > > > gnucash-cli --verbose -Q dump yahoo_json acn > > > > > > > > Saludos Cordiales > > > > Murugan > > > > From: gnucash-user > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon > > Schewe > > Sent: Sunday, April 2, 2023 10:53 AM > > To: gnucash-user@gnucash.org > > Subject: [GNC] Fetching quotes with flatpak > > > > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm > > missing a parameter. The commandline help documentation states to use > > "get" and then the datafile. I believe that I've done it correctly > > here, what am I missing? > > > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get > > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash > > Missing data file parameter > > > > Thank you, > > Jon > > > > ___ > > 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. > > ___ > 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. > ___ 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.
Re: [GNC] Fetching quotes with flatpak
Can you run this in debug mode and see what error you are getting gnucash-cli --debug --quotes get --namespace Saludos Cordiales Murugan From: Jon Schewe Sent: Sunday, April 2, 2023 2:48 PM To: Murugan Muruganandam ; gnucash-user@gnucash.org Subject: Re: [GNC] Fetching quotes with flatpak That works as expected >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q dump yahoo_json acn acn: date => 03/31/2023 pe => 26.31768 type => EQUITY isodate => 2023-03-31 low => 282.61 year_range =>242.8 - 345.3 high => 285.96 symbol => acn open => 283.12 eps => 10.86 exchange => Sourced from Yahoo Finance (as JSON) success => 1 div_yield => 1.5318757 name => acn (Accenture plc) method => yahoo_json volume => 3009370 currency => USD last => 285.81 close => 282.66 On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote: > can you try the following and check > > gnucash-cli --verbose -Q dump yahoo_json acn > > > > Saludos Cordiales > > Murugan > > From: gnucash-user bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon > Schewe > Sent: Sunday, April 2, 2023 10:53 AM > To: gnucash-user@gnucash.org > Subject: [GNC] Fetching quotes with flatpak > > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm > missing a parameter. The commandline help documentation states to use > "get" and then the datafile. I believe that I've done it correctly > here, what am I missing? > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash > Missing data file parameter > > Thank you, > Jon > > ___ > 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. ___ 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.
Re: [GNC] Fetching quotes with flatpak
That works as expected >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q dump yahoo_json acn acn: date => 03/31/2023 pe => 26.31768 type => EQUITY isodate => 2023-03-31 low => 282.61 year_range =>242.8 - 345.3 high => 285.96 symbol => acn open => 283.12 eps => 10.86 exchange => Sourced from Yahoo Finance (as JSON) success => 1 div_yield => 1.5318757 name => acn (Accenture plc) method => yahoo_json volume => 3009370 currency => USD last => 285.81 close => 282.66 On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote: > can you try the following and check > > gnucash-cli --verbose -Q dump yahoo_json acn > > > > Saludos Cordiales > > Murugan > > From: gnucash-user bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon > Schewe > Sent: Sunday, April 2, 2023 10:53 AM > To: gnucash-user@gnucash.org > Subject: [GNC] Fetching quotes with flatpak > > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm > missing a parameter. The commandline help documentation states to use > "get" and then the datafile. I believe that I've done it correctly > here, what am I missing? > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash > Missing data file parameter > > Thank you, > Jon > > ___ > 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. ___ 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.
Re: [GNC] Fetching quotes with flatpak
can you try the following and check gnucash-cli --verbose -Q dump yahoo_json acn Saludos Cordiales Murugan From: gnucash-user on behalf of Jon Schewe Sent: Sunday, April 2, 2023 10:53 AM To: gnucash-user@gnucash.org Subject: [GNC] Fetching quotes with flatpak I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm missing a parameter. The commandline help documentation states to use "get" and then the datafile. I believe that I've done it correctly here, what am I missing? >flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get /home/jpschewe/Documents/banking/gnucash/accounts.gnucash Missing data file parameter Thank you, Jon ___ 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. ___ 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] Fetching quotes with flatpak
I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm missing a parameter. The commandline help documentation states to use "get" and then the datafile. I believe that I've done it correctly here, what am I missing? >flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get /home/jpschewe/Documents/banking/gnucash/accounts.gnucash Missing data file parameter Thank you, Jon ___ 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.