twisted does not update its plugin cache properly in jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nevow (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
python-axiom (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted (Debian) |
Fix Released
|
Unknown
|
|||
twisted (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned | ||
twisted-calendarserver (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-conch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-mail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-names (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-web (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-web2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
twisted-words (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Immediately after "apt-get install python-
glyph@jackalopi
/usr/lib/
import os, md5, sys
/usr/lib/
import sha
Traceback (most recent call last):
File "/usr/lib/
return self.getSynopsis() + '\n' + self.getUsage(
File "/usr/lib/
for (cmd, short, parser, desc) in self.subCommands:
File "/usr/lib/
for plug in plugins:
File "/usr/lib/
allDropins = getCache(package)
--- <exception caught here> ---
File "/usr/lib/
dropinPath.
File "/usr/lib/
f = sib.open('w')
File "/usr/lib/
return open(self.path, mode+'b')
exceptions.IOError: [Errno 13] Permission denied: '/usr/lib/
I think we've seen this bug before.
Changed in twisted (Debian): | |
status: | Unknown → Fix Released |
In case the origin of this bug isn't clear to someone who might be able to fix it, Twisted packages need a post-installation hook to generate the "dropin.cache" file. The hook is extremely simple, and it's documented here:
http:// twistedmatrix. com/projects/ core/documentat ion/howto/ plugin. html#auto3
In fact, there is already a debian/ python- twisted- core.postinst present in the source package in jaunty which appears to do the right thing. If I run this command as root, the error goes away. I can't figure out why it's not being run after installation.