Skip to content

Error when running ft8i #6

@hanslammerts

Description

@hanslammerts

Hi Robert,

Just found your piece of software, and it is exactly what I need.
However, I can't seem to get it working...
I'm running Debian 9, with an SDRplay RSP1 connected.
If I run the following :
python ft8i.py -card sdrplay sdrplay -band 20

I get the following messages:

  1. just after start a warning:
    sdrplay: loaded API from libmirsdrapi-rsp.so sdrplay.py: warning: needs API version 1.95, got 2.130000
  2. Then some empty screens, saying Contacting: ---- etc on top, and then (I think only once) the following error:
    Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/tar/FT8/weakmon/weakdriver.py", line 981, in <lambda> th = threading.Thread(target=lambda r=r: r.gocard()) File "/tar/FT8/weakmon/ft8.py", line 1623, in gocard [ buf, buf_time ] = self.audio.read() File "/tar/FT8/weakmon/weakaudio.py", line 552, in read buf = self.resampler.resample(buf) File "/tar/FT8/weakmon/weakutil.py", line 579, in resample a.append(self.resample1(buf[i:i+chunk])) TypeError: slice indices must be integers or None or have an __index__ method

I noticed that before this error appears, the top righthand of the screen says None RX 09:24:33 and
after the error it says 20 RX 09:24:45

Two questions:

  1. Does the version mismatch of the sdrplay driver cause issues ?
  2. It looks like the error is caused by something in numpy. Any suggestions on this, please ?

Regards and 73,
Hans
PA3CRZ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions