Bug 669519 - [abrt] gnome-applet-timer-2.1.4-1.fc13: TimerApplet.py:351:_on_timer_time_changed:ZeroDivisionError: float division
Summary: [abrt] gnome-applet-timer-2.1.4-1.fc13: TimerApplet.py:351:_on_timer_time_cha...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-applet-timer
Version: 13
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e519c647
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 21:07 UTC by Burnce
Modified: 2011-03-06 12:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-06 12:52:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (590 bytes, text/plain)
2011-01-13 21:07 UTC, Burnce
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 730107 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.