Traceback (most recent call last):


 "/Users/HIDDEN/Apps/nzbToMedia/nzbToSickBeard.py", line 271, in <module>

result = nzbToMedia.main(sys.argv, section)


 "/Users/HIDDEN/Apps/nzbToMedia/nzbToMedia.py", line 830, in main

core.initialize(section)


 "/Users/HIDDEN/Apps/nzbToMedia/core/__init__.py", line 991, in initialize

main_db.upgrade_database(main_db.DBConnection(), databases.InitialSchema)


 "/Users/HIDDEN/Apps/nzbToMedia/core/main_db.py", line 243, in upgrade_database

_process_upgrade(connection, schema)


 "/Users/HIDDEN/Apps/nzbToMedia/core/main_db.py", line 254, in _process_upgrade

if not instance.test():


 "/Users/HIDDEN/Apps/nzbToMedia/core/databases.py", line 34, in test

cur_db_version = self.check_db_version()


 "/Users/HIDDEN/Apps/nzbToMedia/core/main_db.py", line 291, in check_db_version

return int(result[-1]['db_version'])
IndexError: Index must be int or string

Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform

SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for

return fut.result()


 "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run

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


 "/usr/src/app/homeassistant/components/media_player/denon.py", line 56, in setup_platform

if denon.update():


 "/usr/src/app/homeassistant/components/media_player/denon.py", line 131, in update

self._setup_sources(telnet)


 "/usr/src/app/homeassistant/components/media_player/denon.py", line 81, in _setup_sources

self._name = self.telnet_request(telnet, 'NSFRN ?')[len('NSFRN '):]


 "/usr/src/app/homeassistant/components/media_player/denon.py", line 113, in telnet_request

return lines[0]
IndexError: list index out of range
