[GNC] Command line quotes still not fixed

David G. Pickett dgpickett at aol.com
Fri Apr 14 21:53:13 EDT 2023


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 <bschuck at asgard-systems.com>
To: David G. Pickett <dgpickett at aol.com>; gnucash-user at gnucash.org <gnucash-user at gnucash.org>
Cc: rlosey at gmail.com <rlosey at gmail.com>; geert.gnucash at kobaltwit.be <geert.gnucash at kobaltwit.be>; m.muruganandam at hotmail.com <m.muruganandam at hotmail.com>; hellvee at gmail.com <hellvee at 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.


More information about the gnucash-user mailing list