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 548517 - invest-applet crashed with ZeroDivisionError in populate()
invest-applet crashed with ZeroDivisionError in populate()
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: invest-applet
2.23.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-19 19:55 UTC by Pedro Villavicencio
Modified: 2008-08-20 19:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pedro Villavicencio 2008-08-19 19:55:43 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gnome-applets/+bug/259071

"It crashed after updating the system and reset."

"Traceback (most recent call last):
  • File "/var/lib/python-support/python2.5/invest/quotes.py", line 96 in on_retriever_completed
    self.populate(self.parse_yahoo_csv(csv.reader(retriever.data)))
  • File "/var/lib/python-support/python2.5/invest/quotes.py", line 183 in populate
    self.avg_simple_quotes_change = simple_quotes_change/float(self.simple_quotes_count)
ZeroDivisionError: float division"

Comment 1 Callum McKenzie 2008-08-20 19:58:18 UTC
I've committed a fix to SVN. Thanks for reporting the bug.