jkaberg / tvhProxy

An small flask app to help Plex DVR connect with Tvheadend
Other
216 stars 107 forks source link

An error occured: JSONDecodeError - Error when trying to connect to tvhproxy #32

Closed pmwoodward3 closed 7 years ago

pmwoodward3 commented 7 years ago

This is with the most recent commit as of this moment.

192.168.1.53 - - [2017-09-20 09:32:38] "GET /lineup_status.json HTTP/1.0" 200 234 0.000356 An error occured: JSONDecodeError('Expecting value: line 1 column 1 (char 0)',) [2017-09-20 09:32:42,487] ERROR in app: Exception on /lineup.json [GET] Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise raise value File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request return self.view_functionsrule.endpoint File "tvhProxy.py", line 54, in lineup for c in _get_channels(): TypeError: 'NoneType' object is not iterable