{"action":"reopened","issue":{"url":"https://api.github.com/repos/bogdal/sentry-youtrack/issues/17","repository_url":"https://api.github.com/repos/bogdal/sentry-youtrack","labels_url":"https://api.github.com/repos/bogdal/sentry-youtrack/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/bogdal/sentry-youtrack/issues/17/comments","events_url":"https://api.github.com/repos/bogdal/sentry-youtrack/issues/17/events","html_url":"https://github.com/bogdal/sentry-youtrack/issues/17","id":179155463,"number":17,"title":"BeautifulSoup(response.text, 'xml').projects return None","user":{"login":"swdream","id":6017206,"avatar_url":"https://avatars.githubusercontent.com/u/6017206?v=3","gravatar_id":"","url":"https://api.github.com/users/swdream","html_url":"https://github.com/swdream","followers_url":"https://api.github.com/users/swdream/followers","following_url":"https://api.github.com/users/swdream/following{/other_user}","gists_url":"https://api.github.com/users/swdream/gists{/gist_id}","starred_url":"https://api.github.com/users/swdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swdream/subscriptions","organizations_url":"https://api.github.com/users/swdream/orgs","repos_url":"https://api.github.com/users/swdream/repos","events_url":"https://api.github.com/users/swdream/events{/privacy}","received_events_url":"https://api.github.com/users/swdream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-26T07:18:24Z","updated_at":"2016-09-27T20:48:43Z","closed_at":null,"body":"When selecting the YouTrack tab of a project, I got this error:\r\n```\r\n Oops! Something went wrong\r\nIt looks like you've hit an issue in our server API. Don't worry though! We use Sentry to monitor Sentry and it's likely we're already looking into this!\r\nIf you're daring, you may want to try the following:\r\nGive it a few seconds and reload the page.\r\nIf all else fails, create an issue with more details.\r\n```\r\nI checked log and saw:\r\n```\r\nsentry[14332] ERROR django.request base.handle_uncaught_exception:224 Internal Server Error: /team/project/settings/plugins/youtrack/\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../django/core/handlers/base.py\", line 112, in get_response\r\n        response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../django/views/generic/base.py\", line 69, in view\r\n        return self.dispatch(request, *args, **kwargs)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py\", line 29, in _wrapper\r\n        return bound_func(*args, **kwargs)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py\", line 99, in _wrapped_view\r\n        response = view_func(request, *args, **kwargs)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py\", line 25, in bound_func\r\n        return func(self, *args2, **kwargs2)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/base.py\", line 172, in dispatch\r\n        return self.handle(request, *args, **kwargs)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/project_plugin_configure.py\", line 22, in handle\r\n        view = plugin.configure(request, project=project)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/plugins/base/v1.py\", line 472, in configure\r\n        return default_plugin_config(self, project, request)\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/plugins/base/configuration.py\", line 37, in default_plugin_config\r\n        prefix=plugin_key,\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../sentry_youtrack/forms.py\", line 194, in __init__\r\n        for project in client.get_projects():\r\n      File \"/usr/local/sentry/local/lib/python2.7/site-packages/sentry/../sentry_youtrack/youtrack.py\", line 157, in get_projects\r\n        for project in BeautifulSoup(response.text, 'xml').projects:\r\n    TypeError: 'NoneType' object is not iterable\r\n```\r\nsentry version: 8.4.0\r\nsentry-youtrack plugin version: 0.3.1\r\nYouTrack version: youtrack-6.5.17105\r\nbeautifulsoup4: 4.5.1\r\n\r\nthanks & best regards."}}
{"actor":{"display_login":"bogdal"}}