Bug 669519

Summary: [abrt] gnome-applet-timer-2.1.4-1.fc13: TimerApplet.py:351:_on_timer_time_changed:ZeroDivisionError: float division
Product: [Fedora] Fedora Reporter: Burnce <Burnce>
Component: gnome-applet-timerAssignee: Christoph Wickert <cwickert>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: cwickert, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e519c647
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-06 12:52:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Burnce 2011-01-13 21:07:38 UTC
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.

Comment 1 Burnce 2011-01-13 21:07:41 UTC
Created attachment 473428 [details]
File: backtrace

Comment 2 Christoph Wickert 2011-03-06 12:52:54 UTC
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.