Add new comment

When I try to run CLI on Kali as follows:

python rtlsdr_scan.py -s 433 -e 434 -g 41 -w 1 -c ../conf/gps.conf scan.rfs
(specifying /dev/ttyUSB0 and 38400 baud in gps.conf)

I get the following error (GUI approach works fine with GPS):

Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
433 - 434MHz
1 Sweeps
40.2dB Gain
0.131s Dwell
1024 FFT points
0MHz LO
Generic RTL2832U OEM

Waiting for GPS: 38400-8N1
Exception in thread Location:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/root/RTLSDR-Scanner-master/src/location.py", line 320, in run
self.__nmea_read()
File "/root/RTLSDR-Scanner-master/src/location.py", line 218, in __nmea_read
for resp in comm:
File "/root/RTLSDR-Scanner-master/src/location.py", line 131, in __serial_read
data = self.commIo.readline()
File "/usr/lib/python2.7/encodings/ascii.py", line 30, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)

^C
Aborted

Any suggestions? Thanks.