OSMOSDR Source C creation failure

Status
Not open for further replies.

WB4EOT

Member
Joined
Dec 19, 2002
Messages
20
Location
Roanoke, VA
Attempts to run OP25 on Mint Linux with the following command ./ry.py ---args 'rtl' -N 'LNA:48' -f 857.1625e6 results in the following.
osmosdr source c creation failure
Traceback (most recent call last):
File "./rx.py ", line 836, in module rx = rx_main()
File "./rx.py", line 760, in_int_self.tb=p25_rx_block(self.options)
File "./rx.py", line 121, in_init_gain_names = self.src.get_gain_names()
AttributeError: 'NoneType' object has no attribute 'get_gain_names'

rtl_test command finds RTL-SDR dongle.

GQRX finds and executes with RTL-SDR dongle.

I do have OP25 with same RTL-SDR dongle running on Raspberry Pi 3 with no errors.

Something tells me OP25 did not install correctly or I have missing command line arguments.

Joe
WB4EOT
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
Attempts to run OP25 on Mint Linux with the following command ./ry.py ---args 'rtl' -N 'LNA:48' -f 857.1625e6 results in the following.
osmosdr source c creation failure
Traceback (most recent call last):
File "./rx.py ", line 836, in module rx = rx_main()
File "./rx.py", line 760, in_int_self.tb=p25_rx_block(self.options)
File "./rx.py", line 121, in_init_gain_names = self.src.get_gain_names()
AttributeError: 'NoneType' object has no attribute 'get_gain_names'

rtl_test command finds RTL-SDR dongle.

GQRX finds and executes with RTL-SDR dongle.

I do have OP25 with same RTL-SDR dongle running on Raspberry Pi 3 with no errors.

Something tells me OP25 did not install correctly or I have missing command line arguments.

Joe
WB4EOT

What happens if you run "osmocom_fft" with no arguments? (It should work...)
What about the output of "apt list -- installed | grep osmo"?
and "apt list --installed rtl"
and "lsusb"
 

WB4EOT

Member
Joined
Dec 19, 2002
Messages
20
Location
Roanoke, VA
osmocom_fft command fails with "No module named_osmosdr_swig"

"apt list -- installed | grep osmo" results in WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

"apt list --installed rtl" resulted in Listing..Done

and "lsusb" finds RTL283 DVB-T as Device 002: ID 0bda:2383

Joe
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
osmocom_fft command fails with "No module named_osmosdr_swig"

"apt list -- installed | grep osmo" results in WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

"apt list --installed rtl" resulted in Listing..Done

and "lsusb" finds RTL283 DVB-T as Device 002: ID 0bda:2383

Joe
You're not installed correctly. The drivers aren't there.

Have you run the op25/install.sh script?
 

WB4EOT

Member
Joined
Dec 19, 2002
Messages
20
Location
Roanoke, VA
Boatbod,

Some how I fixed this by either re-running op25/install.sh script or updating Mint Linux or pulling the latest OP25 updates and re-running the scripts.

Both OP25 and osmocom.fft now function. This is on an older HP laptop I wanted to attempt to re-purpose for use.

Joe
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
Boatbod,

Some how I fixed this by either re-running op25/install.sh script or updating Mint Linux or pulling the latest OP25 updates and re-running the scripts.

Both OP25 and osmocom.fft now function. This is on an older HP laptop I wanted to attempt to re-purpose for use.

Joe
Glad it's working. My guess is re-running the install.sh script fixed it.
 
Status
Not open for further replies.
Top