[GNC] Fwd: F::Q CLI issue with GNC 5.6-1 on Win 11
David H
hellvee at gmail.com
Fri Jun 14 21:06:20 EDT 2024
Ken,
I'm using Gnucash 5.6+(2024-03-30) and Finance Quote 1.62 and it works
for me but I don't recommend you use it as it stuffed up my gnucash
data file. After it finished I tried to go back into Gnucash and got
the dreaded "The program Gnucash has stopped working wait while we
report it to Microsoft" or whatever the error is. Only fixed the
issue by going back to the backup file from immediately prior to the
command line cli command and copying it as my usual name gnucash file.
Not much in the way of displays either - just says it "Found
Finance::Quote Version 1.62." even with the verbose option. It's a
bit dicky on Windows anyway as it seems you have to change all the
backslashes to forward slashes manually :-)
As for your problem I'm only using Alphavantage and a couple of
securities on the NYSE - AAPL and UIS so you might be wanting to check
how your securities are setup ?
Cheers David H.
On Sat, 15 Jun 2024 at 02:54, Ken Burns <kcb at kcburns.com> wrote:
>
>
> >
> > Message: 4
> > Date: Fri, 19 Apr 2024 13:29:21 -0400
> > From: gnucash at kcburns.com
> > To: gnucash-user at gnucash.org
> > Subject: [GNC] F::Q CLI issue with GNC 5.6-1 on Win 11
> > Message-ID: <fd27c76f-b79f-43cc-8d52-10cf9bb0c314 at kcburns.com>
> > Content-Type: text/plain; charset=UTF-8; format=flowed
> >
> > When using GNC 5.4 on Windows 11, F::Q 1.59 & 1.60 work perfectly
> > (except for the quote source issues resolved with 1.6).
> >
> > When upgrade to GNC 5.6-1 neither F::Q 1.59 nor 1.6 CLI works, error
> > message indicates unable to find data file.
> >
> > Note that using the Get Quotes button in the Price Database window does
> > work perfectly with GNC 5.6-1.
> >
> > My CLI command, run as administrator, is:
> >
> > "C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe" --verbose --quotes
> > get file://C:/Users/KCBurns/AppData/Local/GnuCash/KCBurns.gnucash
> >
> > I am USA-based using unknown\yahoojson as the quote source for six
> > securities on NASDAQ and NYSE; though I have tried other quote sources
> > with no success.
> >
> > Re-installing GNC 5.4 gives me a functioning F::Q CLI.
> >
> >
> >
> I received no replies to this submission, but am still struggling with
> the issue.
>
> I will appreciate anybody providing a copy of the command they
> successfully use with GnuCash 5.6 on any version of Windows.
>
> I have since updated to F::Q 1.62, and am now using MarketWatch as my
> source.
>
> When I run the command (run as administrator) with GnuCash 5.6, I get:
>
>
> C:\Windows\system32>"C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe"
> --verbose --quotes get
> file://C:/Users/KCBurns/AppData/Local/GnuCash/KCBurns.gnucash
> Found Finance::Quote version 1.62.
> Price retrieval failed: Failed to parse result returned by Finance::Quote.
> Error message:
> <unspecified file>(1): expected value
> Result:
>
>
> C:\Windows\system32>PAUSE
> Press any key to continue . . .
>
>
> When I run the same command with GnuCash 5.4 I get my quotes
> successfully updated.
>
> Thanks for any help,
> Ken
>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.
More information about the gnucash-user
mailing list