Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps

return f(self, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/flask_appbuilder/views.py", line 602, in edit

widgets = self._edit(pk)


 "/usr/local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 1228, in _edit

self.prefill_form(form, pk)


 "/usr/local/lib/python3.6/site-packages/airflow/www/views.py", line 2546, in prefill_form

extra_dictionary = json.loads(form.data.get('extra', '{}'))


 "/usr/local/lib/python3.6/json/__init__.py", line 348, in loads

'not {!r}'.format(s.__class__.__name__))
TypeError: the JSON object must be str, bytes or bytearray, not 'NoneType'

Traceback (most recent call last):


 "/usr/local/bin/mpsyt", line 11, in <module>

sys.exit(main.main())


 "/usr/local/lib/python3.6/site-packages/mps_youtube/main.py", line 141, in main

if matchfunction(i.function, i.regex, userinput):


 "/usr/local/lib/python3.6/site-packages/mps_youtube/main.py", line 64, in matchfunction

func(*matches)


 "/usr/local/lib/python3.6/site-packages/mps_youtube/commands/search.py", line 212, in search

_search(term, query, msg, failmsg)


 "/usr/local/lib/python3.6/site-packages/mps_youtube/commands/search.py", line 41, in _search

loadmsg=loadmsg)


 "/usr/local/lib/python3.6/site-packages/mps_youtube/commands/songlist.py", line 56, in paginatesongs

songs = func[s:e]


 "/usr/local/lib/python3.6/site-packages/mps_youtube/util.py", line 47, in __getitem__

self.ilist.append(next(self.iterable))


 "/usr/local/lib/python3.6/site-packages/mps_youtube/commands/search.py", line 28, in iter_songs

for song in get_tracks_from_json(wdata2):


 "/usr/local/lib/python3.6/site-packages/mps_youtube/commands/search.py", line 342, in get_tracks_from_json

'id': ','.join([get_track_id_from_json(i) for i in items])}
TypeError: sequence item 9: expected str instance, dict found
