-
Notifications
You must be signed in to change notification settings - Fork 13
Sonarr + Bazarr connect issue #3
Description
I'm unable to connect to Sonarr/Bazarr.
Sonarr error:
AttributeError("'NoneType' object has no attribute 'append'",)
Traceback (most recent call last): File "C:\Python27\lib\site-packages\bottle.py", line 862, in _handle return route.call(**args) File "C:\Python27\lib\site-packages\bottle.py", line 1740, in wrapper rv = callback(*a, **ka) File "C:\Oscarr\oscarr\oscarr.py", line 232, in sonarr rootfolder_list.append([rootfolder['path'], sizeof_fmt(rootfolder['freeSpace']), sizeof_fmt(rootfolder['totalSpace']), int(percent)]) AttributeError: 'NoneType' object has no attribute 'append'
Bazarrerror:
SyntaxError('EOL while scanning string literal', ('<unknown>', 1, 10, "['en', 'nl"))
Traceback (most recent call last): File "C:\Python27\lib\site-packages\bottle.py", line 862, in _handle return route.call(**args) File "C:\Python27\lib\site-packages\bottle.py", line 1740, in wrapper rv = callback(*a, **ka) File "C:\Oscarr\oscarr\oscarr.py", line 365, in bazarr output = template('bazarr', __file__=__file__, oscarr_version=oscarr_version, base_url=base_url, missing_list=missing_list, history_list=history_list) File "C:\Python27\lib\site-packages\bottle.py", line 3622, in template return TEMPLATES[tplid].render(kwargs) File "C:\Python27\lib\site-packages\bottle.py", line 3411, in render self.execute(stdout, env) File "C:\Python27\lib\site-packages\bottle.py", line 3398, in execute eval(self.co, env) File "C:\Oscarr\oscarr\views\bazarr.tpl", line 89, in <module> subs_languages = ast.literal_eval(str(row[3])) File "C:\Python27\lib\ast.py", line 49, in literal_eval node_or_string = parse(node_or_string, mode='eval') File "C:\Python27\lib\ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "<unknown>", line 1 ['en', 'nl ^ SyntaxError: EOL while scanning string literal