I guess your Reporter class is in another module.<br>I ran into the same situation a few days ago and finally made it work like this:<br><br>import sys<br>sys.path.append(&#39;.&#39;)<br><br>from task import Task<br><br>Matthew<br>
<br><div class="gmail_quote">On Feb 10, 2008 4:46 AM, Andrew Francis &lt;<a href="mailto:andrewfr_ice@yahoo.com">andrewfr_ice@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Folks:<br><br>This is my first time using twistd. I have daemonized<br>a server by creating a TAC file. When I execute the<br>server (first I ran it out of its development<br>directory),<br><br>twistd -y server.tac<br>
<br>I get:<br><br>no module named Reporter (Reporter is a class)<br><br>when I run a non-daemonized version of the same<br>server, I have no problem.<br><br>I checked my PYTHONPATH. It seems to be properly set.<br>I tried setting the path using sys.path. No go.<br>
<br>Is there embarassingly simple that I am missing? Is<br>there something I should be overriding?<br><br>Cheers,<br>Andrew<br><br><br><br> &nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>
Never miss a thing. &nbsp;Make Yahoo your home page.<br><a href="http://www.yahoo.com/r/hs" target="_blank">http://www.yahoo.com/r/hs</a><br><br>_______________________________________________<br>Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br>