Traceback (most recent call last):


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 73, in ban_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 125, in handle

result = await result


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 145, in post

return await super().post(request, flow_id)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 54, in wrapper

result = await method(view, request, *args, **kwargs)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 103, in post

result = await self._flow_mgr.async_configure(flow_id, data)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 153, in async_configure

result = await self._async_handle_step(flow, cur_step["step_id"], user_input)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 201, in _async_handle_step

result: Dict = await getattr(flow, method)(user_input)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 170, in async_step_auth

return await self.async_step_profiles()


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 223, in async_step_profiles

for profile in profiles


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 223, in <genexpr>

for profile in profiles
AttributeError: 'NoneType' object has no attribute 'Encoding'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/imdb/parser/http/utils.py", line 453, in parse

self.gather_refs(dom)


 "/usr/local/lib/python3.6/site-packages/imdb/parser/http/utils.py", line 536, in gather_refs

refs = grParser.parse_dom(dom)
AttributeError: 'GatherRefs' object has no attribute 'parse_dom'
