I updated my python-thrift to be 0.9.3 and the thrift is 0.9.3.
I get the error when I run the graph:
File "/usr/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'
A Google search shows that the configure might not be picking up thrift, but
root@b4860:~# gnuradio-config-info --enabled-components
python-support;testing-support;gnuradio-runtime;gr-ctrlport;* thrift;gr-blocks;gnuradio-companion;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-audio;* alsa;* oss;gr-channels;gr-noaa;gr-pager;gr-qtgui;gr-trellis;gr-utils;gr-vocoder;gr-wavelet;gr-zeromq
root@b4860:~#
shows that thrift is enabled.
Any ideas?
Thanks,
K-
From: Neel Pandeya [mailto:neel.pandeya@ettus.com]
Sent: Wednesday, September 28, 2016 4:29 PM
To: Unice, W. Kyle @ CSG - CSW
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] ENABLE_PERFORMANCE_COUNTERS Crash
Hello Kyle:
Yeah, I had a feeling as I looked more closely at the error messages.
Could you tell me more about your hardware and your Linux distro/version?
--Neel Pandeya
On 28 September 2016 at 15:22, <kyle.unice@l-3com.com> wrote:
Neel,
Actually I am running on a PPC 64-bit platform.
root@b4860:~# gcc --version
gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@b4860:~# uname -a
Linux b4860 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #1 SMP Thu Sep 1 08:15:41 PDT 2016 ppc64 GNU/Linux
root@b4860:~# echo $LD_LIBRARY_PATH
root@b4860:~# source ./ld.sh
root@b4860:~# echo $LD_LIBRARY_PATH
/usr/lib64
root@b4860:~#
K-
From: Neel Pandeya [mailto:neel.pandeya@ettus.com]
Sent: Wednesday, September 28, 2016 4:20 PM
To: Unice, W. Kyle @ CSG - CSW
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] ENABLE_PERFORMANCE_COUNTERS Crash
Hello Kyle:
You're running on the E310, right? Where did you build GNU Radio, on the E310, or on the external host?
Could you post the output of the following:
gcc --version
uname -a
echo $LD_LIBRARY_PATH
--Neel Pandeya
On 28 September 2016 at 15:13, <kyle.unice@l-3com.com> wrote:
I compile GNU Radio with the –DENABLE_PERFORMANCE_COUNTERS=ON, edit the /etc/gnuradio/conf.d/gnuradio-runtime.conf file to enable 'ctrlport' etc. I bring up my graph and add the CtrlPort Performance Monitor and CtrlPort Monitor blocks to my graph and then run the graph.
I get a page fault in this code:
warning: Could not load shared library symbols for linux-vdso64.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/python -u /home/root/grc_tests/becdl.py '.
Program terminated with signal 11, Segmentation fault.
#0 0x00003fffafce7c80 in rpcbasic_register_get<gr::blocks::throttle, double>::rpcbasic_register_get (this=0x12c661f0, block_alias=...,
functionbase=<optimized out>, function=<optimized out>, min=..., max=...,
def=..., units_=0x3fffafd60a10 "Hz", desc_=0x3fffafd60a18 "Sample Rate",
minpriv_=RPC_PRIVLVL_MIN, display_=2049)
at /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/ppc64e6500-fsl-linux/gnuradio/3.7.10-r0/git/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h:1076
1076 /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/ppc64e6500-fsl-linux/gnuradio/3.7.10-r0/git/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h: No such file or directory.
(gdb)
Any ideas on what could be happending / done wrong ?
Thanks
W. Kyle Unice
Staff Engineer
MS F1H03
322 North 2200 West Dock 3
Salt Lake City, Utah 84116-0850
Voice: 801-594-2687
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
I also have such error, if there is a solution now, I am running win10 system and Gnuradio3.7, thanks
ReplyDelete----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\work_tools\GNURadio-3.7\Flow Graph\Wireless-communication-systems-Lab-master\Lab6\example3\ofdm_simulation.py", line 966, in
main()
File "C:\work_tools\GNURadio-3.7\Flow Graph\Wireless-communication-systems-Lab-master\Lab6\example3\ofdm_simulation.py", line 959, in main
(tb.blocks_ctrlport_monitor_performance_0).start()
File "C:\work_tools\GNURadio-3.7\lib\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
-------------------------------------------------------------------