[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Controlport error in GRC
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Controlport error in GRC |
Date: |
Wed, 12 Mar 2014 14:05:27 +0100 |
On Wed, Mar 12, 2014 at 1:12 PM, sarankumar <address@hidden> wrote:
> 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 <module>
> import Ice, IcePy
> ImportError: No module named Ice
>
> 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
> On Wed, Mar 12, 2014 at 5:46 PM, Tom Rondeau <address@hidden> wrote:
>>
>> On Wed, Mar 12, 2014 at 6:26 AM, sarankumar <address@hidden> wrote:
>> > 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 <module>
>> > from gnuradio.ctrlport.IceRadioClient import *
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/gnuradio/ctrlport/IceRadioClient.py",
>> > line 27, in <module>
>> > from gnuradio.ctrlport import GNURadio
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/gnuradio/ctrlport/GNURadio/__init__.py",
>> > line 8, in <module>
>> > import gnuradio_ice
>> > File "/usr/local/lib/python2.7/dist-packages/gnuradio_ice.py", line
>> > 98, in
>> > <module>
>> > _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
>>
>>
>> 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
>
>