Forum: GNU Radio NotImplementedError: Wrong number of arguments for overloade

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jay K. (Guest)
on 2009-03-31 16:23
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
Johnathan C. (Guest)
on 2009-04-02 22:02
(Received via mailing list)
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
Johan M. (Guest)
on 2009-12-02 13:14
> [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
This topic is locked and can not be replied to.