[Twisted-Python] Question about Twistd and PYTHONPATH
matthew.reg at gmail.com
Wed Feb 20 01:44:53 EST 2008
I guess your Reporter class is in another module.
I ran into the same situation a few days ago and finally made it work like
from task import Task
On Feb 10, 2008 4:46 AM, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
> Hello Folks:
> This is my first time using twistd. I have daemonized
> a server by creating a TAC file. When I execute the
> server (first I ran it out of its development
> twistd -y server.tac
> I get:
> no module named Reporter (Reporter is a class)
> when I run a non-daemonized version of the same
> server, I have no problem.
> I checked my PYTHONPATH. It seems to be properly set.
> I tried setting the path using sys.path. No go.
> Is there embarassingly simple that I am missing? Is
> there something I should be overriding?
> Never miss a thing. Make Yahoo your home page.
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python