On Fri, Nov 18, 2011 at 1:20 PM, André Selva <andrefse...@gmail.com> wrote:

> Hello!
>
> I was learning how to make a block, using the "how to make a block
> tutorial", and when I develop a little block for tests, I got the error
> message displayed below. The error occurred when i ran the python tests.
>
> ======================================================================
> ERROR: test_001_quad_ff (__main__.qa_rtdsp)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./qa_rtdsp.py", line 29, in setUp
>     self.fg = gr.flow_graph ()
> AttributeError: 'module' object has no attribute 'flow_graph'
>
> ======================================================================
>
> Also, it isn't clear for me exactly what files should I change to be able
> to compile the new block. If I make modifications only in the files listed
> on the tutorial, the make command indicate error in some other files. So,
> basically, I'm opening every file from the example and checking if they
> have any references to the block I develop. Is this the correct approach?
> Do I have to change all those files?
>
> --
> André F. B. Selva


What version are you running? The use of "flow_graph" has long been dead.

Make sure you have the latest version of howto-write-a-block and gnuradio (
http://gnuradio.org/redmine/projects/gnuradio/wiki/Download).

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

Reply via email to