We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ved upload af fil på wiki med filnavn "æøå.jpg":
UnicodeEncodeError at /eval/wiki/foo/_edit/ 'ascii' codec can't encode character '\xf8' in position 73: ordinal not in range(128) Traceback: File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner 41. response = get_response(request) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response 187. response = self.process_exception_by_middleware(e, request) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response 185. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/views/generic/base.py" in view 68. return self.dispatch(request, *args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/utils/decorators.py" in _wrapper 67. return bound_func(*args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/decorators.py" in wrapper 150. return func(request, article, *args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/utils/decorators.py" in bound_func 63. return func.__get__(self, type(self))(*args2, **kwargs2) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/views/article.py" in dispatch 246. return super().dispatch(request, article, *args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/views/mixins.py" in dispatch 33. return super().dispatch(request, *args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/views/generic/base.py" in dispatch 88. return handler(request, *args, **kwargs) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/views/article.py" in post 315. form.save() File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/plugins/images/forms.py" in save 26. image.add_revision(self.instance, save=True) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/wiki/models/pluginbase.py" in add_revision 195. new_revision.save() File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/base.py" in save 808. force_update=force_update, update_fields=update_fields) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/base.py" in save_base 838. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/base.py" in _save_table 902. for f in non_pks] File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/base.py" in <listcomp> 902. for f in non_pks] File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/fields/files.py" in pre_save 296. file.save(file.name, file.file, save=False) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/db/models/fields/files.py" in save 94. self.name = self.storage.save(name, content, max_length=self.field.max_length) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/files/storage.py" in save 53. name = self.get_available_name(name, max_length=max_length) File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/files/storage.py" in get_available_name 77. while self.exists(name) or (max_length and len(name) > max_length): File "/home/tkammer/tkweb/.venv/lib/python3.5/site-packages/django/core/files/storage.py" in exists 392. return os.path.exists(self.path(name)) File "/home/tkammer/tkweb/.venv/lib/python3.5/genericpath.py" in exists 19. os.stat(path) Exception Type: UnicodeEncodeError at /eval/wiki/foo/_edit/ Exception Value: 'ascii' codec can't encode character '\xf8' in position 73: ordinal not in range(128) Request information: USER: <REDACTED> GET: f = 'form2' POST: unsaved_article_title = 'foo' csrfmiddlewaretoken = '<REDACTED>' unsaved_article_content = '<REDACTED>' FILES: image = <InMemoryUploadedFile: æøå.jpg (image/jpeg)>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ved upload af fil på wiki med filnavn "æøå.jpg":
The text was updated successfully, but these errors were encountered: