Stopped working again just that quick:

flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get -- 
/home/dgp/GnuCash/ubuntu-DGPickett.gnucashF: X11 socket /tmp/.X11-unix/X0 does 
not exist in filesystem, trying to use abstract socket instead.
** (process:164114): WARNING **: 00:01:07.654: Failed to connect to bus: Could 
not connect: Connection refused* 00:01:07 ERROR <gnc.gui> 
[cleanup_and_exit_with_failure()] File is locked, won't open.
Is there some new lock besides the .LCK file ?

-----Original Message-----
From: Bruce Schuck <bsch...@asgard-systems.com>
To: David G. Pickett <dgpick...@aol.com>; gnucash-user@gnucash.org 
<gnucash-user@gnucash.org>
Cc: rlo...@gmail.com <rlo...@gmail.com>; geert.gnuc...@kobaltwit.be 
<geert.gnuc...@kobaltwit.be>; m.muruganan...@hotmail.com 
<m.muruganan...@hotmail.com>; hell...@gmail.com <hell...@gmail.com>
Sent: Tue, Apr 11, 2023 10:21 pm
Subject: Re: [GNC] Command line quotes still not fixed

On 4/11/23 6:51 PM, David G. Pickett wrote:

> Maybe patch the code to load a junk string in there 
> "Enter_your_key_here" and suppress the warning?

I have been thinking about that. I haven't tested if bogus API keys are 
subject to the same limitations as the free keys, but I think it would 
lead to other issues when it works for some people earlier in the day, 
but after the 500 per day limit is reached then getting quotes or 
exchange rates fail. And that would be for other people, or those who it 
worked for earlier in the day.

On top of that, we humans can be quite lazy. If someone notices their 
AlphaVantage stock quotes or exchange rates work, they may not bother 
with getting their own real free API key.

Still, setting the dummy key if none is supplied may make it into F::Q 
v1.55 (may be pushed to CPAN next month).

- Bruce S.
_______________________________________________
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