Old dog learning new tricks comes hard: I forgot to cc the mailing list in my 
reply  to the valuable information Geert shared so this is to rectify that 
omission.
Also, it occurs to me that it would be very useful if somebody who knows how to 
edit the Gnucash Wiki could put a link in the Online Quotes page, Section 3 
(https://wiki.gnucash.org/wiki/Online_Quotes#Command_line_interface) pointing 
to the Flatpak page on Using Command Line Tools 
(https://wiki.gnucash.org/wiki/Flatpak#Using_Command_Line_Tools) which 
documents the information that Geert supplied me.
Cheers,doug

 

   ----- Reply ----- From: doug brown <dougc...@yahoo.com>To: Geert Janssens 
<geert.gnuc...@kobaltwit.be>Sent: Tuesday, July 11, 2023 at 02:45:37 PM 
GMT-7Subject: Re: Re: [GNC] Finance::Quote terminal commands not working with 
Flatpack v:5.3 install
 Thanks Geert-
This works! The whole topic of flatpack is  a complete mystery to me that I'm 
not sure I have the motivation to unravel.
One small error in the code line you sent. The <quote> option keyword needs to 
be preceded with a double dash as follows:
flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes dump

and dump requires some  arguements.
Thanks again.
Cheers,doug 

    On Tuesday, July 11, 2023 at 08:30:29 AM GMT-7, Geert Janssens 
<geert.gnuc...@kobaltwit.be> wrote:  
 
 
Hi Doug,


For the flatpak edition of gnucash the command to fetch quotes is slightly more 
complex:


flatpak run --command=gnucash-cli org.gnucash.GnuCash -quotes dump


This boils down to the following components:

- flatpak run .... org.gnucash.GnuCash

  => indicate you want to execute a command in the org.gnucash.GnuCash sandbox

     without any further options, this will run the default command in that

     sandbox, which is "gnucash"

- --command=gnucash-cli

  => indicate you don't want to run the default command, but gnucash-cli

     instead

- -quotes dump

  => the arguments to pass to the command to run


Regards,


Geert


Op dinsdag 11 juli 2023 16:13:37 CEST schreef doug brown via gnucash-user:

> I installed via flatpack Gnucash v. 5.3 on Linux Mint v. 20 OS and the

> terminal commands that I previously used to find sources for quotes on

> longer work.  Here is the output: doug@sager:~$ gnucash-cli --quotes dump

> yahoo_json QCBMPXgnucash-cli: command not found doug@sager:~$ gnc-fq-dump

> -v yahoo_json QCBMPXCommand 'gnc-fq-dump' not found, but can be installed

> with:sudo apt install gnucash Any thoughts?

> 

> 

> 

> _______________________________________________

> 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.

Reply via email to