getsentry / sentry-slack

DEPRECATED Slack integration for Sentry
http://getsentry.com
BSD 3-Clause "New" or "Revised" License
139 stars 40 forks source link

Not working on Sentry 7.7.4 #29

Closed artdude543 closed 8 years ago

artdude543 commented 8 years ago

Just updated my Sentry install and the Slack plugin now fails with There was an internal error with the Plugin.

Not sure where to find logs but if you point me to the right location I'll grab them for you.

milanvanschaik commented 8 years ago

+1 I was wondering why it didn't appear.. I don't get any error message or so. Also there was nothing in the gunicorn error log. (Not able to update to Sentry 8 for now, so would be great if we can find a fix)

petecoop commented 8 years ago

Have just upgraded to Sentry 8 and get this too :( here's the error:

AttributeError: 'NoneType' object has no attribute 'strip'
  File "sentry/plugins/base/configuration.py", line 41, in default_plugin_config
    test_results = plugin.test_configuration(project)
  File "sentry/plugins/bases/notify.py", line 156, in test_configuration
    return self.notify(notification)
  File "sentry_slack/plugin.py", line 129, in notify
    username = self.get_option('username', project).strip()
petecoop commented 8 years ago

Got it working again by commenting out the lines with username in plugin.py as a temp fix

mattrobenolt commented 8 years ago

This was fixed with 0.5.0.

juniorrocha commented 8 years ago

Hi, I'm using Sentry 8.4.0dev0 with Slack Plugin 0.5.0 and I had the same problem.