As an update, I realized that in the "Options" block, "Generate Options" was 
not set to WX GUI so i set it. Now the WX GUI FFT Sink opens the Top Block, but 
nothing is displayed there, I can't see any plot and it quickly fails. The only 
error message that I get is:

Warning: failed to XInitThreads()
Using Volk machine: avx_32_mmx

Any ideas?

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 
NIKOS BIZANIS [n.biza...@student.tudelft.nl]
Sent: Wednesday, March 18, 2015 1:25 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Run-time error while executing a simple 
flowgraph in GNU Radio companion

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<mailto:discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org>
 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org<mailto:discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org>]
 on behalf of Marcus Müller 
[marcus.muel...@ettus.com<mailto:marcus.muel...@ettus.com>]
Sent: Wednesday, March 18, 2015 12:48 PM
To: discuss-gnuradio@gnu.org<mailto: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<mailto:Discuss-gnuradio@gnu.org>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org<mailto: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

Reply via email to