[Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

Rutt, Benjamin Benjamin.Rutt at gs.com
Thu Jun 18 10:55:46 EDT 2009

Yes, I installed originally with distutils, i.e. 'python setup.py install --home=...'

-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com [mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of Jean-Paul Calderone
Sent: Wednesday, June 17, 2009 8:57 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

On Wed, 17 Jun 2009 14:37:01 -0700, Alex Clemesha <clemesha at gmail.com> wrote:
>On Wed, Jun 17, 2009 at 1:41 PM, Alex Clemesha<clemesha at gmail.com> wrote:
>> Hi,
>> Just type "sudo twistd" and the errors will go away.
>> (You may already know of this work-around)
>>  I agree with you that it would be nice for these to never show up in
>> the first place.
>> I looked at the ticket you mention, but it seems that the cleaner solution
>> would be to resolve these issues at install/upgrade time.
>Just to follow up on this a bit more, reading from here:
>in the section "Plugin Caching", there is this quote:
>[snip]... when installing or removing software which provides Twisted
>plugins, the site administrator should be sure the cache is
>regenerated. Well-behaved package managers for such software should
>take this task upon themselves, since it is trivially automatable.
>The way I read this, requiring the site admin to run "sudo twistd" to
>regenerate the cache file is a feature, not a bug.
>Twisted devs: is this the case?  Still maybe the install should do the
>"trivially automatable" bit?

The "package managers" referred to in that document are things like dpkg
and rpm which easily support running arbitrary code after installation.

It's rather difficult to automate with distutils, though (which is how
the original poster installed Twisted, I am assuming).  However, if
someone figures out how, a patch will be accepted happily. :)


Twisted-Python mailing list
Twisted-Python at twistedmatrix.com

More information about the Twisted-Python mailing list