|
From: | Sebastian Koslowski |
Subject: | Re: [Discuss-gnuradio] gnuradio companion Options block ID |
Date: | Wed, 15 Jun 2016 06:29:38 -0700 |
User-agent: | Type for Android |
Hey Wayne,
You are right, a check would be good. The same issue can occur for variable blocks.
Thanks,
Sebastian
Sent from BlueMail
Perhaps some little check should be put into gnuradio-companion to prevent the name conflict.This could happen if your working on OOT module, and put into ID of options block the same name as your OOT module. It gives you the error: AttributeError: 'module' object has no attribute 'foobar'It would seem that the ID entered into options block of gnuradio companion is used as the class name of the generated python script. (defaults to top_block)What if I put into ID field some name which could be same as some imported module.
But there is one source of trouble with that.
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |