Bug 920941

Summary: [abrt] taskcoach-1.2.6-3.fc17: observer.py:136:values:KeyError: None
Product: [Fedora] Fedora Reporter: Juris Krumins <juris.krumins80>
Component: taskcoachAssignee: Tomas 'Sheldon' Radej <tradej>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: msrb, sochotni, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2bfb85bb28ab9a2297f7d5b1ed9da25603488659
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-10 08:28:22 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description Juris Krumins 2013-03-13 06:44:28 UTC
Version-Release number of selected component:
taskcoach-1.2.6-3.fc17

Additional info:
cmdline:        /usr/bin/python /usr/bin/taskcoach
executable:     /usr/bin/taskcoach
kernel:         3.7.3-101.fc17.x86_64
uid:            1000

Truncated backtrace:
observer.py:136:values:KeyError: None

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/taskcoachlib/gui/dialog/editor.py", line 1175, in ok
    self.okInterior()
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 169, in decorator
    event.send()
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 155, in send
    Publisher().notifyObservers(self)
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 338, in notifyObservers
    observer(event.subEvent(*eventTypesAndSources))
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 188, in __call__
    return self.method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/taskcoachlib/domain/effort/composite.py", line 160, in onStopTracking
    stoppedEffort = event.value()
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 129, in value
    return self.values(source, type)[0]
  File "/usr/lib/python2.7/site-packages/taskcoachlib/patterns/observer.py", line 136, in values
    source = source or self.__sourcesAndValuesByType[type].keys()[0]
KeyError: None

Local variables in innermost frame:
source: None
self: Event({})
type: None

Potential duplicate: bug 811260

Comment 1 Juris Krumins 2013-03-13 06:44:31 UTC
Created attachment 709344 [details]
File: backtrace

Comment 2 Juris Krumins 2013-03-13 06:44:33 UTC
Created attachment 709345 [details]
File: core_backtrace

Comment 3 Juris Krumins 2013-03-13 06:44:37 UTC
Created attachment 709346 [details]
File: environ

Comment 4 Juris Krumins 2013-03-13 06:44:39 UTC
Created attachment 709347 [details]
File: smolt_data

Comment 5 Tomas 'Sheldon' Radej 2013-03-19 08:26:24 UTC
Hi. Can you please provide more details about what was happening when this error occurred and/or ways to reproduce the problem? Thank you.

Comment 6 Juris Krumins 2013-03-20 10:02:29 UTC
By now, seems like the problem gone, at least I haven't hit it at least for a while.

As far as I remember, I've tried to change task for the currently running effort. I've also done that numerous times after with no problems.

Comment 7 Tomas 'Sheldon' Radej 2013-05-10 08:28:22 UTC
I could reproduce it in the latest version either. Closing as WORKSFORME.

Comment 8 Tomas 'Sheldon' Radej 2013-05-10 08:29:40 UTC
*could NOT reproduce, of course.