TimerApplet.py:351:_on_timer_time_changed:ZeroDivisionError: float division
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Timer Applet |
New
|
Undecided
|
Unassigned | ||
Fedora |
Won't Fix
|
Medium
|
Bug Description
Original but report at https:/
abrt version: 1.1.14
architecture: x86_64
cmdline: python /usr/lib64/
--oaf-activate-
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/
kernel: 2.6.34.
package: gnome-applet-
reason: TimerApplet.
division
release: Fedora release 13 (Goddard)
time: 1294952691
uid: 500
backtrace
-----
TimerApplet.
Traceback (most recent call last):
File
"/usr/lib/
351, in _on_timer_
fraction_
self._timer.
ZeroDivisionError: float division
Local variables in innermost frame:
name: ''
seconds: 0
self: <timerapplet.
timer: <Timer object at 0x2564410 (timerapplet+
hours: 0
minutes: 0
How to reproduce
-----
1. Type "12#" in minutes field
2. Hit enter
3.
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
abrt version: 1.1.14 timer-applet/ timer-applet --oaf-activate- iid=OAFIID: TimerApplet_ Factory --oaf-ior-fd=24 timer-applet/ timer-applet 7-66.fc13. x86_64 timer-2. 1.4-1.fc13 py:351: _on_timer_ time_changed: ZeroDivisionErr or: float division
architecture: x86_64
cmdline: python /usr/lib64/
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/
kernel: 2.6.34.
package: gnome-applet-
reason: TimerApplet.
release: Fedora release 13 (Goddard)
time: 1294952691
uid: 500
backtrace py:351: _on_timer_ time_changed: ZeroDivisionErr or: float division
-----
TimerApplet.
Traceback (most recent call last): python2. 6/site- packages/ timerapplet/ controllers/ TimerApplet. py", line 351, in _on_timer_ time_changed remaining = float(self. _timer. get_remaining_ time()) / self._timer. get_duration( )
File "/usr/lib/
fraction_
ZeroDivisionError: float division
Local variables in innermost frame: controllers. TimerApplet. TimerApplet object at 0x2562550> core+Timer+ Timer at 0x2741080)>
name: ''
seconds: 0
self: <timerapplet.
timer: <Timer object at 0x2564410 (timerapplet+
hours: 0
minutes: 0
How to reproduce
-----
1. Type "12#" in minutes field
2. Hit enter
3.