Thanks for the further tips.  I was unable to find gnucash.trace in either /tmp or /var/tmp (or their subdirectories.  Before trying to pipe the logs to the console as described in https://wiki.gnucash.org/wiki/Flatpak#Getting_Console_Output, I tried running the quote retrieval from the command line, as you suggested.  This resulted in the following error message:

>>

Price retrieval failed: Finance::Quote check returned error Can't locate IO/String.pm in @INC (you may need to install the IO::String module) (@INC contains: /app/lib/perl5/site_perl/5.32.0/x86_64-linux /ap p/lib/perl5/site_perl/5.32.0 /app/lib/perl5/5.32.0/x86_64-linux /app/lib/perl5/5.32.0) at /app/lib/perl
5/site_perl/5.32.0/Finance/Quote/IndiaMutual.pm line 33.
BEGIN failed--compilation aborted at /app/lib/perl5/site_perl/5.32.0/Finance/Quote/IndiaMutual.pm line
33.
Compilation failed in require at /app/lib/perl5/site_perl/5.32.0/Module/Load.pm line 78. Can't locate Finance/Quote/IndiaMutual in @INC (@INC contains: /app/lib/perl5/site_perl/5.32.0/x86_64-l inux /app/lib/perl5/site_perl/5.32.0 /app/lib/perl5/5.32.0/x86_64-linux /app/lib/perl5/5.32.0) at /app/
lib/perl5/site_perl/5.32.0/Module/Load.pm line 78.
at /app/bin/finance-quote-wrapper line 113.
Attempt to reload Finance/Quote/IndiaMutual.pm aborted.
Compilation failed in require at /app/lib/perl5/site_perl/5.32.0/Module/Load.pm line 78. Can't locate Finance/Quote/IndiaMutual in @INC (@INC contains: /app/lib/perl5/site_perl/5.32.0/x86_64-l inux /app/lib/perl5/site_perl/5.32.0 /app/lib/perl5/5.32.0/x86_64-linux /app/lib/perl5/5.32.0) at /app/
lib/perl5/site_perl/5.32.0/Module/Load.pm line 78.
at /app/bin/finance-quote-wrapper line 114.

<<

This suggests to me that the changes in the pm scripts depend on changes in the actual program code.

Can I just copy the entire tarball extract into /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/, or do I need to limit what I copy or keep any residual files in that directory tree?

Thanks for your support!

On 15.08.23 19:19, john wrote:
Look in the tracefile (https://wiki.gnucash.org/wiki/Tracefile) or run `gnucash-cli -Q info` (see https://wiki.gnucash.org/wiki/Flatpak#Using_Command_Line_Tools for how to run that from a flatpak) to see what the errors are.

Regards,
John Ralls


On Aug 15, 2023, at 08:26, rsbrux <rsb...@yahoo.com> wrote:

Now that I copied over the Quote directory and the Quote.pm script in /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/lib/perl5/site_perl/5.32.0/Finance/ with the files from the 1.58 release package, the "Get Quotes" button in the Price Database tool is disabled. I already gave universal execute privileges to  all of the newly copied files (and directory).  What else might be the cause?

On 15.08.23 14:51, rsbrux wrote:
Sorry, dumb question.  I found the tarball here: https://sourceforge.net/projects/finance-quote/

On 15.08.23 14:48, rsbrux wrote:
Thanks for the tip, but I'm not sure I'm getting the right source.

https://github.com/finance-quote/finance-quote offers a zip download of the code from master.  Is this the 1.58 release code or the current development version?  If the latter, where should I be looking for the release?

On 14.08.23 18:58, john wrote:

On Aug 14, 2023, at 04:33, rsbrux via gnucash-user <gnucash-user@gnucash.org> wrote:

I am running GC 5.3+ as a flatpak under Ubuntu Studio 22.04 LTS.

The included F::Q version is 1..56, which I have modified with the Yahoo as JSON patch already published to this mailing list.

However, it looks as though the current F::Q release, 1.58, includes quite a few fixes for various sources.

The last I heard,  it wasn't possible to update F::Q within a flatpak installation of GC.  Is that still the case?

If so, when can a flatpak update of GC containing F::Q 1.58 be expected?

If not, how can I update F::Q within my flatpak installation?
The update will be available when someone (probably I) have time to update the F::Q module in gnucash-on-flatpak. That update will be immediately available in nightly builds; it won't be available on Flathub until the regular release at the end of September.

It's not possible to use CPAN, and consequently gnc-fq-update, in the flatpak, but you can do it manually similarly to the way you applied the yahoo_json patch: Download and untar the release tarball or clone the repo then copy Quote.pm and the contents of Quote/ into the right places in your flatpak.

Regards,
John Ralls

_______________________________________________
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