First: THANKS for reacting so friendly and civilized :)<br><br>Cliff<br>&gt; Have you tried the finger tutorial.<br><br>Sure. When I say, I DID read what&#39;s available, then I did. Otherwise I wouldn&#39;t dare to complain.<br>
<br><br>Thomas Hervé &lt;<a href="mailto:therve@free.fr">therve@free.fr</a>&gt; wrote:<br><br>&gt; ...<br>&gt; &gt; - How about getting 1 version of pykqueue properly running and into TM ?<br>&gt; <br>&gt; The current one is grossly working, even though there are some <br>
 &gt; problems, and that the setup is not triavial. But a new reactor has <br> &gt; been developed, using Python 2.6 KQueue wrapper, and should be <br> &gt; available some day. See <a href="http://twistedmatrix.com/trac/ticket/1918">http://twistedmatrix.com/trac/ticket/1918</a> for <br>
 &gt; the progress on this field. Any tests and feedback would help this <br> &gt; going further.<br><br>Great. Thanks. PLEASE test it properly and prepare a reasonably conmplete readme at least.<br>And&nbsp;kindly see below for my current problems.<br>
<br><br><a href="mailto:mike@mkp.ca">mike@mkp.ca</a> wrote:<br><br>&gt; Feel better now?  ;-)<br>&gt; <br>&gt; I understand your pain.  Twisted is very much written by hackers for<br>&gt; hackers, with the old school practices of source and oral tradition in<br>
&gt; place of documentation.  It took me many attempts before I felt I was<br>&gt; competent, and I still can&#39;t do anything without constantly consulting<br>&gt; the source code.  I confess, I haven&#39;t bothered to look at the docs<br>
&gt; for years, and I suspect it is the same with the core Twisted<br>&gt; developers.<br>&gt; <br>&gt; Life is made easier by having a mentor who can look over your work and<br>&gt; point out misunderstandings and antipatterns.  I find the mailing list<br>
&gt; to be a mixed bag as a replacement.  Sometimes you get real gems from<br>&gt; Glyph and company, and sometimes you just get a hard time.  I&#39;d be<br>&gt; happy to help if I can, but any deep thinking will probably have to<br>
&gt; wait for weekends.  I&#39;m also a long time FreeBSD user and Python<br>&gt; developer.<br>&gt; <br>&gt; Hope you make it over the curve!<br><br>Thanks, Mike, for your friendly welcome.<br><br>Yes, I do understand that attitude. I love to have it, too. <br>
BUT: twisted is having and looking for sponsors, that is, twisted is - gladly ! - meant to be a product and not some hackers private delight (only).<br><br>You see, I argue for using twisted. Possibly some of us argue against other solutions and, worst case, they risk their ass doing so.<br>
Again, I share your attitude and i understand it so well. But, PLEASE, understand that I need to get sth. working, that some colleagues put a lot of trust, valuable trust, into twisted, even taking a risk. That should be seen and properly respnonded to, too.<br>
<br>I&#39;m not talking about script kiddies. I&#39;m talking about seasoned colleages with a (couple) dozend years in the job.<br>We don&#39;t need pampering, not even mentoring, practical and welcome as that might be. We need realiabilty and a _fair_ chance to find our ways in twisted. A reasonable starting point.<br>
<br>--------<br><br>Here&#39;s what I tried today:<br><br>Using py-kqueue (1.4) in FreeBSDs ports.<br> <br>&#39;twistd -r kqueue -no&nbsp;-f&nbsp;web.tap&#39;&nbsp;works&nbsp;fine.<br> &#39;twistd -r kqueue -f web tap&#39; breaks.<br><br>Next I checked, wether the changes proposed by IST where in version 1.4. Nope.<br>
So I edited them into the patch that comes with the port anyway (patch-kqsyscallmodule).<br>If anyone is interested, I&#39;ll post it.<br><br>Same as without, i.e. it works but it breaks if run as daemon.<br>Here&#39;s what I find in the log:<br>
<br>Log opened.<br>twistd 2.5.0 (/usr/local/bin/python2.5 2.5.2) starting up<br>reactor class: &lt;class &#39;twisted.internet.kqreactor.KQueueReactor&#39;&gt;<br>Loading web.tap...<br>Loaded.<br>Changing process name to test<br>
Log opened.<br>twistd 2.5.0 (/home/www/tm/ 2.5.2) starting up<br>reactor class: &lt;class &#39;twisted.internet.kqreactor.KQueueReactor&#39;&gt;<br>Loading web.tap...<br>Loaded.<br>twisted.web.server.Site starting on 80<br>
Starting factory &lt;twisted.web.server.Site instance at 0x85935ec&gt;<br>Traceback (most recent call last):<br>File &quot;/usr/local/bin/twistd&quot;, line 21, in &lt;module&gt;<br>  run()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/scripts/twistd.py&quot;, line 27, in run<br>
   app.run(runApp, ServerOptions)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/app.py&quot;, line 379, in run<br>  runApp(config)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/scripts/twistd.py&quot;, line 23, in runApp<br>
  _SomeApplicationRunner(config).run()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/app.py&quot;, line 158, in run<br>  self.postApplication()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py&quot;, line 213, in postApplication<br>
  startApplication(self.config, self.application)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py&quot;, line 174, in startApplication<br>  service.IService(application).privilegedStartService()<br>
File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/service.py&quot;, line 228, in privilegedStartService<br>  service.privilegedStartService()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/service.py&quot;, line 228, in privilegedStartService<br>
  service.privilegedStartService()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/internet.py&quot;, line 68, in privilegedStartService<br>  self._port = self._getPort()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/application/internet.py&quot;, line 86, in _getPort<br>
  return getattr(reactor, &#39;listen&#39;+self.method)(*self.args, **self.kwargs)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/internet/posixbase.py&quot;, line 467, in listenTCP<br>  p.startListening()<br>
File &quot;/usr/local/lib/python2.5/site-packages/twisted/internet/tcp.py&quot;, line 750, in startListening<br>  self.startReading()<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/internet/abstract.py&quot;, line 265, in startReading<br>
  self.reactor.addReader(self)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/internet/kqreactor.py&quot;, line 98, in addReader<br>  self._updateRegistration(fd, EVFILT_READ, EV_ADD)<br>File &quot;/usr/local/lib/python2.5/site-packages/twisted/internet/kqreactor.py&quot;, line 89, in _updateRegistration<br>
    kq.kevent([kevent(*args)], 0, 0)<br>OSError: [Errno 9] Bad file descriptor<br><br><br><br><br>