Traceback (most recent call last):


 "buh.py", line 12, in <module>

with rio.open('image.tif', 'w', **profile) as dst:


 "/Users/kevin.wurster/code/rasterio/rasterio/__init__.py", line 248, in open

s = get_writer_for_driver(driver)(fp, mode, driver=driver,


 "/Users/kevin.wurster/code/rasterio/rasterio/io.py", line 163, in get_writer_for_driver

if driver_can_create(driver):


 "rasterio/_base.pyx", line 102, in rasterio._base.driver_can_create (rasterio/_base.c:3871)

return driver_supports_mode(drivername, 'DCAP_CREATE')


 "rasterio/_base.pyx", line 85, in rasterio._base.driver_supports_mode (rasterio/_base.c:3586)

drivername = drivername.encode('utf-8')
AttributeError: 'NoneType' 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'
