[Bug 361865] Re: twisted does not update its plugin cache properly in jaunty

Tristan Seligmann mithrandi at mithrandi.net
Sat Aug 10 08:26:30 UTC 2013


This is  fixed upstream (in Debian) as of python-axiom 0.5.31-1, and I
believe all of the versions of the package currently in Ubuntu include
the fix.

** Changed in: python-axiom (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to twisted-mail in Ubuntu.
https://bugs.launchpad.net/bugs/361865

Title:
  twisted does not update its plugin cache properly in jaunty

Status in “nevow” package in Ubuntu:
  Fix Released
Status in “python-axiom” package in Ubuntu:
  Fix Released
Status in “twisted” package in Ubuntu:
  Fix Released
Status in “twisted-calendarserver” package in Ubuntu:
  New
Status in “twisted-conch” package in Ubuntu:
  Fix Released
Status in “twisted-mail” package in Ubuntu:
  Fix Released
Status in “twisted-names” package in Ubuntu:
  Fix Released
Status in “twisted-web” package in Ubuntu:
  Fix Released
Status in “twisted-web2” package in Ubuntu:
  Fix Released
Status in “twisted-words” package in Ubuntu:
  Fix Released
Status in “nevow” source package in Jaunty:
  Won't Fix
Status in “python-axiom” source package in Jaunty:
  Won't Fix
Status in “twisted” source package in Jaunty:
  Fix Released
Status in “twisted-calendarserver” source package in Jaunty:
  Won't Fix
Status in “twisted-conch” source package in Jaunty:
  Won't Fix
Status in “twisted-mail” source package in Jaunty:
  Won't Fix
Status in “twisted-names” source package in Jaunty:
  Won't Fix
Status in “twisted-web” source package in Jaunty:
  Won't Fix
Status in “twisted-web2” source package in Jaunty:
  Won't Fix
Status in “twisted-words” source package in Jaunty:
  Won't Fix
Status in “twisted” package in Debian:
  Fix Released

Bug description:
  Immediately after "apt-get install python-twisted-core":

  glyph at jackalopian:~$ twistd --help 2>error > /dev/null; cat error
  /usr/lib/python2.6/dist-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
    import os, md5, sys
  /usr/lib/python2.6/dist-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
    import sha
  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/twisted/python/usage.py", line 413, in __str__
      return self.getSynopsis() + '\n' + self.getUsage(width=None)
    File "/usr/lib/python2.6/dist-packages/twisted/python/usage.py", line 449, in getUsage
      for (cmd, short, parser, desc) in self.subCommands:
    File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 679, in subCommands
      for plug in plugins:
    File "/usr/lib/python2.6/dist-packages/twisted/plugin.py", line 200, in getPlugins
      allDropins = getCache(package)
  --- <exception caught here> ---
    File "/usr/lib/python2.6/dist-packages/twisted/plugin.py", line 179, in getCache
      dropinPath.setContent(pickle.dumps(dropinDotCache))
    File "/usr/lib/python2.6/dist-packages/twisted/python/filepath.py", line 623, in setContent
      f = sib.open('w')
    File "/usr/lib/python2.6/dist-packages/twisted/python/filepath.py", line 433, in open
      return open(self.path, mode+'b')
  exceptions.IOError: [Errno 13] Permission denied: '/usr/lib/python2.6/dist-packages/twisted/plugins/dropin.cache.new'

  I think we've seen this bug before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nevow/+bug/361865/+subscriptions




More information about the foundations-bugs mailing list