discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] WX GUI and QT GUI not working


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] WX GUI and QT GUI not working
Date: Thu, 08 Mar 2018 17:46:56 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 03/08/2018 04:47 PM, Ziang Gao wrote:
Hi everybody,

I just installed gnuradio on Ubuntu 16.04 and tested a really simple flow graph in GRC, an USRP source connected to a WX FFT sink, however I got this error:

 File "/home/ziang/workarea-grc/top_block.py", line 166, in <module>
    main()
  File "/home/ziang/workarea-grc/top_block.py", line 160, in main
    tb = top_block_cls()
  File "/home/ziang/workarea-grc/top_block.py", line 110, in __init__
    peak_hold=False,
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_gl.py", line 92, in __init__
    win=win,
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/fft/logpwrfft.py", line 65, in __init__
    fft = self._fft_block[0](fft_size, True, fft_window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/fft/fft_swig.py", line 157, in make
    return _fft_swig.fft_vcc_make(fft_size, forward, window, shift, nthreads)
RuntimeError: std::exception

Then I tried to use 'uhd_fft' command, and got this error:

Traceback (most recent call last):
  File "/usr/local/bin/uhd_fft", line 500, in <module>
    main()
  File "/usr/local/bin/uhd_fft", line 483, in main
    tb = uhd_fft(args)
  File "/usr/local/bin/uhd_fft", line 214, in __init__
    len(self.channels) #number of inputs
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/qtgui/qtgui_swig.py", line 2479, in make
    return _qtgui_swig.waterfall_sink_c_make(size, wintype, fc, bw, name, nconnections, parent)
RuntimeError: std::exception

I was using gnuradio and GRC in UBUNTU 14.04 and it was working all right. The version of gnuradio I have now is 5.4.0 and GRC version is 3.7.11.1, operating system is UBUNTU 16.04. And I was always using this command to install gnuradio and uhd: 
'wget http://www.sbrac.org/files/build-gnuradio && chmod a+x build-gnuradio && ./build-gnuradio'

Is there anyway I can solve this problem? Is it a version problem or I'm missing any module? When not calling any graphic functions or blocks gnuradio works fine.

Thank you so much.

Best regards,
Ziang.




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

gnuradio-config-info -v

Report?

When you built it, were there any CMAKE comments about not enabling the GUI stuff due to missing depends?

You can re-run build-gnuradio with the "-v" flag to have it be more verbose about what it's doing.



reply via email to

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