Traceback (most recent call last):


 "/home/ocelotl/python-bug-bash/lib/python3.8/site-packages/grpc/_channel.py", line 1126, in __del__
AttributeError: 'NoneType' object has no attribute 'StatusCode'

Traceback (most recent call last):


 "/usr/lib/python3.8/site-packages/django_smoke_tests/generator.py", line 90, in test

response = http_method_function(url, {})


 "/usr/lib/python3.8/site-packages/django/test/client.py", line 549, in put

response = super().put(path, data=data, content_type=content_type, secure=secure, **extra)


 "/usr/lib/python3.8/site-packages/django/test/client.py", line 380, in put

return self.generic('PUT', path, data, content_type,


 "/usr/lib/python3.8/site-packages/django/test/client.py", line 421, in generic

return self.request(**r)


 "/usr/lib/python3.8/site-packages/django/test/client.py", line 496, in request

raise exc_value


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

response = get_response(request)


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

response = self.process_exception_by_middleware(e, request)


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

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


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

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


 "/usr/lib/python3.8/site-packages/explorer/views.py", line 89, in dispatch

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


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

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


 "/usr/lib/python3.8/site-packages/django/views/generic/edit.py", line 149, in put

return self.post(*args, **kwargs)


 "/usr/lib/python3.8/site-packages/django/views/generic/edit.py", line 172, in post

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


 "/usr/lib/python3.8/site-packages/django/views/generic/edit.py", line 141, in post

if form.is_valid():


 "/usr/lib/python3.8/site-packages/django/forms/forms.py", line 180, in is_valid

return self.is_bound and not self.errors


 "/usr/lib/python3.8/site-packages/django/forms/forms.py", line 175, in errors

self.full_clean()


 "/usr/lib/python3.8/site-packages/django/forms/forms.py", line 376, in full_clean

self._clean_fields()


 "/usr/lib/python3.8/site-packages/django/forms/forms.py", line 394, in _clean_fields

value = field.clean(value)


 "/usr/lib/python3.8/site-packages/django/forms/fields.py", line 149, in clean

self.validate(value)


 "/usr/lib/python3.8/site-packages/explorer/forms.py", line 20, in validate

passes_blacklist, failing_words = query.passes_blacklist()


 "/usr/lib/python3.8/site-packages/explorer/models.py", line 62, in passes_blacklist

return passes_blacklist(self.final_sql())


 "/usr/lib/python3.8/site-packages/explorer/models.py", line 65, in final_sql

return swap_params(self.sql, self.available_params())


 "/usr/lib/python3.8/site-packages/explorer/models.py", line 90, in available_params

p = extract_params(self.sql)


 "/usr/lib/python3.8/site-packages/explorer/utils.py", line 39, in extract_params

params = re.findall(regex, text.lower())
AttributeError: 'NoneType' object has no attribute 'lower'
