You are not logged in.

#1 2020-03-29 00:08:48

potuz
Member
Registered: 2009-10-23
Posts: 112

[SOLVED] gnucash segfaults on using Finance::Quote

Granted, I haven't really debugged this, and before doing so, and before posting upstream, I thought I'd test asking here to rule out it's an Arch setup issue.

$ pacman -Q gnucash perl-finance-quote 
gnucash 3.8-5
perl-finance-quote 1.49-1

Running gnucash and trying to get online quotes it exits with

$ Found Finance::Quote version 1.49.
Backtrace:
           1 (apply-smob/1 #<catch-closure 7f0dd27a3900>)
In price-quotes.scm:
   417:57  0 (gnc:book-add-quotes #<swig-pointer GtkWindow * 55c40d83bca0> #<swig-pointer Q…>)

price-quotes.scm:417:57: In procedure gnc:book-add-quotes:
In procedure car: Wrong type argument in position 1 (expecting pair): ()

[1]+  Exit 1                  gnucash

Running directly gnc-fq-check I get:

$ gnc-fq-check 
Can't locate Mozilla/CA.pm in @INC (you may need to install the Mozilla::CA module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Finance/Quote/Tiaacref.pm line 33.
Compilation failed in require at (eval 348) line 1.
BEGIN failed--compilation aborted at (eval 348) line 1.
 at /usr/bin/gnc-fq-check line 91.
("1.49" "adig" "aex" "aiahk" "alphavantage" "amfiindia" "asegr" "asx" "aufunds" "australia" "bamosz" "bet" "bmonesbittburns" "bourso" "bse" "bsero" "canada" "canadamutual" "citywire" "cominvest" "cse" "deka" "dutch" "dwsfunds" "europe" "fetch_live_currencies" "fidelity" "fidelity_direct" "fidelityfixed" "financecanada" "finanzpartner" "finland" "fool" "france" "ftfunds" "ftportfolios" "ftportfolios_direct" "fundlibrary" "goldmoney" "greece" "hex" "hu" "hufund" "hungary" "hustock" "iexcloud" "indiamutual" "known_currencies" "lerevenu" "maninv" "morningstar" "morningstarau" "morningstarch" "morningstarjp" "mstaruk" "nasdaq" "nyse" "nz" "nzx" "platinum" "romania" "seb_funds" "sixfunds" "sixshares" "stockhousecanada_fund" "tdefunds" "tdwaterhouse" "tiaacref" "tnetuk" "troweprice" "troweprice_direct" "trustnet" "tsp" "tsx" "uk_unit_trusts" "ukfunds" "unionfunds" "usa" "usfedbonds" "vanguard" "vwd" "yahoo_json" "yahoo_yql" "za" "za_unittrusts")

Last edited by potuz (2020-03-29 00:33:46)

Offline

#2 2020-03-29 00:14:15

potuz
Member
Registered: 2009-10-23
Posts: 112

Re: [SOLVED] gnucash segfaults on using Finance::Quote

Update: the later error goes away installing perl-mozilla-ca as per the message itself.

Offline

#3 2020-03-29 00:33:28

potuz
Member
Registered: 2009-10-23
Posts: 112

Re: [SOLVED] gnucash segfaults on using Finance::Quote

Update 2: I had mistakenly thought that I did have one stock with "check for quotes online" marked, but I didn't. Just adding one solved this issue. Anyway this looks like a bug upstream the application shouldn't crash.

Offline

Board footer

Powered by FluxBB