GNOME Bugzilla – Bug 437803
useless message when Get Quotes does not work
Last modified: 2018-06-29 21:36:41 UTC
Please describe the problem: Hitting the "Get Quotes" button in the Price Editor returns the message "There was a system error while retrieving the price quotes." This error message *could* be made more helpful. Steps to reproduce: 1. Tools 2. Price Editor 3. Get Quotes Actual results: Pop-up appears with the message "There was a system error while retrieving the price quotes." Expected results: Does this happen every time? Yes, every time. Other information: My system is SuSE 10.2, fully patched. Get Quotes worked fine under SuSE 10.1. Since 10.2 did not come with install-finance-quotes (name?), I used cpan to install the get-finance-quotes perl scripts.
SuSE 10.2 issued a patch for this (to appear in 10.3), since I also reported the bug there. The problem was missing perl libraries on which finance-quote depends. The basic problem with Gnucash that the error message is useless has still not been resolved.
*** Bug 500425 has been marked as a duplicate of this bug. ***
What else do you think the message should say?
I would think that the optimal message would be one that helped the user to debug the problem. When I got this message, I did not know if it was an internal problem to Gnucash or a problem with the perl scripts. In my case, it should have said something like, "The perl script 'get-finance-quotes' found, but returned an error." Even more helpful would be if the error that the script returned was displayed as well. A truly masterful program would, after an error, check that get-finance-quote and all of its dependencies were installed, and if not, install them with CPAN. I bet this is only a ten line perl program, but I actually don't know perl. Thanks for looking into this. Gnucash is a great project!
*** Bug 606697 has been marked as a duplicate of this bug. ***
*** Bug 562117 has been marked as a duplicate of this bug. ***
*** Bug 667928 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=437803. Please continue processing the bug there and please update any external references or bookmarks.