discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)
Date: Thu, 17 Jan 2008 13:33:47 -0800
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]