Traceback (most recent call last):


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


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/sru/__init__.py", line 2, in <module>

from .cuda_functional import *


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/sru/cuda_functional.py", line 355, in <module>

class SRU_Compute_GPU(Function):


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/sru/cuda_functional.py", line 357, in SRU_Compute_GPU

_SRU_PROG = Program(SRU_CODE.encode('utf-8'), 'sru_prog.cu'.encode())


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/pynvrtc/compiler.py", line 52, in __init__

include_names)


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/pynvrtc/interface.py", line 200, in nvrtcCreateProgram

c_char_p(encode_str(src)), c_char_p(encode_str(name)),


 "/home/tbelos/anaconda3/lib/python3.6/site-packages/pynvrtc/interface.py", line 54, in encode_str

return s.encode("utf-8")
AttributeError: 'bytes' object has no attribute 'encode'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 335, in _async_add_entity

await entity.async_device_update(warning=False)


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 456, in async_device_update

await self.hass.async_add_executor_job(


 "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 106, in update

self.data.update()


 "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper

result = method(*args, **kwargs)


 "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 169, in update

service, params = self._prepare_query()


 "/usr/src/homeassistant/homeassistant/components/google/calendar.py", line 132, in _prepare_query

service = self.calendar_service.get()


 "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 347, in get

http = credentials.authorize(httplib2.Http())
AttributeError: 'NoneType' object has no attribute 'authorize'
