Project

General

Profile

Bug #4233

slack, git push problem

Added by Marcin Kuzminski [staff] almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
19.09.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

got this while pushing to the website project:

2016-09-19 10:52:04.619 CRITI [rhodecode.integrations.types.slack] {'author': u'Marcin Kuzminski <marcin@rhodecode.com>', 'branch': None, 'mentions': [], 'issues': [], 'url': 'https://internal-code.rhodecode.com/rhodecode-website/changeset/50586183192a283ea3dfbb2347174ec67a70574e', 'date': datetime.datetime(2016, 9, 19, 10, 51, 5), 'raw_id': '50586183192a283ea3dfbb2347174ec67a70574e', 'revision': 1879, 'short_id': '50586183192a', 'message_html': literal(u'settings: updated with latest changes\n'), 'reviewers': [], 'parents': [{'raw_id': 'ab5b2b1ad9c3058f374aba0434f71f987eaee3b7'}], 'message': u'settings: updated with latest changes\n'}
2016-09-19 10:52:04.619 ERROR [rhodecode.integrations] failure occured when sending event <rhodecode.events.repo.RepoPushEvent object at 0x7f8d29d05410> to integration <Integration(u'slack', 'root_repos')>
Traceback (most recent call last):
  File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/__init__.py", line 54, in integrations_event_handler
    integration_model.send_event(integration, event)
  File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/model/integration.py", line 108, in send_event
    handler.send_event(event)
  File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/types/slack.py", line 139, in send_event
    text = self.format_repo_push_event(data)
  File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/types/slack.py", line 227, in format_repo_push_event
    branch_commits = {'branch': branch_data[commit['branch']],
KeyError: None

History

#2 Updated by Redmine Integration almost 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF