Bug 996392

Summary: [abrt] gnome-abrt-0.3.0-3.fc20: problems.py:160:__getitem__:TypeError: float() argument must be a string or a number
Product: [Fedora] Fedora Reporter: Christopher Meng <i>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jberan, jfilak
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:c4bc43dc3905617593d02692357033fb42828523
Fixed In Version: gnome-abrt-0.3.1-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 09:30:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 995337    
Bug Blocks:    
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Christopher Meng 2013-08-13 06:15:46 UTC
Version-Release number of selected component:
gnome-abrt-0.3.0-3.fc20

Additional info:
reporter:       libreport-2.1.6
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.11.0-0.rc3.git4.2.fc20.i686+PAE
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
problems.py:160:__getitem__:TypeError: float() argument must be a string or a number

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 329, in _on_source_btn_clicked
    res, old_source = self._switch_source(btn.source)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 351, in _switch_source
    self._reload_problems(source)
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 473, in _reload_problems
    storage_problems.append(problem_to_storage_values(p))
  File "/usr/lib/python2.7/site-packages/gnome_abrt/views.py", line 86, in problem_to_storage_values
    "{0!s}\n{1!s}".format(fancydate(problem['date_last']),
  File "/usr/lib/python2.7/site-packages/gnome_abrt/problems.py", line 160, in __getitem__
    return datetime.datetime.fromtimestamp(float(self['time']))
TypeError: float() argument must be a string or a number

Local variables in innermost frame:
cached: True
item: 'date_last'
self: <gnome_abrt.problems.Problem instance at 0xb661078c>
last_ocr: None

Potential duplicate: bug 995337

Comment 1 Christopher Meng 2013-08-13 06:15:53 UTC
Created attachment 786000 [details]
File: backtrace

Comment 2 Christopher Meng 2013-08-13 06:15:57 UTC
Created attachment 786001 [details]
File: environ

Comment 3 Fedora End Of Life 2013-09-16 16:32:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 4 Jakub Filak 2013-09-19 09:30:21 UTC
gnome-abrt-0.3.1-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.