Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/home/nehaljwani/requests/requests/api.py", line 72, in get

return request('get', url, params=params, **kwargs)


 "/home/nehaljwani/requests/requests/api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 "/home/nehaljwani/requests/requests/sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 "/home/nehaljwani/requests/requests/sessions.py", line 618, in send

r = adapter.send(request, **kwargs)


 "/home/nehaljwani/requests/requests/adapters.py", line 440, in send

timeout=timeout


 "/home/nehaljwani/m3/envs/req2/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg/urllib3/connectionpool.py", line 595, in urlopen

self._prepare_proxy(conn)


 "/home/nehaljwani/m3/envs/req2/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg/urllib3/connectionpool.py", line 816, in _prepare_proxy

conn.connect()


 "/home/nehaljwani/m3/envs/req2/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg/urllib3/connection.py", line 284, in connect

conn = self._new_conn()


 "/home/nehaljwani/m3/envs/req2/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg/urllib3/connection.py", line 141, in _new_conn

(self.host, self.port), self.timeout, **extra_kw)


 "/home/nehaljwani/m3/envs/req2/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg/urllib3/util/connection.py", line 51, in create_connection

if host.startswith('['):
AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner

response = get_response(request)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/core/handlers/base.py", line 204, in _get_response

response = response.render()


 "/Users/matthew/Development/tbx/wagtail/devscript/wagtail/wagtail/admin/auth.py", line 187, in overridden_render

return render()


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/response.py", line 105, in render

self.content = self.rendered_content


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/response.py", line 83, in rendered_content

return template.render(context, self._request)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/backends/django.py", line 61, in render

return self.template.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 170, in render

return self._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 192, in render

return template.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 172, in render

return self._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/defaulttags.py", line 312, in render

return nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/defaulttags.py", line 211, in render

nodelist.append(node.render_annotated(context))


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/loader_tags.py", line 192, in render

return template.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 172, in render

return self._render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 162, in _render

return self.nodelist.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 938, in render

bit = node.render_annotated(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated

return self.render(context)


 "/Users/matthew/.virtualenvs/wagtail/lib/python3.8/site-packages/django/template/library.py", line 214, in render

_dict = self.func(*resolved_args, **resolved_kwargs)


 "/Users/matthew/Development/tbx/wagtail/devscript/wagtail/wagtail/admin/templatetags/wagtailadmin_tags.py", line 446, in page_listing_buttons

buttons.extend(hook(page, page_perms, is_parent, next_url))


 "/Users/matthew/Development/tbx/wagtail/devscript/wagtail/wagtail/admin/wagtail_hooks.py", line 139, in page_listing_buttons

if page.has_unpublished_changes and page.is_previewable():


 "/Users/matthew/Development/tbx/wagtail/devscript/wagtail/wagtail/core/models.py", line 2525, in is_previewable

if page.specific_class.preview_modes != type(page).preview_modes:
AttributeError: 'NoneType' object has no attribute 'preview_modes'
