Henning Hraban Ramm wrote:
> Am 2008-09-15 um 06:05 schrieb Stephen Waterbury:
>> I would counsel against using wxreactor as it is broken[1], and
>> the twisted developers are disinclined to try to fix it.
> 
> I can't find any answer to your bug report - what makes you think they  
> won't fix it - if it's a bug at all and not only a problem with your  
> program or installation?

I've been using both wxPython and twisted for a long time, and
I'm quite sure it's not a problem with my installation.  Also,
I discussed it with the twisted guys on #twisted before I sent
the message to the list.  You'll note that my message is not a
bug report, but rather asks if I should file a bug report.
There was no reply to my message, presumably because we had
already discussed it.

Did you try the example I gave there?  As you can see, part of
what I was doing was fixing the wxreactor tests so they would
work with the latest versions of wxPython.

>> I suggest using Uwe Schroeder's recipe[2] in the Python Cookbook,
>> which works fine.  (Pay no attention to the 2003 comment on the
>> recipe saying that it is no longer necessary because there is a
>> wxreactor -- wxreactor *is* broken.)
> 
> I used wxreactor last time back in 2006 on WinXP, at that time it  
> worked without problems.

Maybe it works on WinXP.  I did not try it there, only on Linux.

> The file was last changed two months ago, that doesn't look  
> unmaintained to me:
> http://twistedmatrix.com/trac/browser/trunk/twisted/internet/wxreactor.py

As Paul points out, from an inspection of the log messages (below),
nothing significant has been changed since 2006.  According to the 2006
log entry, it fixes the "modal GUI actions" problem, but in fact
the wxacceptance test hangs with the simple addition of a file
selection dialog, which is the example I referred to in my email.

Believe me, I would *love* for wxreactor to work, so if you can fix
it, I will thank you heartily.  (That is beyond my skill -- I only know
how to show that it's broken.  ;)

Steve

---------------------------------------

$ svn log wxreactor.py
------------------------------------------------------------------------
r24441 | thijs | 2008-07-29 16:13:54 -0400 (Tue, 29 Jul 2008) | 6 lines

Merge maintainer-email-2438: Get rid of references to maintainer email 
addresses from code.

Author: thijs
Reviewer: exarkun
Fixes: #2438

------------------------------------------------------------------------
r22742 | radix | 2008-03-04 16:36:22 -0500 (Tue, 04 Mar 2008) | 11 lines

Merge api-stability-removal-2847

Remove all "API Stability" markers, as they were causing more grief than 
good,
and we have a universally strict compatibility policy, so they have long
been irrelevent.

Author: radix
Reviewer: therve
Fixes #2847


------------------------------------------------------------------------
r19070 | exarkun | 2006-12-24 16:12:36 -0500 (Sun, 24 Dec 2006) | 25 lines

Merge wxreactor-1235+1574+1688

Author: itamar
Reviewer: exarkun
Fixes #1235
Fixes #1574
Fixes #1688

This fixes numerous problems with wxreactor:

   * startup and shutdown events are now supported
   * signal handlers will not be installed if installSignalHandlers=False
     is passed to run
   * a manual acceptance test has been added so the level of workingness
     of wxreactor can be examined

This also fixes the problem where modal GUI actions (displaying menus,
modal dialogs, resizing windows, etc) would block Twisted events from
being processed.  On Linux, Windows, and OS X Twisted events will now
be serviced in these cases.

Additionally, _threadedselect no longer creates daemon threads and
the wxdemo has been simplified by the removal of code which was only
in support of acceptance testing (which is now a separate program).
------------- 8< snip ------------------------------------------------


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to