After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789938 - Unable to update price quotes in Gnucash with latest Finance::Quote (1.38)
Unable to update price quotes in Gnucash with latest Finance::Quote (1.38)
Status: RESOLVED DUPLICATE of bug 789808
Product: GnuCash
Classification: Other
Component: Currency and Commodity
2.6.12
Other Linux
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2017-11-05 17:47 UTC by smkbot
Modified: 2018-06-30 00:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error message screenshot (9.76 KB, image/png)
2017-11-05 18:15 UTC, smkbot
Details

Description smkbot 2017-11-05 17:47:23 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.
Comment 1 smkbot 2017-11-05 18:15:46 UTC
Created attachment 363022 [details]
Error message screenshot
Comment 2 smkbot 2017-11-05 18:24:55 UTC
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.
Comment 3 John Ralls 2017-11-05 18:33:22 UTC
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 ***
Comment 4 smkbot 2017-11-05 20:47:43 UTC
OK, thanks for letting me know!
Comment 5 John Ralls 2018-06-30 00:00:33 UTC
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.