[Twisted-Python] Newbie question, using Twisted with cygwin
So, I've installed Twisted using the Windows installer, using a plain vanilla Python 2.2 installation. I'm in cygwin, so I set up appropriate aliases: alias mktap='python c:/python22/lib/site-packages/twisted/scripts/mktap.py' alias twistd='python c:/python22/lib/site-packages/twisted/scripts/twistd.py' No errors occur during the installation. I run "mktap", specifying a port and a log file, and I get a "web.tap" file. Then I run twistd -f web.tap And I get .... nothing. No log file, no errors, no process running. Very very strange...
On Wed, Mar 26, 2003 at 04:48:41PM -0500, David P. Janes wrote:
So, I've installed Twisted using the Windows installer, using a plain vanilla Python 2.2 installation. I'm in cygwin, so I set up appropriate aliases:
alias mktap='python c:/python22/lib/site-packages/twisted/scripts/mktap.py' alias twistd='python c:/python22/lib/site-packages/twisted/scripts/twistd.py'
No errors occur during the installation.
I run "mktap", specifying a port and a log file, and I get a "web.tap" file. Then I run twistd -f web.tap
And I get .... nothing. No log file, no errors, no process running.
Very very strange...
Possibly very strange indeed... though allowances must be made when running on emulation layers ;) You might want to try running twistd with a couple extra options, --nodeamon and --spew. The output will hopefully let you track down the exact point of the problem, and give us a more informative report :) Jp -- It is practically impossible to teach good programming style to students that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. -- Dijkstra -- up 6 days, 23:59, 9 users, load average: 0.11, 0.04, 0.01
On Wed, 2003-03-26 at 13:48, David P. Janes wrote:
alias mktap='python c:/python22/lib/site-packages/twisted/scripts/mktap.py' alias twistd='python c:/python22/lib/site-packages/twisted/scripts/twistd.py'
This is wrong; you want to be running the scripts found in Twisted/bin, not the modules in twisted.scripts. I don't know where the windows installer puts those. -- The moon is waning crescent, 4.3% illuminated, 27.6 days old.
On 30 Mar 2003 16:04:51 -0800
Kevin Turner
On Wed, 2003-03-26 at 13:48, David P. Janes wrote:
alias mktap='python c:/python22/lib/site-packages/twisted/scripts/mktap.py' alias twistd='python c:/python22/lib/site-packages/twisted/scripts/twistd.py'
This is wrong; you want to be running the scripts found in Twisted/bin, not the modules in twisted.scripts. I don't know where the windows installer puts those.
C:\Python22\scripts\twistd.py etc. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
participants (4)
-
David P. Janes
-
Itamar Shtull-Trauring
-
Jp Calderone
-
Kevin Turner