discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC models in yaml format: Problem with enum opti


From: Ron Economos
Subject: Re: [Discuss-gnuradio] GRC models in yaml format: Problem with enum option_attributes
Date: Wed, 25 Sep 2019 11:10:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

In Python 3, you have to use // instead of / to have the divide result be an int.

Ron

On 9/25/19 11:03, Ruben Undheim wrote:
Hi,

While trying to convert gr-dab to gnuradio 3.8, I've stumbled upon
some problems with the GRC models.

I have option attributes like this:

https://github.com/andrmuel/gr-dab/blob/9bbaadfc159e1d493c9d9e3e4f11ac16550a1fa4/grc/dab_ofdm_demod.block.yml#L14

Then "vlensize" is used here:

https://github.com/andrmuel/gr-dab/blob/9bbaadfc159e1d493c9d9e3e4f11ac16550a1fa4/grc/dab_ofdm_demod.block.yml#L68

gnuradio-companion complains that it is not able to use vlensize as an
int, and it fails evaluating that expression.

It used to work with this .xml file:
https://github.com/andrmuel/gr-dab/blob/aeb8a6e2c9a000a3dcdb71500fc668534a12a1d2/grc/dab_ofdm_demod.xml#L33-L53

Any ideas how I can fix this?

Best regards
Ruben

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



reply via email to

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