[PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread tuxor1337
Hi all, in one of my SIP files I have this line (a class constructor): MessageDialog(QMessageBox::Icon icon /TransferThis/, const QString title /TransferThis/, const QString text /TransferThis/, QMessageBox::StandardButtons buttons /TransferThis/ = QMessageBox::NoButton, QWidget

Re: [PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread Phil Thompson
On Tue, 01 May 2012 12:04:19 +0200, tuxor1...@web.de wrote: Hi all, in one of my SIP files I have this line (a class constructor): MessageDialog(QMessageBox::Icon icon /TransferThis/, const QString title /TransferThis/, const QString text /TransferThis/,

Re: [PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread tuxor1337
Thanks, that worked :) Now everything is running fine. You definitely need to remove all the /TransferThis/ except for the one on the parent argument. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com

[PyQt] Segmentation Fault in FileDialog

2011-12-04 Thread Ramiro Algozino
Hello!  I'm having an issue with a FileDialog, a getSaveFileName type in particullar. I get a Segmentation Fault when I accept the dialog if the file doesn't exist. When I overwrite an exisiting file the segmentation doesn't occur. This is happening in Fedora 16 (Gnome3) and I have an user

[PyQt] Segmentation fault with an application based on PyQt

2011-06-05 Thread André Sintzoff
Hello, I'm facing a weird issue with TortoiseHg application based on PyQt, QScintilla, sip and Qt. I'm not sure if it is a PyQt, or a QScintilla or a Qt issue. The following trace occurs on Mac OS X 10.6.7 with: Python 2.6.6 Qt 4.7.2 QScintilla 2.4.6 PyQt 4.8.3 sip 4.12.1 The versions are not

Re: [PyQt] Segmentation Fault(coredump) QFileSystemModel, QSortFilterProxyModel, QTreeView

2010-12-02 Thread Hans-Peter Jansen
On Thursday 02 December 2010, 18:37:33 Jean Dalmayrac wrote: Hi All, I'm having segmentation fault crash while using QFileSystemModel and QSortFilterProxyModel. I'm trying to do a little files manager that will latter fit into a bigger application. Everything is running normally, but after

[PyQt] Segmentation fault with QVariant in signal signature

2010-11-20 Thread Philip Lorenz
Hi, I have been experiencing issues when emitting a signal with a QVariant signature containing a Python object. The issue seems to stem from the Chimera::Storage::address() function which returns the data part of the QVariant even if the wrapped object used to be a QVariant itself. I have

Re: [PyQt] Segmentation fault with QVariant in signal signature

2010-11-20 Thread Phil Thompson
On Sat, 20 Nov 2010 14:13:29 +0100, Philip Lorenz lorenzph+...@in.tum.de wrote: Hi, I have been experiencing issues when emitting a signal with a QVariant signature containing a Python object. The issue seems to stem from the Chimera::Storage::address() function which returns the data part

[PyQt] Segmentation fault with QFileSystemModel

2010-11-11 Thread Gaëtan Podevijn
Hello, I am very very confused with my problem. When I launch a Python environment in a terminal, and I try to instanciate a QFileSystemModel, I have a segmentation fault: $ python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license

Re: [PyQt] Segmentation fault with QFileSystemModel

2010-11-11 Thread Dan Halbert
On 11/11/2010 3:22 PM, Gaëtan Podevijn wrote: When I launch a Python environment in a terminal, and I try to instanciate a QFileSystemModel, I have a segmentation fault: model = QFileSystemModel() model.setRootPath(QDir.homePath()) Segmentation fault However, and I really

Re: [PyQt] Segmentation fault with QFileSystemModel

2010-11-11 Thread Phil Thompson
On Thu, 11 Nov 2010 21:22:37 +0100, Gaëtan Podevijn gpode...@gmail.com wrote: Hello, I am very very confused with my problem. When I launch a Python environment in a terminal, and I try to instanciate a QFileSystemModel, I have a segmentation fault: $ python Python 2.6.6 (r266:84292,

[PyQt] Segmentation fault

2010-01-17 Thread hao yin
Hello, I've wrote a program in pyqt4, that should redirect the output of another program to a QTextEdit. Sometime the program crashes as soon as I start a thread executing the second program with subprocess.Popen(). I used gdb: (gdb) run TestThread.py Starting program: /usr/bin/python

Re: [PyQt] Segmentation fault

2010-01-17 Thread hao yin
Hello, I've wrote a program in pyqt4, that should redirect the output of another program to a QTextEdit. Sometime the program crashes as soon as I start a thread executing the second program with subprocess.Popen(). I used gdb: (gdb) run TestThread.py Starting program: /usr/bin/python

Re: [PyQt] Segmentation fault

2010-01-17 Thread Matt Smith
Hao I don't get a segmentation fault, I get a different error: QObject::connect: Cannot queue arguments of type 'QTextCursor' (Make sure 'QTextCursor' is registered using qRegisterMetaType().) But I would suggest using a QThread instead of a Threading.thread, and then you can connect them with

[PyQt] Segmentation fault in keyPressEvent

2009-09-17 Thread Mads Ipsen
The following script triggers a segmentation fault: import sys from PyQt4 import QtGui if __name__ == __main__: app = QtGui.QApplication(sys.argv) widget = QtGui.QWidget() widget.show() widget.keyPressEvent(None) sys.exit(app.exec_()) I believe it should generate an error.

Re: [PyQt] Segmentation fault in keyPressEvent

2009-09-17 Thread Phil Thompson
On Thu, 17 Sep 2009 21:45:41 +0200, Mads Ipsen m...@comxnet.dk wrote: The following script triggers a segmentation fault: import sys from PyQt4 import QtGui if __name__ == __main__: app = QtGui.QApplication(sys.argv) widget = QtGui.QWidget() widget.show()

[PyQt] Segmentation fault

2009-07-04 Thread tocapa
I have just installed the development snapshot of PyQt4 along with the most recent versions of Qt and SIP. I do not have much experience with any of this so I have just run the most basic program possible; it just creates a QApplication and runs exec_(). Every time it gives me a segmentation

Re: [PyQt] Segmentation fault

2009-07-04 Thread tocapa
Yes I do. I said that in the original post. Unless there's somehow an even newer version than the one that's on the website, I have the most recent version installed. Phil Thompson-5 wrote: On Sat, 4 Jul 2009 12:13:43 -0700 (PDT), tocapa toc...@gmail.com wrote: I have just installed the

Re: [PyQt] Segmentation fault

2009-07-04 Thread Phil Thompson
On Sat, 4 Jul 2009 13:59:45 -0700 (PDT), tocapa toc...@gmail.com wrote: Yes I do. I said that in the original post. Unless there's somehow an even newer version than the one that's on the website, I have the most recent version installed. But it hasn't been used to build the version of PyQt

Re: [PyQt] Segmentation fault

2009-07-04 Thread tocapa
Okay, works now. My mistake. Phil Thompson-5 wrote: On Sat, 4 Jul 2009 13:59:45 -0700 (PDT), tocapa toc...@gmail.com wrote: Yes I do. I said that in the original post. Unless there's somehow an even newer version than the one that's on the website, I have the most recent version

Re: [PyQt] Segmentation Fault working with QTextDocument/QTextEdit

2009-01-13 Thread Nahuel Defossé
El Tuesday 13 January 2009 17:11:48 Nahuel Defossé escribió: Hi I'm working on a text editor (still in very early development state). First, I tried to set my custom QTextDocument class (CodeDocument) each time a new file was opened but I always got a segementation fault. So I googled a bit

Re: [PyQt] Segmentation fault with addLayout

2008-08-18 Thread Filip Gruszczyński
Can you say which versions you have now? I have upgraded to the newest version of qt and it finally worked. Strangely, this version was masked, but the unmasked wasn't working right. Thanks everyone for their help, I really appreciate it. -- Filip Gruszczyński

Re: [PyQt] Segmentation fault with addLayout

2008-08-17 Thread Filip Gruszczyński
Could a SIP upgrade have broken it, do you think? I reinstalled sip, qscintilla, qt (3.x and 4.x) and PyQt (3.x, 4.x), but it didn't help. Any idea what other package, that PyQt depends on, might be broken? -- Filip Gruszczyński ___ PyQt mailing

Re: [PyQt] Segmentation fault with addLayout

2008-08-17 Thread David Boddie
On Sunday 17 August 2008, Filip Gruszczynski wrote: Could a SIP upgrade have broken it, do you think? I reinstalled sip, qscintilla, qt (3.x and 4.x) and PyQt (3.x, 4.x), but it didn't help. Any idea what other package, that PyQt depends on, might be broken? Can you say which versions you

[PyQt] Segmentation fault with addLayout

2008-08-16 Thread Filip Gruszczyński
Hello! I have following code: from PyQt4.QtGui import * from PyQt4.QtCore import * import sys class Editor(QWidget): def __init__(self, parent = None): QWidget.__init__(self, parent) self.setLayout(QVBoxLayout())

Re: [PyQt] Segmentation fault with QtGui.qt_x11_wait_for_window_manager

2008-07-22 Thread Phil Thompson
On Mon, 14 Jul 2008 06:47:59 -0700, Markos Gogoulos [EMAIL PROTECTED] wrote: qt_x11_wait_for_window_manager results in segfault when called with None as argument. import PyQt4.QtGui PyQt4.QtGui.qt_x11_wait_for_window_manager(None) Segmentation fault This was tested on ubuntu hardy with

[PyQt] Segmentation fault with QtGui.qt_x11_wait_for_window_manager

2008-07-14 Thread Markos Gogoulos
qt_x11_wait_for_window_manager results in segfault when called with None as argument. import PyQt4.QtGui PyQt4.QtGui.qt_x11_wait_for_window_manager(None) Segmentation fault This was tested on ubuntu hardy with the following: libqt4-core 4.3.4-0ubuntu3 libqt4-dev 4.3.4-0ubuntu3 python-qt4

[PyQt] Segmentation fault running eric4-4.1.5

2008-07-01 Thread duncan duncan
Hello After installing eric4 from source, I get this error: --- akira:~ eric4 Warning: translation file 'qt_it_IT'could not be loaded. Using default. Warning: translation file 'eric4_it_IT'could not be loaded. Using default. Warning: translation file 'qscintilla_it_IT'could not be

Re: [PyQt] Segmentation Fault

2007-11-29 Thread Giovanni Bajo
On 11/29/2007 12:03 PM, Fred wrote: I've got a difficult to track problem. I'm creating a game to learn PyQt and I'm sure I am missing something really, really obvious, but still: can't find it. I made a grid of tiles. Every tile is a graphicsItem on a scene. I've made a dictionary of tiles

Re: [PyQt] Segmentation Fault

2007-11-29 Thread Fred
I found the problem. Thank you for the reply. On Thursday 29 November 2007 19:56:57 Giovanni Bajo wrote: On 11/29/2007 12:03 PM, Fred wrote: I've got a difficult to track problem. I'm creating a game to learn PyQt and I'm sure I am missing something really, really obvious, but still: can't

Re: [PyQt] segmentation fault

2007-10-26 Thread Reinhard Thies
On Thursday, 25. October 2007, Hans-Peter Jansen wrote: Am Donnerstag, 25. Oktober 2007 21:59 schrieb Reinhard Thies: Hi all, i am new to PyQt an QT as well. I just downloaded and installed Qt 4.3.2 and PyQt 4.3.1 from source on my Debian based sidux machine. Everything configured and

Re: [PyQt] segmentation fault

2007-10-26 Thread alteo_gange
Le vendredi 26 octobre 2007, Reinhard Thies a écrit : Now I've installed the debian packages, but getting the following errors [EMAIL PROTECTED]:/usr/share/doc/python-qt4-doc/examples/script$ python2.4 ./helloscript.py Traceback (most recent call last): File ./helloscript.py, line 6, in ?

Re: [PyQt] segmentation fault

2007-10-26 Thread Hans-Peter Jansen
Am Freitag, 26. Oktober 2007 13:23 schrieb alteo_gange: Le vendredi 26 octobre 2007, Reinhard Thies a écrit : Now I've installed the debian packages, but getting the following errors [EMAIL PROTECTED]:/usr/share/doc/python-qt4-doc/examples/script$ python2.4 ./helloscript.py ^^^

Re: [PyQt] segmentation fault

2007-10-26 Thread Reinhard Thies
hm, after installing python2.5 it works, even if it still uses python2.4 ??-) I have no. idea. I must have messed up the system as iI installed PyQt4 manually. However it works now, even after uninstalling python2.5 thx Reinhard On Friday, 26. October 2007 13:50:48 Hans-Peter Jansen wrote:

[PyQt] segmentation fault

2007-10-25 Thread Reinhard Thies
Hi all, i am new to PyQt an QT as well. I just downloaded and installed Qt 4.3.2 and PyQt 4.3.1 from source on my Debian based sidux machine. Everything configured and compiled just fine. All qt examples are working but if I try the PyQt examples, I always get an segmentatin fault. Any ideas ?

Re: [PyQt] segmentation fault

2007-10-25 Thread Hans-Peter Jansen
Am Donnerstag, 25. Oktober 2007 21:59 schrieb Reinhard Thies: Hi all, i am new to PyQt an QT as well. I just downloaded and installed Qt 4.3.2 and PyQt 4.3.1 from source on my Debian based sidux machine. Everything configured and compiled just fine. All qt examples are working but if I try

Re: [PyQt] segmentation fault

2007-10-20 Thread Phil Thompson
On Saturday 20 October 2007, David Boddie wrote: On Friday 19 October 2007 08:12:54 +0200, lucaberto wrote: ? ? def file_information(self): ? ? ? ? val = self.treeWidget.currentItem() ? ? ? ? indice = self.treeWidget.indexFromItem(val, 0) in this instruction : indice =

Re: [PyQt] segmentation fault

2007-10-19 Thread David Boddie
On Friday 19 October 2007 08:12:54 +0200, lucaberto wrote: ? ? def file_information(self): ? ? ? ? val = self.treeWidget.currentItem() ? ? ? ? indice = self.treeWidget.indexFromItem(val, 0) in this instruction : indice = self.treeWidget.indexFromItem(val, 0) Can you tell

[PyQt] segmentation fault

2007-10-18 Thread [EMAIL PROTECTED]
Hello Again at all: i get segmentation fault and i can't debug in this script: class Form(QWidget, Ui_Form): Class documentation goes here. def __init__(self, parent = None): Constructor QWidget.__init__(self, parent) self.setupUi(self)

Re: [PyQt] segmentation fault

2007-10-18 Thread David Boddie
On Thursday 18 October 2007 11:17:36 +0200, lucaberto wrote: Hello Again at all: i get segmentation fault and i can't debug in this script: [...]     def file_information(self):         val = self.treeWidget.currentItem()         indice = self.treeWidget.indexFromItem(val, 0) in this

[PyQt] Segmentation fault using QThread

2007-09-16 Thread Flavio
Hi all, i'm getting a segmentation fault when using a QThread to run a background task. here is a minimal program reproducing my problem import sys, time from PyQt4 import QtGui, QtCore app = QtGui.QApplication(sys.argv) win = QtGui.QMainWindow() table = QtGui.QTextEdit()