#328: can't find twisted.cred.strcred ---------------------------------+------------------------------------------ Reporter: macosforge@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | ---------------------------------+------------------------------------------ Running either './run' or './test twistedcaldav.static', I get: Starting server... exec python /home/arnouten/dev/calendaring/Twisted/bin/twistd -n caldav -f /home/arnouten/dev/calendaring/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined Traceback (most recent call last): File "/home/arnouten/dev/calendaring/Twisted/twisted/application/app.py", line 354, in parseOptions usage.Options.parseOptions(self, options) File "/home/arnouten/dev/calendaring/Twisted/twisted/python/usage.py", line 184, in parseOptions for (cmd, short, parser, doc) in self.subCommands: File "/home/arnouten/dev/calendaring/Twisted/twisted/application/app.py", line 364, in subCommands for plug in plugins: File "/home/arnouten/dev/calendaring/Twisted/twisted/plugin.py", line 186, in getPlugins allDropins = getCache(package) --- <exception caught here> --- File "/home/arnouten/dev/calendaring/Twisted/twisted/plugin.py", line 151, in getCache provider = pluginModule.load() File "/home/arnouten/dev/calendaring/Twisted/twisted/python/modules.py", line 378, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/home/arnouten/dev/calendaring/Twisted/twisted/python/modules.py", line 614, in moduleLoader return self._moduleLoader(modname) File "/home/arnouten/dev/calendaring/Twisted/twisted/python/reflect.py", line 361, in namedAny topLevelPackage = __import__(trialname) File "/usr/share/pyshared/twisted/plugins/cred_anonymous.py", line 14, in <module> from twisted.cred.strcred import ICheckerFactory exceptions.ImportError: No module named strcred Interesting thing is that the lowest entry in the stack is "/usr/share/pyshared/twisted/plugins/cred_anonymous.py", and "/usr/share/pyshared/twisted/cred/strcred.py" actually exists. -- Ticket URL: <http://trac.calendarserver.org/ticket/328> CalendarServer </> HTTP/WebDAV/CalDAV Server