Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response

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


 "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view

return self.dispatch(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/django/contrib/auth/mixins.py", line 85, in dispatch

return super().dispatch(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py", line 97, in dispatch

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


 "/opt/netbox-dev/netbox/utilities/views.py", line 187, in get

return render(request, self.template_name, context)


 "/usr/local/lib/python3.6/site-packages/django/shortcuts.py", line 36, in render

content = loader.render_to_string(template_name, context, request, using=using)


 "/usr/local/lib/python3.6/site-packages/django/template/loader.py", line 62, in render_to_string

return template.render(context, request)


 "/usr/local/lib/python3.6/site-packages/django/template/backends/django.py", line 61, in render

return self.template.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 171, in render

return self._render(context)


 "/usr/local/lib/python3.6/site-packages/django/test/utils.py", line 96, in instrumented_test_render

return self.nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/usr/local/lib/python3.6/site-packages/django/test/utils.py", line 96, in instrumented_test_render

return self.nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/usr/local/lib/python3.6/site-packages/django/test/utils.py", line 96, in instrumented_test_render

return self.nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/defaulttags.py", line 309, in render

return nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/loader_tags.py", line 188, in render

return template.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 173, in render

return self._render(context)


 "/usr/local/lib/python3.6/site-packages/django/test/utils.py", line 96, in instrumented_test_render

return self.nodelist.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 937, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.6/site-packages/django/template/base.py", line 904, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.6/site-packages/django/template/defaulttags.py", line 165, in render

values = list(values)


 "/usr/local/lib/python3.6/site-packages/django/forms/forms.py", line 158, in __iter__

yield self[name]


 "/usr/local/lib/python3.6/site-packages/django/forms/forms.py", line 173, in __getitem__

self._bound_fields_cache[name] = field.get_bound_field(self, name)


 "/opt/netbox-dev/netbox/utilities/forms.py", line 576, in get_bound_field

self.queryset = self.queryset.filter(**{field_name: self.prepare_value(bound_field.data)})


 "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 892, in filter

return self._filter_or_exclude(False, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 910, in _filter_or_exclude

clone.query.add_q(Q(*args, **kwargs))


 "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1290, in add_q

clause, _ = self._add_q(q_object, self.used_aliases)


 "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1318, in _add_q

split_subq=split_subq, simple_col=simple_col,


 "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1251, in build_filter

condition = self.build_lookup(lookups, col, value)


 "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1116, in build_lookup

lookup = lookup_class(lhs, rhs)


 "/usr/local/lib/python3.6/site-packages/django/db/models/lookups.py", line 20, in __init__

self.rhs = self.get_prep_lookup()


 "/usr/local/lib/python3.6/site-packages/django/db/models/lookups.py", line 210, in get_prep_lookup

rhs_value = self.lhs.output_field.get_prep_value(rhs_value)


 "/usr/local/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 972, in get_prep_value

return int(value)
ValueError: invalid literal for int() with base 10: 'null'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 62, in wrapped

ret = await coro(*args, **kwargs)


 "/home/fedora/Thanatos/modules/test.py", line 9, in test

await webhook.send(file=discord.
("file.txt"))


 "/usr/local/lib/python3.7/site-packages/discord/webhook.py", line 194, in handle_execution_response

data = await response


 "/usr/local/lib/python3.7/site-packages/discord/webhook.py", line 162, in request

async with self.session.request(verb, url, headers=headers, data=data) as r:


 "/usr/local/lib64/python3.7/site-packages/aiohttp/client.py", line 855, in __aenter__

self._resp = await self._coro


 "/usr/local/lib64/python3.7/site-packages/aiohttp/client.py", line 361, in _request

ssl=ssl, proxy_headers=proxy_headers, traces=traces)


 "/usr/local/lib64/python3.7/site-packages/aiohttp/client_reqrep.py", line 233, in __init__

self.update_body_from_data(data)


 "/usr/local/lib64/python3.7/site-packages/aiohttp/client_reqrep.py", line 405, in update_body_from_data

body = body()


 "/usr/local/lib64/python3.7/site-packages/aiohttp/formdata.py", line 141, in __call__

return self._gen_form_data()


 "/usr/local/lib64/python3.7/site-packages/aiohttp/formdata.py", line 135, in _gen_form_data

self._writer.append_payload(part)


 "/usr/local/lib64/python3.7/site-packages/aiohttp/multipart.py", line 745, in append_payload

size = payload.size


 "/usr/local/lib64/python3.7/site-packages/aiohttp/payload.py", line 284, in size

return os.fstat(self._value.fileno()).st_size - self._value.tell()
ValueError: I/O operation on closed file
