discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-uhd swig troubles


From: Josh Blum
Subject: Re: [Discuss-gnuradio] gr-uhd swig troubles
Date: Wed, 20 Apr 2011 09:28:45 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8


On 04/20/2011 08:41 AM, Moritz Fischer wrote:
> On Wed, Apr 20, 2011 at 05:16:31PM +0200, Josh Blum wrote:
>> Whats your swig version?
> I'm on archlinux and I use swig 2.0.3-1 [1].
> 
>> The last time I encountered this, someone had
>> swig 2 and it was incorrectly parsing an enum to type 'str' (rather than
>> int). Whats this print?
>>
>> python -c "from gnuradio import uhd; print
>> type(uhd.io_type.COMPLEX_FLOAT32)"
> 
> as you guessed:
> 
> <type 'str'>
> 

What do other gnuradio enums give you?

python -c "from gnuradio import gr; print type(gr.GR_COS_WAVE)"

Can you create a gr.sig_source?

Just trying to narrow it down...

-Josh

> You do not possibly happen to have a solution somewhere? ;-)
> 
> Thanks so far, hopefully there's a simple fix :-)
> 
> All the best and happy hacking,
> Moritz
> 
> [1] http://www.archlinux.org/packages/extra/x86_64/swig/



reply via email to

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