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

Bug #730107 reported by Christoph Wickert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Timer Applet
New
Undecided
Unassigned
Fedora
Won't Fix
Medium

Bug Description

Original but report at https://bugzilla.redhat.com/show_bug.cgi?id=669519

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.

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.

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

Created attachment 473428
File: backtrace

Revision history for this message
Christoph Wickert (cwickert) wrote :
Revision history for this message
In , Christoph (christoph-redhat-bugs) wrote :

Thanks for submitting this crash report. It's fully reproducable, so I forwarded it to the developers at https://bugs.launchpad.net/timer-applet/+bug/730107

From now on further investigation of the crash should take place in Launchpad, so I will now close this bug. I will get back to you if I need more information (unlikely) and inform you once the issue has been resolved in Fedora. Feel free to subscribe to the bug in Lauchpad in order to get notified of any changes.

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.