Bug 906502 - [abrt] hamster-applet-2.32.1-3.fc17: timeinput.py:115:figure_time:ValueError: hour must be in 0..23
Summary: [abrt] hamster-applet-2.32.1-3.fc17: timeinput.py:115:figure_time:ValueError:...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: hamster-applet
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mads Villadsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:83724dafa1a510c64ec270f833e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 18:10 UTC by John Milner
Modified: 2013-08-01 03:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-01 03:39:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: executable (29 bytes, text/plain)
2013-01-31 18:10 UTC, John Milner
no flags Details
File: environ (1.37 KB, text/plain)
2013-01-31 18:10 UTC, John Milner
no flags Details
File: smolt_data (2.64 KB, text/plain)
2013-01-31 18:10 UTC, John Milner
no flags Details
File: core_backtrace (611 bytes, text/plain)
2013-01-31 18:10 UTC, John Milner
no flags Details

Description John Milner 2013-01-31 18:10:39 UTC
Description of problem:
In the "Add Earlier Activity" dialog, I tried to enter an end time using 24 to indicate midnight.

This report is about error handling; I'm not disupting the 0-23 notation. Thank you.


Version-Release number of selected component:
hamster-applet-2.32.1-3.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
cmdline:        python /usr/bin/hamster-time-tracker
kernel:         3.6.11-5.fc17.x86_64

backtrace:
:timeinput.py:115:figure_time:ValueError: hour must be in 0..23
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/hamster/edit_activity.py", line 273, in on_end_time_entered
:    self.validate_fields()
:  File "/usr/lib/python2.7/site-packages/hamster/edit_activity.py", line 285, in validate_fields
:    end_time = self._get_datetime("end")
:  File "/usr/lib/python2.7/site-packages/hamster/edit_activity.py", line 175, in _get_datetime
:    end_time = self.end_time.get_time()
:  File "/usr/lib/python2.7/site-packages/hamster/widgets/timeinput.py", line 131, in get_time
:    self.time = self.figure_time(self.get_text())
:  File "/usr/lib/python2.7/site-packages/hamster/widgets/timeinput.py", line 115, in figure_time
:    return dt.time(hours, minutes)
:ValueError: hour must be in 0..23
:
:Local variables in innermost frame:
:hours: 24
:self: <TimeInput object at 0x2c0fdc0 (hamster+widgets+timeinput+TimeInput at 0x2db0290)>
:str_time: '24:31'
:minutes: 31
:numbers: ['24', '31']

Comment 1 John Milner 2013-01-31 18:10:43 UTC
Created attachment 691138 [details]
File: executable

Comment 2 John Milner 2013-01-31 18:10:54 UTC
Created attachment 691139 [details]
File: environ

Comment 3 John Milner 2013-01-31 18:10:56 UTC
Created attachment 691140 [details]
File: smolt_data

Comment 4 John Milner 2013-01-31 18:10:58 UTC
Created attachment 691141 [details]
File: core_backtrace

Comment 5 Fedora End Of Life 2013-07-04 00:12:01 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2013-08-01 03:39:36 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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