[Twisted-Python] trac server error

2009-04-07 Thread Johann Borck
there seems to be some serious problem with http://twistedmatrix.com/trac/ this is what the browser shows me on about one third of the requests: Traceback (most recent call last): File "/srv/trac/.local/lib/python2.4/site-packages/trac/web/api.py", line 382, in send_error 'text/html') File

[Twisted-Python] RE: Question about Descriptors and SelectReactor

2009-04-07 Thread Andrew Francis
Hi Alec and Drew: Thanks for answering my question. From reading an excerpt of Steven's "UNIX Network Programming," it implies that the FD_SETSIZE is defined in the kernel. If you want a bigger FD_SETSIZE, you need to recompile the kernel. At least that is the case in BSD 4.4 UNIX. However I

[Twisted-Python] Can't quit a Tkinter application on MacOS X when using Twisted; fix? workaround?

2009-04-07 Thread Russell E. Owen
I am trying to convert a cross-platform Python/Tkinter application to use Twisted and have run into a problem: at least on MacOS X I can no longer quit the application. I have appended a minimal script showing the problem. This is probably not an issue on unix and WIndows because I find I have

RE: [Twisted-Python] RE: Question about Descriptors and SelectReactor

2009-04-07 Thread Alec Matusis
> However I am using Linux. The Twisted documentation is recommending > that it may be better to use pollreactor I would be actually quite curious to know the rationale of choosing select() over epoll() these days. epoll() scales like O(1) with the number of file descriptors, it is very performant

RE: [Twisted-Python] RE: Question about Descriptors and SelectReactor

2009-04-07 Thread glyph
On 7 Apr, 06:17 pm, matu...@yahoo.com wrote: However I am using Linux. The Twisted documentation is recommending that it may be better to use pollreactor I would be actually quite curious to know the rationale of choosing select() over epoll() these days. epoll() scales like O(1) with the nu