Hm, then the empty window usually indicates there's not enough samples that have reached your graphical sink at all, *or* there's something odd with OpenGL in your VM.
On 03/18/2015 02:41 PM, NIKOS BIZANIS wrote: > No I am running it in my machine, using a VM in VMWare player. > > Greetings, > Nikos > > > ------------------------------------------------------------------------ > *From:* discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org > [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on > behalf of NIKOS BIZANIS [n.biza...@student.tudelft.nl] > *Sent:* Wednesday, March 18, 2015 2:38 PM > *To:* discuss-gnuradio@gnu.org > *Subject:* Re: [Discuss-gnuradio] Run-time error while executing a > simple flowgraph in GNU Radio companion > > Yes, that was the reason I was getting the run-time error. I did set > the build options to WX GUI in the options block (it was set to QT > GUI) previously, and now it runs. The problem is that when the window > opens I can't see any FFT plot, it is just a blank window, and I get > the message: > > Warning: failed to XInitThreads() > Using Volk machine: avx_32_mmx > > Greetings, > Nikos > > ------------------------------------------------------------------------ > *From:* discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org > [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on > behalf of Marcus Müller [marcus.muel...@ettus.com] > *Sent:* Wednesday, March 18, 2015 2:31 PM > *To:* discuss-gnuradio@gnu.org > *Subject:* Re: [Discuss-gnuradio] Run-time error while executing a > simple flowgraph in GNU Radio companion > > That is a good sign! This looks like you're using WX widgets, but you > haven't set the build options to WX GUI (could be "No GUI" or "QT > GUI") in the options block in your GRC flow graph. > > Greetings, > Marcus > > On 03/18/2015 01:25 PM, NIKOS BIZANIS wrote: >> After running ldconfig I still get an error, but a somewhat different >> one: >> >> Warning: failed to XInitThreads() >> Traceback (most recent call last): >> File "/home/nikos/top_block.py", line 105, in <module> >> tb = top_block() >> File "/home/nikos/top_block.py", line 56, in __init__ >> self.GetWin(), >> File >> "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", >> line 93, in __getattr__ >> return getattr(self._impl, name) >> AttributeError: 'top_block_sptr' object has no attribute 'GetWin' >> >> Is it still the case that I am missing some library, or it is >> installed elsewhere than it should? >> >> Thank you again, >> Nikos >> >> >> ------------------------------------------------------------------------ >> *From:* discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org >> [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on >> behalf of Marcus Müller [marcus.muel...@ettus.com] >> *Sent:* Wednesday, March 18, 2015 1:08 PM >> *To:* discuss-gnuradio@gnu.org >> *Subject:* Re: [Discuss-gnuradio] Run-time error while executing a >> simple flowgraph in GNU Radio companion >> >> Ah well, in that case: it seems like you've successfully installed >> the block definition XML files to a place GRC can find them, but that >> does not apply to the library you're missing now. If "sudo ldconfig" >> doesn't help, make sure that >> make install >> >> inside your gnuradio/build directory actually is successful. If you >> get errors about missing permissions, you might want to run the >> command via sudo: >> sudo make install >> >> You might also want to have a look at >> gnuradio/build/install_manifest.txt, which should list all the files >> that were installed. look for a line containing the library you're >> missing -- where did it get installed to? Where did, for example, >> gnuradio-companion get installed to? Is that the same as what "which >> gnuradio-companion" is telling you? >> >> Best regards, >> Marcus >> >> >> >> >> On 03/18/2015 01:01 PM, NIKOS BIZANIS wrote: >>> Hi Marcus, >>> >>> What I meant by "able to use", was that I was able to find the >>> blocks using the search facility and put the block to a flowgraph. I >>> had not actually tried to build and execute a flowgraph containing >>> any of these blocks, and now that I tried this was the result. >>> >>> Greetings, >>> Nikos >>> >>> ------------------------------------------------------------------------ >>> *From:* >>> discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org >>> [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on >>> behalf of Marcus Müller [marcus.muel...@ettus.com] >>> *Sent:* Wednesday, March 18, 2015 12:48 PM >>> *To:* discuss-gnuradio@gnu.org >>> *Subject:* Re: [Discuss-gnuradio] Run-time error while executing a >>> simple flowgraph in GNU Radio companion >>> >>> Hi Nikos, >>> >>> you said earlier you were able to use WX widgets. Did you do >>> something in between that and your system now not being able to find >>> the libgnuradio-wxgui library? >>> >>> Greetings, >>> Marcus >>> >>> On 03/18/2015 12:34 PM, NIKOS BIZANIS wrote: >>>> Hey all, >>>> >>>> Just to start experimenting with GNU Radio and companion I just >>>> created a simple flowgraph consisting of a Signal Source Block and >>>> a WX GUI FFT Sink connected to it, to see if the diagram will be >>>> generated. I get a run-time error, namely: >>>> >>>> Executing: "/home/nikos/top_block.py" >>>> >>>> Traceback (most recent call last): >>>> File "/home/nikos/top_block.py", line 12, in <module> >>>> from gnuradio import wxgui >>>> File >>>> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/__init__.py", line >>>> 32, in <module> >>>> from wxgui_swig import * >>>> File >>>> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/wxgui_swig.py", >>>> line 28, in <module> >>>> _wxgui_swig = swig_import_helper() >>>> File >>>> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/wxgui_swig.py", >>>> line 24, in swig_import_helper >>>> _mod = imp.load_module('_wxgui_swig', fp, pathname, description) >>>> ImportError: libgnuradio-wxgui-3.7.6.1.so.0.0.0: cannot open shared >>>> object file: No such file or directory >>>> >>>> What could be wrong here? >>>> >>>> Thank you, >>>> Nikos >>>> >>>> >>>> _______________________________________________ >>>> Discuss-gnuradio mailing list >>>> Discuss-gnuradio@gnu.org >>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list >>> Discuss-gnuradio@gnu.org >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio