G Kazaroth wrote:
> It is probably your config.ini. Since locast is no more, you should have nothing in the config.ini that has anything to do with locast. The way the product works right now is if you want to enable a plugin, you add
> >[pluginname_instancename]
> >label = any name you want. it will appear in the config page
>
> So as an example, you can add PlutoTV by adding the following to the config.ini file.
> >[plutotv_default]
> >label = PlutoTV Instance
>
> I you still have an issue when you clean up the config.ini, then try to delete the database files in the ./data/db/ folder and see if that works.
>
> Interesting that you were able to cause an exception. I will take a look and see if I can have it update gracefully.
>
> FYI... The latest version is having issues with the tuner subprocesses when you do a Restart from the scheduler. I am working the issue; otherwise, it works fine. If you get a "OSError: [Errno 98] Address already in use", then you have a python process still running.
Thanks for the advice. Did a git fetch and pull and got your latest update. However the error still occurred. It went away if I unticked the "Import channel groups" option under the "PlutoTV" Tab.
The "Refresh PlutoTV Channels" job runs and a channels.m3u file is generated. However the "Channel Editor" -> "PlutoTV" Tab states "NO CHANNEL DATA FOUND" and the following error is seen:
Exception happened during processing of request from ('192.168.1.102', 54506)
Traceback (most recent call last):
File "/usr/lib/python3.8/socketserver.py", line 316, in
handlerequest_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.8/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/ubuntu/cabernet/lib/clients/web_admin.py", line 200, in
init__
super(CustomWebAdminHttpHandler, self).__init__(*args,
kwargs)
File "/home/ubuntu/cabernet/lib/clients/web_admin.py", line 78, in
init__
super().__init__(*args)
File "/usr/lib/python3.8/socketserver.py", line 747, in
init__
self.handle()
File "/usr/lib/python3.8/http/server.py", line 427, in handle
self.handle_one_request()
File "/usr/lib/python3.8/http/server.py", line 415, in handle_one_request
method()
File "/home/ubuntu/cabernet/lib/clients/web_admin.py", line 93, in do_GET
if getrequest.call_url(self, self.content_path):
File "/home/ubuntu/cabernet/lib/common/decorators.py", line 178, in call_url
self.url2func[_name](_webserver,
args, *kwargs)
File "/home/ubuntu/cabernet/lib/clients/channels/channels_form_html.py", line 36, in get_channels_form_html
form = channels_form.get(name,
sortcol,
sortdir, filter_dict)
File "/home/ubuntu/cabernet/lib/clients/channels/channels_form_html.py", line 79, in get
return ''.join([self.header,self.body])
File "/home/ubuntu/cabernet/lib/clients/channels/channels_form_html.py", line 384, in body
self.form,
File "/home/ubuntu/cabernet/lib/clients/channels/channels_form_html.py", line 272, in form
t = self.table
File "/home/ubuntu/cabernet/lib/clients/channels/channels_form_html.py", line 331, in table
row = ''.join([
TypeError: sequence item 41: expected str instance, list found
---------------------------------------
Any ideas?
BTW: Thanks for all of your work on this tool!