Comment 2 for bug 730107

Revision history for this message
In , Burnce (burnce-redhat-bugs) wrote :

abrt version: 1.1.14
architecture: x86_64
cmdline: python /usr/lib64/timer-applet/timer-applet --oaf-activate-iid=OAFIID:TimerApplet_Factory --oaf-ior-fd=24
comment: Entered time for timer and slipped while hitting enter to start it. Should give an error instead of crashing.
component: gnome-applet-timer
executable: /usr/lib64/timer-applet/timer-applet
kernel: 2.6.34.7-66.fc13.x86_64
package: gnome-applet-timer-2.1.4-1.fc13
reason: TimerApplet.py:351:_on_timer_time_changed:ZeroDivisionError: float division
release: Fedora release 13 (Goddard)
time: 1294952691
uid: 500

backtrace
-----
TimerApplet.py:351:_on_timer_time_changed:ZeroDivisionError: float division

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/timerapplet/controllers/TimerApplet.py", line 351, in _on_timer_time_changed
    fraction_remaining = float(self._timer.get_remaining_time()) / self._timer.get_duration()
ZeroDivisionError: float division

Local variables in innermost frame:
name: ''
seconds: 0
self: <timerapplet.controllers.TimerApplet.TimerApplet object at 0x2562550>
timer: <Timer object at 0x2564410 (timerapplet+core+Timer+Timer at 0x2741080)>
hours: 0
minutes: 0

How to reproduce
-----
1. Type "12#" in minutes field
2. Hit enter
3.