Fails with KeyError: u'Success.Has pending changes' on Teamcity
anaynayak opened this issue · comments
Originally reported by: Anonymous
Terminal log:
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/init.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
checking http:///guestAuth/app/cctray-standalone/cctray/projects.xml
processed http:///guestAuth/app/cctray-standalone/cctray/projects.xml
Traceback (most recent call last):
File "/tmp/buildnotify/buildnotifylib/buildnotify.py", line 47, in update_projects
self.app_ui.update_projects(integration_status)
File "/tmp/buildnotify/buildnotifylib/app_ui.py", line 16, in update_projects
self.tray.setIcon(self.build_icons.for_aggregate_status(integration_status.get_build_status(), count))
File "/tmp/buildnotify/buildnotifylib/projects.py", line 43, in get_build_status
map = self.to_map()
File "/tmp/buildnotify/buildnotifylib/projects.py", line 62, in to_map
status[project.get_build_status()].append(project)
KeyError: u'Success.Has pending changes'
Seems to be a case of Teamcity using non "standard" activity status http://svn.jetbrains.org/teamcity/plugins/rest-api/trunk/contrib/cctray-extension/server/src/jetbrains/buildServer/server/restcontrib/cctray/model/Project.java