discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] gnuradio companion Options block ID


From: Wayne Roberts
Subject: [Discuss-gnuradio] gnuradio companion Options block ID
Date: Tue, 14 Jun 2016 15:13:59 -0700

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)
But there is one source of trouble with that.
What if I put into ID field some name which could be same as some imported module.
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'
Perhaps some little check should be put into gnuradio-companion to prevent the name conflict.

reply via email to

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