discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Incompatible function arguments


From: Marcus Müller
Subject: Re: Incompatible function arguments
Date: Mon, 31 Jul 2023 16:03:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

Hi Jim,

that reads as if `Receive.blocks.head` is not an instance of Head block, but the *type* (think as in "blueprint")!

Could you share your hier block's Python source code with us?

Best regards,
Marcus

On 31.07.23 15:40, Elmore's wrote:
I have created a flowgraph which has a hierarchical block called Receive. In the Receive block is a Head block.
 
The primary block has an OOT containing a callback in which I wish to call the reset() function in the Head block as follows:
 
        Receive.blocks.head.reset()
 
This call results in the following error:
        TypeError: reset(): incompatible function arguments. The following argument types are supported:
        1. (self: gnuradio.blocks_python.head) –> None
 
I’m confused since reset takes no arguments and I don’t understand the meaning of the argument types shown.
 
Jim

Virus-free.www.avg.com

reply via email to

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