Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform

SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()


 "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 101, in async_setup_platform

await hass_camera.async_initialize()


 "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 169, in async_initialize

cam_date = dt.datetime(cdate.Date.Year, cdate.Date.Month,
AttributeError: 'NoneType' object has no attribute 'Date'

Traceback (most recent call last):


 "udemy-dl.py", line 893, in <module>

main()


 "udemy-dl.py", line 566, in main

udemy.ExtractAndDownload()


 "udemy-dl.py", line 280, in ExtractAndDownload

self.login()


 "udemy-dl.py", line 39, in login

extract_info.login(self.username, self.password)


 "/root/udemy-dl/udemy/_extractor.py", line 101, in login

csrf_token = self._get_csrf_token()


 "/root/udemy-dl/udemy/_extractor.py", line 72, in _get_csrf_token

return match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
