GnuCash cannot get online quotes

  • Open
  • quality assurance status badge
Details
3 participants
  • Altadil
  • Anna Scott
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Altadil
Severity
normal
A
A
Altadil wrote on 6 Aug 2023 11:30
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
tsNTNV-LmNPalVkwE6657RVsu3sOYNhPuEs3bDKOd61w0DsWboF4u8UKzLjmqWl0maanE7rOC4if9e2P_tDzbuU19LAPxiZO_0I4qKAMYVE=@protonmail.com
Hi,

GnuCash 5.3, as packaged in Guix, cannot access quote sources. When adding a new security, it displays "Warning: Finance::Quote not installed properly." and the "Get Online Quotes" checkbox is greyed out.

I am on an up-to-date Guix System and the rest of GnuCash seems to be working fine.

It seems the package perl-finance-quote was not automatically installed with gnucash, so I installed it. I then tried to follow the steps in the upstream doc:?https://www.gnucash.org/docs/v4/C/gnucash-help/finance-quote-install.html
But it did not change the result.

The flatpak version of GnuCash from flathub.org (also 5.3) appears to be working (on the same Guix System).


Best regards,
Altadil
M
M
Maxim Cournoyer wrote on 7 Aug 2023 16:38
(name . Altadil via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
871qgegbp1.fsf@gmail.com
Hello,

Altadil via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (18 lines)
> Hi,
>
> GnuCash 5.3, as packaged in Guix, cannot access quote sources. When
> adding a new security, it displays "Warning: Finance::Quote not
> installed properly." and the "Get Online Quotes" checkbox is greyed
> out.
>
> I am on an up-to-date Guix System and the rest of GnuCash seems to be working fine.
>
> It seems the package perl-finance-quote was not automatically
> installed with gnucash, so I installed it. I then tried to follow the
> steps in the upstream
> doc:?https://www.gnucash.org/docs/v4/C/gnucash-help/finance-quote-install.html
> But it did not change the result.
>
> The flatpak version of GnuCash from flathub.org (also 5.3) appears to
> be working (on the same Guix System).

If other distributions of GnuCash commonly ship with the necessary Perl
modules necessary for this feature to work, perhaps we should too? It
could be done by wrapping the GnuCash binary with the Perl search path
(PERL5LIB, I reckon).

Would you like to give it a try?

--
Thanks,
Maxim
A
A
Altadil wrote on 8 Aug 2023 11:11
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
gsDKuGq6ldnEHsfyjmpAAefKpXaXoHH1Z0PW6OIjCNBYbt_pV3jb5UAzgrLvX06s79lTQRP_Kvz-GfmGUd7AFXPeCcoqiZ84m8vm0dp7iyM=@protonmail.com
------- Original Message -------
On Monday, August 7th, 2023 at 14:38, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:


Toggle quote (35 lines)
> Hello,
>
> Altadil via Bug reports for GNU Guix bug-guix@gnu.org writes:
>
> > Hi,
> >
> > GnuCash 5.3, as packaged in Guix, cannot access quote sources. When
> > adding a new security, it displays "Warning: Finance::Quote not
> > installed properly." and the "Get Online Quotes" checkbox is greyed
> > out.
> >
> > I am on an up-to-date Guix System and the rest of GnuCash seems to be working fine.
> >
> > It seems the package perl-finance-quote was not automatically
> > installed with gnucash, so I installed it. I then tried to follow the
> > steps in the upstream
> > doc:?https://www.gnucash.org/docs/v4/C/gnucash-help/finance-quote-install.html
> > But it did not change the result.
> >
> > The flatpak version of GnuCash from flathub.org (also 5.3) appears to
> > be working (on the same Guix System).
>
>
> If other distributions of GnuCash commonly ship with the necessary Perl
> modules necessary for this feature to work, perhaps we should too? It
> could be done by wrapping the GnuCash binary with the Perl search path
> (PERL5LIB, I reckon).
>
> Would you like to give it a try?
>
> --
> Thanks,
> Maxim


Hi,

I have no idea how this wrapping thing works, but I am willing to look at it. Is there any example of how to do that ?
A
A
Altadil wrote on 9 Aug 2023 11:46
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
nAkt1PtkwPSWDsronlGei3j1zScogCH7TipJyiIIWXrh5l7c2WT63Rm8j2Hy9H8VzZyjoPfly5APU9-MyrsGE6nxA3RciEzqleW8VZAlB5s=@protonmail.com
Toggle quote (40 lines)
> > Hello,
> >
> > Altadil via Bug reports for GNU Guix bug-guix@gnu.org writes:
> >
> > > Hi,
> > >
> > > GnuCash 5.3, as packaged in Guix, cannot access quote sources. When
> > > adding a new security, it displays "Warning: Finance::Quote not
> > > installed properly." and the "Get Online Quotes" checkbox is greyed
> > > out.
> > >
> > > I am on an up-to-date Guix System and the rest of GnuCash seems to be working fine.
> > >
> > > It seems the package perl-finance-quote was not automatically
> > > installed with gnucash, so I installed it. I then tried to follow the
> > > steps in the upstream
> > > doc:?https://www.gnucash.org/docs/v4/C/gnucash-help/finance-quote-install.html
> > > But it did not change the result.
> > >
> > > The flatpak version of GnuCash from flathub.org (also 5.3) appears to
> > > be working (on the same Guix System).
> >
> > If other distributions of GnuCash commonly ship with the necessary Perl
> > modules necessary for this feature to work, perhaps we should too? It
> > could be done by wrapping the GnuCash binary with the Perl search path
> > (PERL5LIB, I reckon).
> >
> > Would you like to give it a try?
> >
> > --
> > Thanks,
> > Maxim
>
>
>
> Hi,
>
> I have no idea how this wrapping thing works, but I am willing to look at it. Is there any example of how to do that ?


Hello,
after looking at the package definition, I did see the wrapping code. So the required module should be available. I don’t know why gnucash doesn’t find it. I tried launching the program from the CLI to see more of what’s going on, but it doesn’t print anything when trying to add a new security.

Best regards,
Altadil
A
A
Anna Scott wrote on 16 Apr 22:21 +0200
GnuCash cannot get online quotes
(address . 65111@debbugs.gnu.org)
702079DD-2F4A-4AB1-BE91-79976EDE1789@cox.net
Hello there … im using GNUCASH 5.3 and have the same problem exactly … can you advise on what to do now?
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 65111@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 65111
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch