{"action":"created","issue":{"url":"https://api.github.com/repos/fsr-itse/EvaP/issues/905","repository_url":"https://api.github.com/repos/fsr-itse/EvaP","labels_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/905/comments","events_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/905/events","html_url":"https://github.com/fsr-itse/EvaP/issues/905","id":204246092,"number":905,"title":"Exporting results with certain course types fails","user":{"login":"janno42","id":1781719,"avatar_url":"https://avatars.githubusercontent.com/u/1781719?v=3","gravatar_id":"","url":"https://api.github.com/users/janno42","html_url":"https://github.com/janno42","followers_url":"https://api.github.com/users/janno42/followers","following_url":"https://api.github.com/users/janno42/following{/other_user}","gists_url":"https://api.github.com/users/janno42/gists{/gist_id}","starred_url":"https://api.github.com/users/janno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janno42/subscriptions","organizations_url":"https://api.github.com/users/janno42/orgs","repos_url":"https://api.github.com/users/janno42/repos","events_url":"https://api.github.com/users/janno42/events{/privacy}","received_events_url":"https://api.github.com/users/janno42/received_events","type":"User","site_admin":false},"labels":[{"id":218143,"url":"https://api.github.com/repos/fsr-itse/EvaP/labels/[C]%20Core","name":"[C] Core","color":"0052cc","default":false},{"id":104300970,"url":"https://api.github.com/repos/fsr-itse/EvaP/labels/[P]%20FSR-Major","name":"[P] FSR-Major","color":"eb6420","default":false},{"id":222271,"url":"https://api.github.com/repos/fsr-itse/EvaP/labels/[T]%20Bug","name":"[T] Bug","color":"AA0055","default":false}],"state":"closed","locked":false,"assignee":{"login":"janno42","id":1781719,"avatar_url":"https://avatars.githubusercontent.com/u/1781719?v=3","gravatar_id":"","url":"https://api.github.com/users/janno42","html_url":"https://github.com/janno42","followers_url":"https://api.github.com/users/janno42/followers","following_url":"https://api.github.com/users/janno42/following{/other_user}","gists_url":"https://api.github.com/users/janno42/gists{/gist_id}","starred_url":"https://api.github.com/users/janno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janno42/subscriptions","organizations_url":"https://api.github.com/users/janno42/orgs","repos_url":"https://api.github.com/users/janno42/repos","events_url":"https://api.github.com/users/janno42/events{/privacy}","received_events_url":"https://api.github.com/users/janno42/received_events","type":"User","site_admin":false},"assignees":[{"login":"janno42","id":1781719,"avatar_url":"https://avatars.githubusercontent.com/u/1781719?v=3","gravatar_id":"","url":"https://api.github.com/users/janno42","html_url":"https://github.com/janno42","followers_url":"https://api.github.com/users/janno42/followers","following_url":"https://api.github.com/users/janno42/following{/other_user}","gists_url":"https://api.github.com/users/janno42/gists{/gist_id}","starred_url":"https://api.github.com/users/janno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janno42/subscriptions","organizations_url":"https://api.github.com/users/janno42/orgs","repos_url":"https://api.github.com/users/janno42/repos","events_url":"https://api.github.com/users/janno42/events{/privacy}","received_events_url":"https://api.github.com/users/janno42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-31T09:44:05Z","updated_at":"2017-02-01T10:49:42Z","closed_at":"2017-02-01T10:49:42Z","body":"When exporting a semester's results and selecting to export certain course types the export fails with the following error message:\r\n```\r\nInternal Server Error: /staff/semester/24/export\r\n\r\nDoesNotExist at /staff/semester/24/export Contribution matching query does not exist.\r\n\r\nRequest Method: POST\r\nRequest URL: https://evap.hpi.de/staff/semester/24/export\r\nDjango Version: 1.10.5\r\nPython Executable: /usr/bin/python3\r\nPython Version: 3.5.2\r\nPython Path: ['/opt/evap', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages'] Server time: Di, 31 Jan 2017 10:41:43 +0100 Installed Applications:\r\n['django.contrib.admin',\r\n 'django.contrib.auth',\r\n 'django.contrib.contenttypes',\r\n 'django.contrib.sessions',\r\n 'django.contrib.messages',\r\n 'django.contrib.staticfiles',\r\n 'widget_tweaks',\r\n 'bootstrap3',\r\n 'compressor',\r\n 'django_extensions',\r\n 'evap.evaluation',\r\n 'evap.staff',\r\n 'evap.results',\r\n 'evap.student',\r\n 'evap.contributor',\r\n 'evap.rewards',\r\n 'evap.grades',\r\n 'django_auth_kerberos']\r\nInstalled Middleware:\r\n['django.middleware.security.SecurityMiddleware',\r\n 'django.contrib.sessions.middleware.SessionMiddleware',\r\n 'django.middleware.common.CommonMiddleware',\r\n 'django.middleware.csrf.CsrfViewMiddleware',\r\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n 'django.contrib.messages.middleware.MessageMiddleware',\r\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\r\n 'django.middleware.locale.LocaleMiddleware',\r\n 'evap.evaluation.auth.RequestAuthMiddleware']\r\n\r\n\r\nTraceback:  \r\n\r\nFile \"/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py\" in inner\r\n  39.             response = get_response(request)\r\n\r\nFile \"/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py\" in _get_response\r\n  187.                 response = self.process_exception_by_middleware(e, request)\r\n\r\nFile \"/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py\" in _get_response\r\n  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n\r\nFile \"/opt/evap/evap/evaluation/auth.py\" in _wrapped_view\r\n  112.                 return view_func(request, *args, **kwargs)\r\n\r\nFile \"/opt/evap/evap/staff/views.py\" in semester_export\r\n  355.         ExcelExporter(semester).export(response, course_types_list, include_not_enough_answers, include_unpublished)\r\n\r\nFile \"/opt/evap/evap/results/exporters.py\" in export\r\n  104.                     if has_no_rating_answers(course, contributor, questionnaire):\r\n\r\nFile \"/opt/evap/evap/evaluation/tools.py\" in has_no_rating_answers\r\n  318.     contribution = Contribution.objects.get(course=course, contributor=contributor)\r\n\r\nFile \"/usr/local/lib/python3.5/dist-packages/django/db/models/manager.py\" in manager_method\r\n  85.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n\r\nFile \"/usr/local/lib/python3.5/dist-packages/django/db/models/query.py\" in get\r\n  385.                 self.model._meta.object_name\r\n\r\nException Type: DoesNotExist at /staff/semester/24/export Exception Value: Contribution matching query does not exist.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/fsr-itse/EvaP/issues/comments/276627504","html_url":"https://github.com/fsr-itse/EvaP/issues/905#issuecomment-276627504","issue_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/905","id":276627504,"user":{"login":"janno42","id":1781719,"avatar_url":"https://avatars.githubusercontent.com/u/1781719?v=3","gravatar_id":"","url":"https://api.github.com/users/janno42","html_url":"https://github.com/janno42","followers_url":"https://api.github.com/users/janno42/followers","following_url":"https://api.github.com/users/janno42/following{/other_user}","gists_url":"https://api.github.com/users/janno42/gists{/gist_id}","starred_url":"https://api.github.com/users/janno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janno42/subscriptions","organizations_url":"https://api.github.com/users/janno42/orgs","repos_url":"https://api.github.com/users/janno42/repos","events_url":"https://api.github.com/users/janno42/events{/privacy}","received_events_url":"https://api.github.com/users/janno42/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T10:49:42Z","updated_at":"2017-02-01T10:49:42Z","body":"This was a caching error."}}
{"actor":{"display_login":"janno42"}}