Michael Dickens wrote:

> % python
> Python 2.5.1 (r251:54863, Jan  5 2008, 16:11:24)
> [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from gnuradio import gr
>>>> gr.firdes.hilbert(0)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_general.py",
> line 2837, in hilbert
>     return _gnuradio_swig_py_general.firdes_hilbert(*args)
> IndexError: Hilbert:  Must have odd number of taps
>>>>

We have a winner :-)

Just FYI, the above is what is supposed to happen, with the C++
exception being turned into a Python exception by swig and control
returned to the Python command line.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to