Re: [PyKDE] Segault > Bug in pyQT? (Or stupid me?) > solved

2006-01-24 Thread Michael Zimmermann
Phil Thompson wrote: I would suggest making the QDockWindow a child of the QMainWindow, ie... partsDock = QDockWindow(self) well, this was the issue at hand. With QDockWindow(self) the app exits as expected without deleting any QDockWindow instances manually. Thanks for the feedback

Re: [PyKDE] Segault > Bug in pyQT? (Or stupid me?) > solved

2006-01-20 Thread Michael Zimmermann
Phil Thompson wrote: No, sorry, there aren't enough clues in the backtrace to suggest a particular problem. You need to simplify your code to narrow it down. Hi Phil, it took me a while to reduce the problem down to something manageable (see attached file). What I found out is the folllow

Re: [PyKDE] Eric3: Bug and RFE

2006-01-17 Thread Michael Zimmermann
Detlev Offenbach wrote: Furthermore would it be possible to add support for events in the documentation module? Grepping through the code I found references to @signal, @exception(@raise, @throws) and a bunch of other. @event might be usefull to notify that a certain class or method emits certa

Re: [PyKDE] Segault > Bug in pyQT? (Or stupid me?)

2006-01-17 Thread Michael Zimmermann
Phil Thompson wrote: No, I mean the gdb backtrace. Sorry! First time I used gdb so far here we go: #0 0x080885e2 in _Py_ForgetReference (op=0xb61131ec) at Objects/object.c:1847 #1 0x08088655 in _Py_Dealloc (op=0xb61131ec) at Objects/object.c:1868 #2 0x081271db in meth_dealloc (m=0xb5c

Re: [PyKDE] Segault > Bug in pyQT? (Or stupid me?)

2006-01-17 Thread Michael Zimmermann
Phil Thompson wrote: Hi Phil, At the very least you need to post the backtrace, ie. the call stack at the point of the segfault. well, with backtrace you mean the python backtrace, I guess. I would have sent it if there actually would be one. What I get is as follows (the debug messages ar

[PyKDE] Segault > Bug in pyQT? (Or stupid me?)

2006-01-17 Thread Michael Zimmermann
Hi there, in a multithreaded application we are currently struggling with segfaults at application exit. The segfaults occur after the qApp.exec_loop() finishes. Below is the gdb trace done with a complete debug environment. In the application threads (subclassed from QThread; no python thre

[PyKDE] Eric3: Bug and RFE

2006-01-16 Thread Michael Zimmermann
Hi Detlev, there seems to be a tiny bug in the Projects > show > Code Metrics functionality. This method does not test the existance of the files provided by the project tree in eric3. If the file does not exist (e. g. deleted via svn or from the command) I do get an exception (file not found

[PyKDE] Strange thread problems

2006-01-13 Thread Michael Zimmermann
Hi there, currently I am struggling with some weird thread related issues. a) Segfaults b) Application freezes For an application we fetch a tree structure via network connection. For each subtree a separate worker thread is started. These items fetched are communicated to the gui using QCust

Re: [PyKDE] Deployment on Windows? > license compatible

2005-12-07 Thread Michael Zimmermann
Ulli, thank you very much for this exhaustive answer. Coming from the world of linux and open-source sometimes I find it difficult to wrap my head around the concepts of licensing issues and code protection! If you think, you miss something in the documentation of VendorID (I'm sure you have

Re: [PyKDE] Deployment on Windows? > license compatible

2005-12-06 Thread Michael Zimmermann
Ulrich Berning wrote: Hi Ulrich, after being busy with other issues on my dsks for some weeks it is time to come back to our deployment issue on Windows... Sorry, for bothering you again :-) Compiling the pyqt modules statically into a python interpreter results in a generic interpreter,

Re: [PyKDE] Deployment on Windows? > license compatible

2005-11-19 Thread Michael Zimmermann
Hi Uli, > Compiling the pyqt modules statically into a python interpreter results > in a generic interpreter, that can run any python script. This > interpreter still violates Trolltech's commercial license agreement. > The idea of the VendorID package is to create a specialized interpreter > bina

Re: [PyKDE] Deployment on Windows? > license compatible

2005-11-18 Thread Michael Zimmermann
Hi Uli, > Take a look at the VendorID package > (www.riverbankcomputing.co.uk/vendorid). This may be exactly what you > are searching for. yes and no :-() If I read the information on the website correctly, I can restrict the import of modules to certain executable files (how to do this for our

[PyKDE] Deployment on Windows? > license compatible

2005-11-18 Thread Michael Zimmermann
Hi there, currently we use pyQT for a research project. In this project we use python, pyqt and qt to generate applications on the client side of a client-server architecture. Basically, two different types of clients can be distinguished: - standalone clients - clients that are controlled (s

Re: [PyKDE] Moving items in QListView up / down > How?

2005-05-30 Thread Michael Zimmermann
Michael Zimmermann wrote: just stumbled into the following problem. And try as I might I can't find a reason for the errors I get. Anyone willing to help? Call me stupid! If you try to use the methods of QListView, but have a QListBox object you will run into problems! My fault. Tim

[PyKDE] Moving items in QListView up / down > How?

2005-05-30 Thread Michael Zimmermann
Hi there, just stumbled into the following problem. And try as I might I can't find a reason for the errors I get. Anyone willing to help? In a QListView I have a set of entries. Now I want to allow the user to sort (reorder) these entries. What I did was as follows: 1) In the class initia