discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HackRF and osmcom


From: KG4HLZ
Subject: HackRF and osmcom
Date: Thu, 13 May 2021 15:27:21 -0500

Gnu Radio noob here.

I am trying to get osmocom working with HckRF One. I am getting the following:


Generating: '/home/bruce/Documents/gnuRadio/testHackRF.py'

Executing: /usr/bin/python3 -u /home/bruce/Documents/gnuRadio/testHackRF.py

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Traceback (most recent call last):
  File "/home/bruce/Documents/gnuRadio/testHackRF.py", line 202, in <module>
    main()
  File "/home/bruce/Documents/gnuRadio/testHackRF.py", line 180, in main
    tb = top_block_cls()
  File "/home/bruce/Documents/gnuRadio/testHackRF.py", line 133, in __init__
    self.osmosdr_source_0 = osmosdr.source(
  File "/usr/lib/python3/dist-packages/osmosdr/osmosdr_swig.py", line 1074, in make
    return _osmosdr_swig.source_make(*args, **kwargs)
RuntimeError: basic_string::compare: __pos (which is 18446744073709551614) > this->size() (which is 32)

>>> Done (return code 1)


The HackRF seems to be running ok. I can pull information from it with no problem.

I am running Ubuntu 20.04.2 LTS (Focal Fossa).

I don't know is this mailing list forwards screen shots but heer is my osmcom setup:

Screenshot from 2021-05-13 14-50-01.png

Thanks!!!!!
Bruce

reply via email to

[Prev in Thread] Current Thread [Next in Thread]