Bug 1044531

Summary: [abrt] hamster-time-tracker: overview.py:385:on_add_activate:TypeError: 'Fact' object has no attribute '__getitem__'
Product: [Fedora] Fedora Reporter: Matej <m>
Component: hamster-time-trackerAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: m, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b29818235a0e2ccb84cef43fb8cb399b962f202f
Whiteboard: abrt_hash:d5023d4d208e79974e5420ceb03830bce2e343c8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-23 19:09:27 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
File: environ none

Description Matej 2013-12-18 13:52:22 UTC
Version-Release number of selected component:
hamster-time-tracker-1.03.3-1.fc19

Additional info:
reporter:       libreport-2.1.10
cmdline:        python /usr/bin/hamster
executable:     /usr/bin/hamster
kernel:         3.11.10-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
overview.py:385:on_add_activate:TypeError: 'Fact' object has no attribute '__getitem__'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/overview.py", line 385, in on_add_activate
    selected_date = fact["date"]
TypeError: 'Fact' object has no attribute '__getitem__'

Local variables in innermost frame:
action: <gtk.Action object at 0x31b9690 (GtkAction at 0x2b494f0)>
self: <Overview object at 0x2ac5be0 (hamster+overview+Overview at 0x3152380)>
fact: <hamster.lib.Fact object at 0x2afbc90>

Comment 1 Matej 2013-12-18 13:52:26 UTC
Created attachment 838359 [details]
File: backtrace

Comment 2 Matej 2013-12-18 13:52:28 UTC
Created attachment 838360 [details]
File: environ

Comment 3 Ankur Sinha (FranciscoD) 2013-12-19 07:47:20 UTC
Hi Matej,

Thank you for your bugreport. Have you been able to reproduce this bug?

Thanks,
Ankur

Comment 4 Matej 2013-12-19 08:54:21 UTC
Currently no. I'll watch for new crashes.

Comment 5 Ankur Sinha (FranciscoD) 2014-11-23 19:09:27 UTC

*** This bug has been marked as a duplicate of bug 1074967 ***