discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] control port on 3.7.8 ?


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] control port on 3.7.8 ?
Date: Wed, 6 May 2015 13:39:58 -0400

On Wed, May 6, 2015 at 1:27 PM, Achilleas Anastasopoulos <address@hidden> wrote:
After pulling the latest version of gnuradio, and remaking/installing/etc
I am trying to run the application "pfb_sync_test.grc" in the examples directory of control port.
It is giving me the following error:

================
Executing: "/home/anastas/gnuradio_trunk/gr-blocks/examples/ctrlport/pfb_sync_test_qt.py"

Using Volk machine: sse4_1_64_orc
ControlPort Monitor running.
Traceback (most recent call last):
  File "/home/anastas/gnuradio_trunk/gr-blocks/examples/ctrlport/pfb_sync_test_qt.py", line 233, in <module>
    (tb.blocks_ctrlport_monitor_0).start()
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/ctrlport/monitor.py", line 48, in start
    print "monitor::endpoints() = %s" % (gr.rpcmanager_get().endpoints())
AttributeError: 'NoneType' object has no attribute 'endpoints'
ctrlport.monitor received shutdown signal
==================

this is on a Fedora 19-64.

Any help is greatly appreciated.

thanks
Achilleas


Looks like the server isn't being started. When you run cmake, you should see that under enabled components, you have:

* gr-ctrlport
** thrift

That tells you ControlPort is enabled and the Thrift backend will be built for it. You can also tell by looking at gnuradio/config.h to see if GR_RPCSERVER_ENABLED and GR_RPCSERVER_THRIFT are defined there.

My guess is that cmake isn't picking up Thrift. It requires version 0.9.2 to run. You can get some info on building this yourself here:

http://gnuradio.org/redmine/projects/gnuradio/wiki/ControlPort

I also just pushed a new apache-thrift recipe to PyBOMBS today.

Tom
 

reply via email to

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