On Sat Dec 1 19:12:01 CET 2007, Tiago Saboga wrote:
> If I understand that correctly, my Aux.mystring is pointing to the
> same object passed by QtCore.SIGNAL, which is being garbage-collected?
> But the reference in Aux.mystring should not be enough to keep the
> object around?
I think PyQt woul
On Sat, Dec 01, 2007 at 01:04:04AM +0100, David Boddie wrote:
> Something like that, yes. The internal character data becomes invalid, but
> there's still a reference to the QString object.
>
> Here's the original code posted by Tiago:
>
> > class Combobox(QtGui.QDialog):
> > def __init__(sel
On Fri Nov 30 18:56:04 CET 2007, Eric Brunson wrote:
> This comboboxsegfault.py doesn't seem to do anything on my box, but I
> did get an "MemoryError" and a stack trace when I ran cbox.py and
> changed the dropdown menu selection.
>
> I changed the line:
> Globals.changedtext = qstring
>
Tiago Saboga wrote:
> First, I just noticed I sent a non-working version of the code. The line
>
> print ("The same" if Aux.mystring==Aux.mystring2 else "Different")
>
> should be
>
> print ("The same" if Aux.mystring==Aux.compare else "Different")
>
> Sorry for that.
>
This comboboxsegfault.p
First, I just noticed I sent a non-working version of the code. The line
print ("The same" if Aux.mystring==Aux.mystring2 else "Different")
should be
print ("The same" if Aux.mystring==Aux.compare else "Different")
Sorry for that.
On Fri, Nov 30, 2007 at 01:13:39PM -, Alan Gauld wrote:
>
"Tiago Saboga" <[EMAIL PROTECTED]> wrote
> I am making a front-end to ffmpeg with pyqt and I am stuck in a
> segmentation fault I can't understand. I have written a little
> def main(args):
>app = QtGui.QApplication(args)
>win = Combobox()
>win.show()
>app.exec_()
>
>print typ
Hi!
I am making a front-end to ffmpeg with pyqt and I am stuck in a
segmentation fault I can't understand. I have written a little
dialogbox just to show the problem. I have already found a workaround,
commented out in the code, but I would like to know where is the
problem.
I am sending the pyui