Traceback (most recent call last):


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func

response = view_func(request, *args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/wagtail/admin/urls/__init__.py", line 102, in wrapper

return view_func(request, *args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/wagtail/admin/decorators.py", line 34, in decorated_view

return view_func(request, *args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/wagtail/admin/utils.py", line 151, in wrapped_view_func

return view_func(request, *args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/views/decorators/vary.py", line 20, in inner_func

response = func(*args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/wagtail/images/views/multiple.py", line 74, in add

image.save()


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/base.py", line 741, in save

force_update=force_update, update_fields=update_fields)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/base.py", line 779, in save_base

force_update, using, update_fields,


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/base.py", line 870, in _save_table

result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/base.py", line 908, in _do_insert

using=using, raw=raw)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method

return getattr(self.get_queryset(), name)(*args, **kwargs)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/query.py", line 1186, in _insert

return query.get_compiler(using=using).execute_sql(return_id)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1334, in execute_sql

for sql, params in self.as_sql():


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1278, in as_sql

for obj in self.query.objs


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1278, in <listcomp>

for obj in self.query.objs


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1277, in <listcomp>

[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1228, in pre_save_val

return field.pre_save(obj, add=True)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/fields/files.py", line 288, in pre_save

file.save(file.name, file.file, save=False)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/fields/files.py", line 88, in save

setattr(self.instance, self.field.name, self.name)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/fields/files.py", line 346, in __set__

self.field.update_dimension_fields(instance, force=True)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/db/models/fields/files.py", line 449, in update_dimension_fields

width = file.width


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/files/images.py", line 19, in width

return self._get_image_dimensions()[0]


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/files/images.py", line 29, in _get_image_dimensions

self._dimensions_cache = get_image_dimensions(self, close=close)


 "/home/bot/code/conuruinca/venv/lib/python3.7/site-packages/django/core/files/images.py", line 47, in get_image_dimensions

file = open(file_or_path, 'rb')
TypeError: expected str, bytes or os.PathLike object, not ImageField


Traceback (most recent call last):


 "<ipython-input-7-4f7ebe991432>", line 1, in <module>

a @ a
TypeError: unsupported operand type(s) for @: 'Array' and 'Array'
