NotImplementedError: Wrong number of arguments for overloade


#1

Hello,
I have installed gnuradio-3.1.3 on RHEL4 with i686 architecture.I have
loaded the firmware in the usrp.But whenever i try to run
./usrp_oscope.py i get the following error:
[root@localhost python]# ./usrp_test_loopback.py
Traceback (most recent call last):
File “./usrp_test_loopback.py”, line 65, in ?
main ()
File “./usrp_test_loopback.py”, line 58, in main
tb = build_graph ()
File “./usrp_test_loopback.py”, line 46, in build_graph
tb.connect (data_src, usrp_tx)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/top_block.py”, line
7 0, in connect
self._connect(points[i-1], points[i])
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/top_block.py”, line
7 6, in _connect
dst_block.basic_block(), dst_port)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runt
ime.py”, line 1469, in connect
return _gnuradio_swig_py_runtime.gr_top_block_sptr_connect(*args)
NotImplementedError: Wrong number of arguments for overloaded function
‘gr_top_b lock_sptr_connect’.
Possible C/C++ prototypes are:
connect(boost::shared_ptr< gr_top_block > *,gr_basic_block_sptr)
connect(boost::shared_ptr< gr_top_block >
*,gr_basic_block_sptr,int,gr_basic _block_sptr,int)

I really do not know what is wrong.Is this due to swig.I have installed
swig-1.3.36.

Kindly help me.
Thanks


#2

On Tue, Mar 31, 2009 at 5:23 AM, Jay K. removed_email_address@domain.invalid wrote:

I have installed gnuradio-3.1.3 on RHEL4 with i686 architecture.I have
loaded the firmware in the usrp.But whenever i try to run
./usrp_oscope.py i get the following error:

We have discovered a bug in usrp_oscope.py, but it may be unrelated to
what you are reporting. Once that is fixed, would you be able to use
the GNU Radio trunk software via Subversion to test if your problem
still exists?

Johnathan


#3

[root@localhost python]# ./usrp_test_loopback.py
Traceback (most recent call last):
File “./usrp_test_loopback.py”, line 65, in ?
main ()
File “./usrp_test_loopback.py”, line 58, in main
tb = build_graph ()
File “./usrp_test_loopback.py”, line 46, in build_graph
tb.connect (data_src, usrp_tx)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/top_block.py”, line
7 0, in connect
self._connect(points[i-1], points[i])
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/top_block.py”, line
7 6, in _connect
dst_block.basic_block(), dst_port)
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runt
ime.py”, line 1469, in connect
return _gnuradio_swig_py_runtime.gr_top_block_sptr_connect(*args)
NotImplementedError: Wrong number of arguments for overloaded function
‘gr_top_b lock_sptr_connect’.
Possible C/C++ prototypes are:
connect(boost::shared_ptr< gr_top_block > *,gr_basic_block_sptr)
connect(boost::shared_ptr< gr_top_block >
*,gr_basic_block_sptr,int,gr_basic _block_sptr,int)

I have the same error as above. Has anybody found a solution for this
problem. I have installed GNU-Radio 3.3 on Ubuntu and I have the problem
when I try to execute my fft_sink connected to my SSRP-source.

Any suggestion is welcome.

Johan