Traceback (most recent call last):


 "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event

await self.async_schedule_update_ha_state()
TypeError: object NoneType can't be used in 'await' expression

Traceback (most recent call last):


 "F:/Competitions/Donations/Scrapping.py", line 113, in <module>

Scrapping()


 "F:/Competitions/Donations/Scrapping.py", line 58, in __init__

myText2 = image_to_string(Image.open("captcha.png"))


 "C:\Users\User Name\AppData\Roaming\Python\Python35\site-packages\pytesseract\pytesseract.py", line 163, in image_to_string

errors = get_errors(error_string)


 "C:\Users\User Name\AppData\Roaming\Python\Python35\site-packages\pytesseract\pytesseract.py", line 111, in get_errors

error_lines = tuple(line for line in lines if line.find('Error') >= 0)


 "C:\Users\User Name\AppData\Roaming\Python\Python35\site-packages\pytesseract\pytesseract.py", line 111, in <genexpr>

error_lines = tuple(line for line in lines if line.find('Error') >= 0)
TypeError: a bytes-like object is required, not 'str'
