On 4/5/24 8:50 AM, David G. Pickett wrote:

The quotes were fetched despite these usual errors, so it is only a cosmetic error.

 > 2024-04-03 23:45:06 Removed any lck, adding price quotes
 > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get --
 > /home/dgp/GnuCash/ubuntu-DGPickett.gnucash
> F: X11 socket /tmp/.X11-unix/X0 does not exist in filesystem,
trying to
 > use abstract socket instead.

> ** (process:102885): WARNING **: 23:45:07.118: Failed to connect
to bus:
 > Could not connect: Connection refused
 > Found Finance::Quote version 1.59.

This error is from Flatpak. Could be related to this thread:

https://github.com/flatpak/flatpak/issues/938
<https://github.com/flatpak/flatpak/issues/938>

Possibly. I noticed this in the GnuCash technical reference (https://gnucash.org/docs/v5/C/gnucash-manual.pdf):

=====
On Linux if there is no graphic session that has already started the dbus, running on your computer at the time of the quote request, you must do the entry as follows instead:

0 16 * * 5 env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT;
gnucash-cli --quotes get ${HOME}/gnucash-filename > /dev/null 2>&1
=====

For *its and giggles, change the time of your cron job to an hour or so before or after 23:45.

Still, I have not been able to duplicate the issue on an Ubuntu 22.04 virtual machine (VirtualBox) and the current stable Flatpak GnuCash 5.6 (Build ID: Flathub 5.6-1). I'm running the update every hour.

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