Re: self.set_history error for python custom block

2023-09-25 Thread Marcus Müller
Yep, most methods of classes are like that; you need to initialize the class first, then can work on its state :) That's why other programming languages than Python don't even give you that much freedom about when to call the superclass constructor. Anyway, I'm very glad you were able to fix

Re: self.set_history error for python custom block

2023-09-25 Thread Ivan Iudice
I found out to make it work! The problem was that set_history needs to be called after the constructor of the super class. Probably it needs to know first the input signature. You will be able to confirm me that. Thanks for help! Ivan > Il giorno 25 set 2023, alle ore 16:12, Marcus Müller >

Re: self.set_history error for python custom block

2023-09-25 Thread Marcus Müller
Python incompatibility can safely be ruled out; you wouldn't get far enough. Please share a minimal example of a block that triggers the behaviour. Best, Marcus On 25.09.23 15:49, Ivan Iudice wrote: Nobody knows where could be the problem? I thought an incompatibility between gnuradio and

Re: self.set_history error for python custom block

2023-09-25 Thread Ivan Iudice
Nobody knows where could be the problem?I thought an incompatibility between gnuradio and python versions.Regards.IvanIl giorno 21 set 2023, alle ore 18:13, Ivan Iudice ha scritto:Dear Jeff,thank you for answer.My code does exactly the same things.Regards.IvanIl giorno 21 set 2023, alle ore

QT GUI buttons not updating

2023-09-25 Thread Martin Hübner
Hello Guys, I've a question concerning the gui-push-msg-button in conjunction with the gui-chooser. If I understood it right, the chooser will set a variable called like its ID with the value I've chosen. In my flowgraph, I then try to read that variable and pack it into a message, whenever