Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running ft8i #6

Open
hanslammerts opened this issue Aug 22, 2018 · 0 comments
Open

Error when running ft8i #6

hanslammerts opened this issue Aug 22, 2018 · 0 comments

Comments

@hanslammerts
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant