OP25 on a Raspberry Pi: 'gnuradio.op25' has no attribute 'fsk4_demod_ff'

monorailmedic

Member
Feed Provider
Joined
Oct 15, 2015
Messages
22
I used this helpful guide to do an install several years ago on a Raspberry Pi 3+.
Today I loaded up a fresh install of the 64 bit Raspberry Pi OS (as I’d previously installed an outdated version and had some random issues not related to OP25) using this guide and went to follow the guide again, but am having an issue out that gate that would seem simple…yet I’m struggling with. In fairness, I don’t know python…and am not great with Linux.

When I run rx.py for the first time (as below) I get an error: ‘gnuradio.op25’ has no attribute ‘fsk4_demod_ff’
./rx.py –args ‘rtl’ -N ‘LNA:47’ -S 2500000 -x 2 -f 857.2625e6 -o 17e3 -X

I opened up rx.py and see references to things fsk4_demod, but not with the _ff. Perhaps this is coming from something else being referenced in the script that’s loading packages? I see that op25 is actually gr-op25, and when I go to ~/op25/op25/gr-op25 I find ~/op25/op25/gr-op25/include/gnuradio/op25/fsk4_demod_ff.h. In there I see class OP25_API fsk4_demod_ff, so to me, this has the same name, but why is it not being found or invoked properly?
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,547
Location
Talbot Co, MD
Are you running under gnuradio-3.8 or gnuradio-3.10, and which branch of the op25 repo are you using?
Code:
apt list --installed | grep gnuradio-dev
cd ~/op25
git status

If there any possibility of remnants of an older version of op25 possibly hanging around in the /usr/local/lib directory or was the sdcard re-imaged?
 

monorailmedic

Member
Feed Provider
Joined
Oct 15, 2015
Messages
22
Are you running under gnuradio-3.8 or gnuradio-3.10, and which branch of the op25 repo are you using?
Code:
apt list --installed | grep gnuradio-dev
cd ~/op25
git status

If there any possibility of remnants of an older version of op25 possibly hanging around in the /usr/local/lib directory or was the sdcard re-imaged?
It's a fresh image, so nothing old leftover. Using your build here.
Will check the version of gnuradio (right now the other card is in the pi and I'm not home to swap them).
 

monorailmedic

Member
Feed Provider
Joined
Oct 15, 2015
Messages
22
Back home, switched cards and am looking at this again. Sorry for the delay.

Code:
On branch gr310
Your branch is up to date with 'origin/gr310'.
gnuradio-dev/stable,now 3.10.5.1-3 arm64 [installed]
 
Top