[PyKDE] eric3 - stability problem

Andrew Bushnell awb at fluent.com
Fri Jun 4 15:44:01 BST 2004

That is interesting, I have noticed similar "hangs" in eric on Windows 
systems. Both on Windows 2000 and Windows XP. What I have been able to 
figure out is that it will only occur if you are debugging a script. 
that script triggers a breakpoint. The script you are debugging is at 
this point not in the QT event loop. Now you click in Eric to set focus 
to a source editor window. At this point your windows system is "hung". 
The reason is that Windows has sent a message (excactly which I have 
been fighting Spy to figure out) to your script's application and is 
waiting for a response. But since your script is not in the event loop, 
  windows is hung waiting..  This does only happen with Eric only occurs 
when clicking in the edit area of the editor. If you click in the tab of 
the editor (assuming you are using the tab workspace) or other parts of 
eric, the problem does not occur. Nor does it occur while the script is 
active (i.e. not paused on a breakpoint).

Still trying to get my head around what the issue is, but have not been 
able to nail it down. I have not determined if it is Qt, Scintilla, 
QScintilla, or Eric.

Any ideas?

Dean Nicholls wrote:

> Hi all
> I have been having very similar problems to what Dave is describing.
> I am running Gentoo (latest) on a Sony Vaio, with the latest versions of SIP, 
> PyQT, QScintilla and Eric. My version of python is 2.3.3. However I have been 
> having the same problems with earlier versions.
> The symptoms are that I can use Eric to write a script. I will generally be 
> using the debugger, and the problem occurs when I click on the script edit 
> Window to return the focus after looking at a telnet session to the machine 
> that the script has been talking to.
> My problem is worse than Daves - the machine will shoot to 100% CPU  and lock 
> me out. I can move the mouse pointer around, but there is no keyboard 
> interaction and I have to hard reset the machine.
> This happens about every one to two hours and is very annoying. It only 
> happens whenEric regains the focus. It wont happen once I have started using 
> Eric, only when it first gains focus. However I can go for a day or two 
> before it happens again.
> I have remerged all components as Dave has done, but have not rememerged 
> Python. I am not having these sort of issues with any other QT or python 
> based software - just Eric.
> In a completely unrealted issue is Eric working on Mac OSX, or does it still 
> have the edit move of death problem?
> Any help would be greatly appreciated as an unfortunate side effect of the 
> hard reset is the srewing up of my latest mail messages on my Imap kmail - 
> but that's a problem for another list....
> Cheers
> Dean.
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Andrew Bushnell
Senior Development Engineer
Fluent Inc.
10 Cavendish Court
Centerra Resource Park
Lebanon, NH  03766
awb at fluent.com
Phone: 603-643-2600, ext. 757
Fax: 603-643-1721

More information about the PyQt mailing list