Well I am sorry to say that things did not go well with 0.8.4e!
First of all it would no longer start after a system reboot so I had to launch it manually. But when I attempted to view the xmltv.xml file it threw an error that said:
XML Parsing Error: no root element found
Location: http://ipaddress:6077/xmltv.xml
Line Number 1, Column 1:
And in the terminal output:
$ python3 tvh_main.py
2021-05-22 04:08:27,158-WARNING:main #########################################
2021-05-22 04:08:27,159-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546
Traceback (most recent call last):
File "tvh_main.py", line 15, in <module>
main.main(script_dir)
File "/home/hts/locast/tvheadend-locast/lib/main.py", line 88, in main
plugins.refresh_channels()
File "/home/hts/locast/tvheadend-locast/lib/plugins/plugin_handler.py", line 90, in refresh_channels
self.call_function(plugin, 'refresh_channels')
File "/home/hts/locast/tvheadend-locast/lib/plugins/plugin_handler.py", line 104, in call_function
call_f(*args)
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/locast.py", line 41, in refresh_channels
instance.refresh_channels()
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/locast_instance.py", line 64, in refresh_channels
self.channels.refresh_channels()
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/channels.py", line 64, in refresh_channels
ch_dict = self.get_locast_channels()
File "/home/hts/locast/tvheadend-locast/lib/common/decorators.py", line 44, in wrapper_func
return f(self, *args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/common/decorators.py", line 29, in wrapper_func
return f(self, *args, **kwargs)
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/channels.py", line 101, in get_locast_channels
if 'videoProperties' in locast_channel['listings'][0]:
IndexError: list index out of range
hts@server:~/locast/tvheadend-locast$ ----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48964)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 189, in __init__
super(CustomWebAdminHttpHandler, self).__init__(*args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 77, in __init__
super().__init__(*args)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 89, in do_GET
if getrequest.call_url(self, self.content_path):
File "/home/hts/locast/tvheadend-locast/lib/common/decorators.py", line 75, in call_url
self.url2func[_name](_tuner, *args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 27, in get_channels_html
html = channels_html.get()
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 40, in get
return ''.join([self.header, self.body])
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 57, in header
list(self.tab_names.keys())[0], '")</script>' ])
IndexError: list index out of range
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48968)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 189, in __init__
super(CustomWebAdminHttpHandler, self).__init__(*args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 77, in __init__
super().__init__(*args)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 89, in do_GET
if getrequest.call_url(self, self.content_path):
File "/home/hts/locast/tvheadend-locast/lib/common/decorators.py", line 75, in call_url
self.url2func[_name](_tuner, *args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 27, in get_channels_html
html = channels_html.get()
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 40, in get
return ''.join([self.header, self.body])
File "/home/hts/locast/tvheadend-locast/lib/clients/channels/channels_html.py", line 57, in header
list(self.tab_names.keys())[0], '")</script>' ])
IndexError: list index out of range
----------------------------------------
2021-05-22 04:09:41,890-WARNING:epg EPG Days to collect is too high. 2021-06-01 has no data
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48998)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 189, in __init__
super(CustomWebAdminHttpHandler, self).__init__(*args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 77, in __init__
super().__init__(*args)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "/home/hts/locast/tvheadend-locast/lib/clients/web_admin.py", line 89, in do_GET
if getrequest.call_url(self, self.content_path):
File "/home/hts/locast/tvheadend-locast/lib/common/decorators.py", line 75, in call_url
self.url2func[_name](_tuner, *args, **kwargs)
File "/home/hts/locast/tvheadend-locast/lib/clients/epg2xml.py", line 38, in xmltv_xml
reply_str = epg.get_epg_xml(_tuner)
File "/home/hts/locast/tvheadend-locast/lib/clients/epg2xml.py", line 65, in get_epg_xml
self.plugins.refresh_epg(self.namespace, self.instance)
File "/home/hts/locast/tvheadend-locast/lib/plugins/plugin_handler.py", line 98, in refresh_epg
self.call_function(plugin, 'refresh_epg')
File "/home/hts/locast/tvheadend-locast/lib/plugins/plugin_handler.py", line 104, in call_function
call_f(*args)
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/locast.py", line 48, in refresh_epg
instance.refresh_epg()
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/locast_instance.py", line 74, in refresh_epg
self.epg.refresh_epg()
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/epg.py", line 56, in refresh_epg
self.refresh_programs(epg_day, True)
File "/home/hts/locast/tvheadend-locast/plugins/provider_video_locast/lib/epg.py", line 111, in refresh_programs
for ch_data in json_data:
TypeError: 'NoneType' object is not iterable
----------------------------------------
One other thing I noticed was the lineup.xml file was not right, it was all run together like all the line breaks were missing or something.
Weird thing is that after going back to the 0.8.4c version, it started at bootup and everything seems to work except now I can't see the XML guide data there anymore. in the browser it just sits there for a few seconds and then says:
The connection was reset
The connection to the server was reset while the page was loading.
Can't explain why the problems all of a sudden but just wanted to let you know.