|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] ColtrolPort IC Timeout |
Date: | Fri, 23 May 2014 11:26:09 -0400 |
I have a gui-less flowgraph that runs in the background with sudo privileges. While I can run ControlPort normally from GRC, it doesn't seem to work properly with my backgrounded FG - I get timeout errors. My config files are setup so that both FGs do actually call ControlPort and Perf Mon (verified in log files). The FG and the monitoring apps are all running on the same PC.Setup is Ubuntu 12.04 x64 with GR 3.7.4, built on the weekend.Attempting to run Perf Mon, I get:$ gr-perf-monitorx 127.0.0.1 23456
2014-05-22 11:01:54.450720 /usr/bin/gr-perf-monitorx: error: Traceback (most recent call last):File "/usr/lib/pymodules/python2.7/Ice.py", line 984, in mainstatus = self.doMain(args, initData)File "/usr/lib/pymodules/python2.7/Ice.py", line 1031, in doMainreturn self.run(args)File "/usr/lib/python2.7/dist-packages/gnuradio/ctrlport/IceRadioClient.py", line 102, in runex = self.parentClass(radio, port, self)File "/usr/bin/gr-perf-monitorx", line 74, in __init__self.newCon(radio, port)File "/usr/bin/gr-perf-monitorx", line 88, in newConchild = MForm(radio, port, len(self.conns), self)File "/usr/bin/gr-perf-monitorx", line 696, in __init__knobs = self.radio.get([])File "/usr/lib/python2.7/dist-packages/gnuradio_ice.py", line 1221, in getreturn _M_gnuradio.ctrlport.GNURadio.ControlPort._op_get.invoke(self, ((knobs, ), _ctx))ConnectTimeoutException: exception ::Ice::ConnectTimeoutException{}Attempting to run Ctrl Port Mon, I get:A blank canvas screen like this: http://i.imgur.com/8N88fcU.pngand console output like:$ gr-ctrlport-monitor 127.0.0.1 23456X Error: BadAccess (attempt to access private resource denied) 10Extension: 129 (MIT-SHM)Minor opcode: 1 (X_ShmAttach)Resource id: 0x4200001X Error: BadShmSeg (invalid shared segment parameter) 128Extension: 129 (MIT-SHM)Minor opcode: 5 (X_ShmCreatePixmap)Resource id: 0x4200012X Error: BadDrawable (invalid Pixmap or Window parameter) 9Major opcode: 62 (X_CopyArea)Resource id: 0x4200013X Error: BadDrawable (invalid Pixmap or Window parameter) 9Major opcode: 62 (X_CopyArea)Resource id: 0x4200013ctrlport-monitor: radio.get threw exception (exception ::Ice::ConnectTimeoutException{})....
My ctrlport.conf file has just one uncommented line:ControlPort.Endpoints = tcp -t 5000 -h 127.0.0.1 -p 23456I had extended the timeout, attempting to resolve the problem, but had no luck.Very Respectfully,
Dan CaJacob
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |