Can anyone help with this error?
C:\LoCast\locast2plex-old-merge>python main.py
Locast2Plex v0.5.2
Tuner count set to 3
UUID set to: ypjuqhkj...
Logging into Locast using username xxxxxx@gmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 1609081044.0
Getting user location...
User location obtained as xx.xxxx/-xx.xxxx
Getting user's media market (DMA)...
DMA found as 602: Chicago
Getting list of stations based on DMA...
Loading FCC Stations list...
Starting device server on 192.168.1.250:6077
Starting SSDP server...
Locast2Plex is active and listening...
'I TRY TO CONNECT HERE:'
192.168.1.250 - - [29/Oct/2020 13:48:57] "GET /discover.json HTTP/1.0" 200 -
Exception happened during processing of request from ('192.168.1.250', 36303)
Traceback (most recent call last):
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 720, in init
self.handle()
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 426, in handle
self.handle_one_request()
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 414, in handle_one_request
method()
File "main.py", line 63, in do_GET
base_url))
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 799, in write
self._sock.sendall(b)
TypeError: a bytes-like object is required, not 'str'
Can anyone help with this error? C:\LoCast\locast2plex-old-merge>python main.py Locast2Plex v0.5.2 Tuner count set to 3 UUID set to: ypjuqhkj... Logging into Locast using username xxxxxx@gmail.com... Validating User Info... User Info obtained. User didDonate: True User donationExpire: 1609081044.0 Getting user location... User location obtained as xx.xxxx/-xx.xxxx Getting user's media market (DMA)... DMA found as 602: Chicago Getting list of stations based on DMA... Loading FCC Stations list... Starting device server on 192.168.1.250:6077 Starting SSDP server... Locast2Plex is active and listening... 'I TRY TO CONNECT HERE:' 192.168.1.250 - - [29/Oct/2020 13:48:57] "GET /discover.json HTTP/1.0" 200 -
Exception happened during processing of request from ('192.168.1.250', 36303) Traceback (most recent call last): File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 720, in init self.handle() File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 426, in handle self.handle_one_request() File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 414, in handle_one_request method() File "main.py", line 63, in do_GET base_url)) File "C:\Users\Ben\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 799, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str'