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 437803 - useless message when Get Quotes does not work
useless message when Get Quotes does not work
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: General
2.0.x
Other All
: Normal enhancement
: ---
Assigned To: Chris Lyttle
Chris Lyttle
: 562117 606697 667928 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-12 00:36 UTC by skewray
Modified: 2018-06-29 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description skewray 2007-05-12 00:36:39 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.
Comment 1 skewray 2007-09-16 15:54:43 UTC
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.
Comment 2 Josh Sled 2007-11-30 00:25:56 UTC
*** Bug 500425 has been marked as a duplicate of this bug. ***
Comment 3 Josh Sled 2007-11-30 00:27:28 UTC
What else do you think the message should say?
Comment 4 skewray 2007-11-30 03:53:03 UTC
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!
Comment 5 Mike Evans 2012-04-17 13:23:32 UTC
*** Bug 606697 has been marked as a duplicate of this bug. ***
Comment 6 John Ralls 2015-08-18 20:06:10 UTC
*** Bug 562117 has been marked as a duplicate of this bug. ***
Comment 7 John Ralls 2015-08-18 20:14:11 UTC
*** Bug 667928 has been marked as a duplicate of this bug. ***
Comment 8 John Ralls 2018-06-29 21:36:41 UTC
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.