[GNC] (Reformatted) Crash with no information when using custom F::Q module

Derek Robinson derek.robinson at ymail.com
Mon Nov 18 15:40:44 EST 2019


 Thanks very much, Frank. I didn't quite understand the difference between gnc-fq-dump and gnc-fq-helper. My data retrieval method name contained digits and gnc-fq-helper did not allow them. I changed the method name to contain letters only and it works fine now.
Best,Derek 
    On Monday, November 18, 2019, 03:31:18 PM EST, Frank H. Ellenberger <frank.h.ellenberger at gmail.com> wrote:  
 
 Hello Derek,

Am Mo., 18. Nov. 2019 um 17:28 Uhr schrieb Derek Robinson via
gnucash-user <gnucash-user at gnucash.org>:
>
> Apologies - I don't know why the linebreaks didn't work in my last message. Please disregard that (unreadable) version.

Tip: To avoid reformatting of source file send them as attachments
instead of inline.

Wthout looking closer in your module ...
:
> gnc-fq-dump output
>
> C:\Program Files (x86)\gnucash\bin>perl gnc-fq-dump vanguardportfolios529 4517
> Finance::Quote fields Gnucash uses:
> symbol: 4517                <=== required
> date: 11/15/2019            <=== recommended
> currency: USD                <=== required
> last:                        <=\
> nav: 51.22                  <=== one of these
> price:                      <=/
> timezone:                    <=== optional

So, for a user it is readable, but is it also readable for the
program? For that purpose we have gnc-fq-helper. See
https://wiki.gnucash.org/wiki/Online_Quotes#Helper_Scripts

Regards
Frank
  


More information about the gnucash-user mailing list