Greetings, I'm just starting to familiarize myself with the calendar server and the twisted underpinnings and am reading through the twisted documentation. When I ran "twisted --help" I reveived the following:
[75-128-127-140:developer/darwin/calendarserver] mcockfi% twistd --help Traceback (most recent call last): File "/usr/bin/twistd", line 21, in <module> run() File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/application/app.py", line 374, in run config.parseOptions() File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/application/app.py", line 354, in parseOptions usage.Options.parseOptions(self, options) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/usage.py", line 177, in parseOptions self.__dispatch[optMangled](optMangled, arg) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/usage.py", line 337, in <lambda> fn = lambda name, value=None, m=method: m() File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/usage.py", line 141, in opt_help print self.__str__() File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/usage.py", line 373, in __str__ return self.getSynopsis() + '\n' + self.getUsage(width=None) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/usage.py", line 407, in getUsage for (cmd, short, parser, desc) in self.subCommands: File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/application/app.py", line 365, in subCommands self.loadedPlugins[plug.tapname] = plug File "/Users/mcockfi/Documents/Developer/Darwin/CalendarServer/twisted/plugins/cald av.py", line 9, in getProperty return getattr(reflect.namedClass(self.serviceMakerClass), propname) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/reflect.py", line 343, in namedObject module = namedModule(string.join(classSplit[:-1], '.')) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/tw isted/python/reflect.py", line 331, in namedModule topLevel = __import__(name) File "/Users/mcockfi/Documents/Developer/Darwin/CalendarServer/twistedcaldav/__init __.py", line 23, in <module> from twisted.web2.static import File, loadMimeTypes ImportError: No module named web2.static
I saw in SVN there has been some recent patching in this general area, unfortunately in my naïveté I¹m not sure if this is a problem or not. If not, forgive my intrusion.... This environment was checked out and built just prior to running the command in distress(?), not sure what other information might be relevant. Regards, Mark
participants (1)
-
Mark Cockfield