Controlport error in GRC

Hi,
I am trying to run a GRC flow graph with control port probe and control
port monitor.
I get the following error in GRC:

Traceback (most recent call last):
File “/usr/local/bin/gr-ctrlport-monitor”, line 30, in
from gnuradio.ctrlport.IceRadioClient import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/ctrlport/IceRadioClient.py”,
line 27, in
from gnuradio.ctrlport import GNURadio
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/ctrlport/GNURadio/init.py”,
line 8, in
import gnuradio_ice
File “/usr/local/lib/python2.7/dist-packages/gnuradio_ice.py”, line
98,
in
_M_gnuradio.ctrlport.GNURadio._t_Knob =
IcePy.defineClass(’::GNURadio::Knob’, Knob, -1, (), False, False, None,
(),
())
TypeError: function takes exactly 7 arguments (9 given)

can anyone help me with the problem?
GNU Radio companion version: 3.7.4

Regards,
Saran

On Wed, Mar 12, 2014 at 6:26 AM, sarankumar [email protected] wrote:

line 27, in
TypeError: function takes exactly 7 arguments (9 given)

can anyone help me with the problem?
GNU Radio companion version: 3.7.4

Regards,
Saran

I have seen this problem using Ice 3.5.1 on my Ubuntu 12.04 machine
but not on 13.10. You should be able to use Ice 3.5.0, instead. It
might be related to using the wrong slice2cpp and slice2py from
another version of Ice.

Tom

hi,
I removed version Ice3.5.1 and built Ice 3.5.0. But now GRC cannot
detect
Ice:

from gnuradio.ctrlport.monitor import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/ctrlport/init.py”,
line 23, in
import Ice, IcePy
ImportError: No module named Ice

do I need to build PyBombs again for gnuradio to detect Ice?

regards,
Saran

On Wed, Mar 12, 2014 at 1:12 PM, sarankumar [email protected] wrote:

do I need to build PyBombs again for gnuradio to detect Ice?

regards,
Saran

Remove CMakeCache.txt from your build directory and rerun cmake with
the ICE_MANUAL_INSTALL_PATH set. Also make sure PYTHONPATH and
LD_LIBRARY_PATH are set properly to the location of the ICE 3.5.0
installation.

Tom

If you built GNU Radio under pybombs, you can also run
./pybombs rb gnuradio
this alias (rebuild) will blow away the build dir and re-run
cmake/make/install for you with the proper environment set up
don’t forget to rebuild everything that links against gnuradio
afterwards (any OOT modules you may have)
-Tim

Hi,

Thanks. Rebuilding Pybombs with Ice 3.5.0 helped.

Regards,
Saran