GNOME Bugzilla – Bug 789938
Unable to update price quotes in Gnucash with latest Finance::Quote (1.38)
Last modified: 2018-06-30 00:00:33 UTC
I recently upgraded my operating system which moved me forward from Gnucash 2.6.1 to 2.6.12. Gnucash 2.6.1 had no problem updating my price quotes. I am no longer able to update my price quotes, Gnucash just gives me a generic error message with no further information. I have done the following: - Tried running "gnucash --debug", but this provides no extra information - Checked and I have the latest version of Finance::Quote (1.38) - Tried newer versions of Gnucash (2.6.15 and 2.6.17; both of these have the same problem) Steps to reproduce: - Open a data file that contains stocks/mutual funds/anything that uses internet price quotes - Open the price editor - Click "Get Quotes" Other diagnostic information: $ gnc-fq-check ("1.38" "adig" "aex" "aiahk" "amfiindia" "asegr" "asia" "asx" "australia" "bamosz" "bet" "bmonesbittburns" "bourso" "brasil" "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" "indiamutual" "known_currencies" "lerevenu" "maninv" "morningstar" "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" "yahoo_asia" "yahoo_australia" "yahoo_brasil" "yahoo_europe" "yahoo_json" "yahoo_nz" "yahoo_yql" "za" "za_unittrusts") $ gnc-fq-dump yahoo goog No results found for stock goog. $ gnc-fq-dump yahoo amzn No results found for stock amzn. $ gnc-fq-dump -v yahoo amzn No results found for stock amzn. $ gnc-fq-dump -v yahoo goog No results found for stock goog. $ gnc-fq-dump -v nyse goog No results found for stock goog. $ gnc-fq-dump -v nyse amzn No results found for stock amzn.
Created attachment 363022 [details] Error message screenshot
I just found out about the trace file ( https://wiki.gnucash.org/wiki/Tracefile ). When trying to update price quotes using gnucash --debug --extra, the trace file contains: * 10:21:25 INFO <qof.object> [qof_object_foreach] type=Split * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 23432 * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 23432 * 10:21:25 INFO <qof.query> [qof_query_run_internal] matching objects=0x55f4e1bd8c00 count=1707 * 10:21:25 INFO <qof.object> [qof_object_foreach] type=Split * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 23432 * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 23432 * 10:21:25 INFO <qof.query> [qof_query_run_internal] matching objects=0x55f4e1bbd360 count=335 * 10:21:25 INFO <qof.object> [qof_object_foreach] type=Split * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 23432 * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 23432 * 10:21:25 INFO <qof.query> [qof_query_run_internal] matching objects=0x55f4e1bb91a0 count=215 * 10:21:25 INFO <qof.object> [qof_object_foreach] type=Split * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split before is 23432 * 10:21:25 INFO <qof.engine> [qof_collection_foreach] Hash Table size of Split after is 23432 * 10:21:25 INFO <qof.query> [qof_query_run_internal] matching objects=0x55f4e1bc3140 count=1002 followed by a long list of calls to xaccAccountGetBalanceInCurrency.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 789808 ***
OK, thanks for letting me know!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=789938. Please update any external references or bookmarks.