discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Ziang Gao
Subject: [Discuss-gnuradio] WX GUI and QT GUI not working
Date: Thu, 8 Mar 2018 16:47:15 -0500

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.



reply via email to

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