Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/local/lib/python3.9/dist-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.9/dist-packages/sentry_sdk/integrations/django/views.py", line 67, in sentry_wrapped_callback
return callback(request, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/aleksis/core/views.py", line 692, in preferences
form.update_preferences()
File "/usr/local/lib/python3.9/dist-packages/dynamic_preferences/forms.py", line 140, in update_preferences
self.manager.update_db_pref(
File "/usr/local/lib/python3.9/dist-packages/dynamic_preferences/managers.py", line 161, in update_db_pref
preference_updated.send(
File "/usr/local/lib/python3.9/dist-packages/django/dispatch/dispatcher.py", line 180, in send
return [
File "/usr/local/lib/python3.9/dist-packages/django/dispatch/dispatcher.py", line 181, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "/usr/local/lib/python3.9/dist-packages/aleksis/core/apps.py", line 106, in preference_updated
favicon_id = Favicon.on_site.update_or_create(
File "/usr/local/lib/python3.9/dist-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/django/db/models/query.py", line 613, in update_or_create
obj.save(using=self.db)
File "/usr/local/lib/python3.9/dist-packages/favicon/models.py", line 120, in save
super().save(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/django/db/models/base.py", line 739, in save
self.save_base(using=using, force_insert=force_insert,
File "/usr/local/lib/python3.9/dist-packages/django/db/models/base.py", line 776, in save_base
updated = self._save_table(
File "/usr/local/lib/python3.9/dist-packages/django/db/models/base.py", line 855, in _save_table
values = [(f, None, (getattr(self, f.attname) if raw else f.pre_save(self, False)))
File "/usr/local/lib/python3.9/dist-packages/django/db/models/base.py", line 855, in <listcomp>
values = [(f, None, (getattr(self, f.attname) if raw else f.pre_save(self, False)))
File "/usr/local/lib/python3.9/dist-packages/django/db/models/fields/files.py", line 302, in pre_save
file.save(file.name, file.file, save=False)
File "/usr/local/lib/python3.9/dist-packages/django/db/models/fields/files.py", line 89, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File "/usr/local/lib/python3.9/dist-packages/django/core/files/storage.py", line 54, in save
name = self._save(name, content)
File "/usr/local/lib/python3.9/dist-packages/storages/backends/s3boto3.py", line 459, in _save
obj.upload_fileobj(content, ExtraArgs=params)
File "/usr/local/lib/python3.9/dist-packages/boto3/s3/inject.py", line 620, in object_upload_fileobj
return self.meta.client.upload_fileobj(
File "/usr/local/lib/python3.9/dist-packages/boto3/s3/inject.py", line 540, in upload_fileobj
return future.result()
File "/usr/local/lib/python3.9/dist-packages/s3transfer/futures.py", line 106, in result
return self._coordinator.result()
File "/usr/local/lib/python3.9/dist-packages/s3transfer/futures.py", line 265, in result
raise self._exception
File "/usr/local/lib/python3.9/dist-packages/s3transfer/tasks.py", line 255, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/s3transfer/upload.py", line 545, in _submit
upload_input_manager = self._get_upload_input_manager_cls(
File "/usr/local/lib/python3.9/dist-packages/s3transfer/upload.py", line 521, in _get_upload_input_manager_cls
raise RuntimeError(
RuntimeError: Input favicon.png of type: <class 'django.core.files.uploadedfile.TemporaryUploadedFile'> is not supported.