{"action":"closed","issue":{"url":"https://api.github.com/repos/liqd/euth_wagtail/issues/227","repository_url":"https://api.github.com/repos/liqd/euth_wagtail","labels_url":"https://api.github.com/repos/liqd/euth_wagtail/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/liqd/euth_wagtail/issues/227/comments","events_url":"https://api.github.com/repos/liqd/euth_wagtail/issues/227/events","html_url":"https://github.com/liqd/euth_wagtail/issues/227","id":174051419,"number":227,"title":"Image upload doesn't accept images with umlauts","user":{"login":"slomo","id":141032,"avatar_url":"https://avatars.githubusercontent.com/u/141032?v=3","gravatar_id":"","url":"https://api.github.com/users/slomo","html_url":"https://github.com/slomo","followers_url":"https://api.github.com/users/slomo/followers","following_url":"https://api.github.com/users/slomo/following{/other_user}","gists_url":"https://api.github.com/users/slomo/gists{/gist_id}","starred_url":"https://api.github.com/users/slomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slomo/subscriptions","organizations_url":"https://api.github.com/users/slomo/orgs","repos_url":"https://api.github.com/users/slomo/repos","events_url":"https://api.github.com/users/slomo/events{/privacy}","received_events_url":"https://api.github.com/users/slomo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T15:31:49Z","updated_at":"2016-08-30T16:26:33Z","closed_at":"2016-08-30T16:26:33Z","body":"Stacktrace from stage server\r\n\r\n\r\n```\r\nInternal Server Error: /de/ideas/create/module/water_saving_in_Slovenia/\r\nTraceback (most recent call last):\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/core/handlers/base.py\", line 132, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/views/generic/base.py\", line 71, in view\r\n    return self.dispatch(request, *args, **kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/braces/views/_access.py\", line 102, in dispatch\r\n    request, *args, **kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/views/generic/base.py\", line 89, in dispatch\r\n    return handler(request, *args, **kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/views/generic/edit.py\", line 249, in post\r\n    return super(BaseCreateView, self).post(request, *args, **kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/views/generic/edit.py\", line 215, in post\r\n    return self.form_valid(form)\r\n  File \"/home/wagtail/wagtail/euth/ideas/views.py\", line 62, in form_valid\r\n    return super().form_valid(form)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/views/generic/edit.py\", line 193, in form_valid\r\n    self.object = form.save()\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/forms/models.py\", line 459, in save\r\n    construct=False)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/forms/models.py\", line 105, in save_instance\r\n    instance.save()\r\n  File \"/home/wagtail/wagtail/euth/ideas/models.py\", line 27, in save\r\n    super(Idea, self).save(*args, **kwargs)\r\n  File \"/home/wagtail/wagtail/euth/contrib/base_models.py\", line 16, in save\r\n    super(TimeStampedModel, self).save(*args, **kwargs)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/base.py\", line 734, in save\r\n    force_update=force_update, update_fields=update_fields)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/base.py\", line 762, in save_base\r\n    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/base.py\", line 824, in _save_table\r\n    for f in non_pks]\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/base.py\", line 824, in <listcomp>\r\n    for f in non_pks]\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/fields/files.py\", line 314, in pre_save\r\n    file.save(file.name, file, save=False)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/db/models/fields/files.py\", line 93, in save\r\n    self.name = self.storage.save(name, content, max_length=self.field.max_length)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/core/files/storage.py\", line 53, in save\r\n    name = self.get_available_name(name, max_length=max_length)\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/core/files/storage.py\", line 89, in get_available_name\r\n    while self.exists(name) or (max_length and len(name) > max_length):\r\n  File \"/home/wagtail/wagtail/lib/python3.4/site-packages/django/core/files/storage.py\", line 294, in exists\r\n    return os.path.exists(self.path(name))\r\n  File \"/home/wagtail/wagtail/lib/python3.4/genericpath.py\", line 19, in exists\r\n    os.stat(path)\r\nUnicodeEncodeError: 'ascii' codec can't encode character '\\xfc' in position 43: ordinal not in range(128)\r\n```"}}
{"actor":{"display_login":"slomo"}}