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/

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to