discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Issues using gr-inspector after install


From: Robert Stanford
Subject: Re: [Discuss-gnuradio] Issues using gr-inspector after install
Date: Mon, 9 Apr 2018 13:26:35 -0500


 Thanks for getting back to me.  The packages I installed were:

 - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
 - qwt-6.1.0 (not the most recent, but what the page recommends), from source.  I'd previously tried installing the most recent from the repos (apt), but had the same error I mentioned above so uninstalled and installed this recommended version from source.
   - I installed this using these instructions: http://qwt.sourceforge.net/qwtinstall.html

 gr-inspector (cmake) had errors until I did these three things:
  - apt install gnuradio-dev
  - ln -s /usr/include/qwt /usr/include/qwtplot3d-qt4
  - ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so
  - I found that I had to do this: export CMAKE_MODULE_PATH=/home/rs/devel/gr-inspector/cmake/Modules; cmake ..

So, either I am doing something wrong by this point, or there are four extra steps (above) that are required to get gr-inspector working on my system (Ubuntu 17.10, gnuradio 3.7.10)

 I've cleaned and built again to show the output.  Here is the output of 'cmake ..': https://pastebin.com/c3hnmNDx

 Here is the output of 'make -j4': https://pastebin.com/zHUAZGn3

 I load the sample graph into gnuradio-companion, and get the error again: https://pastebin.com/DFGAtmGz

 As for the PLL error (while tuning the rtl-sdr), that's something I normally experience.  It's never been a show-stopper and I think it can be ignored in this case.  I am not tuning to 2.4MHz but am using a 2.4MS/s sample rate.

 Thank you again
 

On Mon, Apr 9, 2018 at 12:40 PM, Sebastian Müller <address@hidden> wrote:
Hi Robert,

Am 9. April 2018 um 01:31:42, Robert Stanford (address@hidden) schrieb:


 I have cloned and installed gr-inspector using the instructions on the webpage.  One change (addition) necessary to get gr-inspector to install on my system (Ubuntu 17.10) was to run ln -s /usr/lib/libqwt-qt4.so.5 /usr/lib/libqwt-qt4.so ; otherwise cmake failed, unable to find libqwt-qt4.so.

Can you please provide a *complete* list of qwt packages you installed as well as the version?  (For instance with `dpkg -s [package]`)

Also, please provide the output of cmake when before and after the `ln -s` command you mention.

Lastly, I’d like to see the output of `make` after a successful cmake run. You can use pastebin or something similar since this all is a lot of output.

 I have started gnuradio companion and loaded an example from gr-inspector (live_signal_detection.grc).  I adjust the sample rate, since I am using an RTL-SDR (adjust to 2.4e6).  The graph comes up, and I press 'play' (execute the flow graph).  I get this error:

Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!

I’m not aware of any RTL SDRs that can be tuned to 2.4 MHz (correct me if I’m wrong). That’s probably why you get the PLL error here.


Traceback (most recent call last):
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py", line 142, in <module>
    main()
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py", line 130, in main
    tb = top_block_cls()
  File "/home/rs/devel/gr-inspector/examples/live_signal_detection.py", line 85, in __init__
    self.inspector_signal_detector_cvf_0 = inspector.signal_detector_cvf(samp_rate, 4096, firdes.WIN_BLACKMAN_hARRIS,
AttributeError: 'module' object has no attribute 'signal_detector_cvf'

This just means gr-inspector was not installed correctly. To investigate, please provide the outputs I mentioned above.



 GNUradio (3.7.10) executes other graphs fine (that is, non-gr-inspector graphs).  Why am I getting this error with gr-inspector?

 Thank you
_______________________________________________ 
Discuss-gnuradio mailing list 
address@hidden 
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio 


Cheers,

Sebastian Müller
PGP ID DC2AA3EE

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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