<br><br><div><span class="gmail_quote">On 2/8/06, <b class="gmail_sendername">Jean-Paul Calderone</b> &lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 08 Feb 2006 16:37:21 -0200, Gustavo Rahal &lt;<a href="mailto:gustavo@grahal.net">gustavo@grahal.net</a>&gt; wrote:<br>&gt;Hi All<br>&gt;<br>&gt;<br>&gt;twistd -y app.py<br>&gt;<br>&gt;Traceback (most recent call last):
<br>&gt;&nbsp;&nbsp; File &quot;C:\Python24\Lib\site-packages\twisted\scripts\twistd.py&quot;, line 6, in<br>&gt;?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; from twisted.python import log, syslog<br>&gt;&nbsp;&nbsp; File &quot;C:\Python24\lib\site-packages\twisted\python\syslog.py&quot;, line 5, in
<br>&gt;?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; syslog = __import__('syslog')<br>&gt;ImportError: No module named syslog<br>&gt;<br>&gt;The module is there!<br><br>You're
using twisted/scripts/twistd.py somehow, which doesn't work on
Windows.&nbsp;&nbsp;You want to be using bin/twistd.&nbsp;&nbsp;The
Win32 installer should have added a &quot;Twisted Command Shell&quot; or
something similar to your start menu.&nbsp;&nbsp;Try running that, and
running twistd inside it.<br><br>twisted/python/syslog.py exists,
certainly, but it is trying to import syslog from the standard library,
which is not available on Win32.<br><br>Jean-Paul<br><br>_______________________________________________<br>Twisted-web mailing list<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br></blockquote></div>In
the python24 directory under windows, there is a twistd.bat in the
scripts directory. It works fine in windows, I haven't had any problems
with it. To get it to work from windows command line, just add
C:\Python24\scripts\ to your path under environment. From looking at
shortcut for twisted command prompt, looks like all it does is add that
directory to your path temporarily.<br>