[Twisted-web] twistd and web2 weirdness
Phil Christensen
phil at bubblehouse.org
Tue Jul 24 13:15:17 EDT 2007
On Jul 24, 2007, at 1:12 PM, Phil Christensen wrote:
> On Jul 24, 2007, at 1:08 PM, Phil Christensen wrote:
>
>> On Jul 24, 2007, at 12:18 PM, L. Daniel Burr wrote:
>>> Bzzzt! Owie! Don't do that. The topmost package in the twisted
>>> codebase is named "twisted". You've shadowed that package with a
>>> module of your own.
>>>
>>> Try renaming your file to something else, and I'll bet things
>>> start working for you.
>>
>> Thanks for the fast reply, but unfortunately that's not the
>> problem. 'twisted.py' was just the example minimum file i was
>> using to describe the problem, although I clearly should have used
>> something else.
>>
>> Also, I'm pretty sure twistd's -y param simply loads this as a
>> file (hence the ability to name it with a .tac file).
>
> Ah, but you meant that if the current directory is in my path, this
> would clobber the twisted package. Sorry about that. Fortunately,
> it's neither named 'twisted' or in my path ;-).
Ah, but a leftover twisted.pyc file is!
Thanks so much, Daniel! Strange things are no longer afoot at the
Circle K.
-phil
More information about the Twisted-web
mailing list