Closed macosforgebot closed 14 years ago
guy@… originally submitted this as ticket:360
Rev: 4957..
Using carddavd-test.plist
Using python as Python
Starting server... exec python /root/Twisted/bin/twistd -n carddav -f /root/ContactServer2/conf/carddavd-dev.plist -o ProcessType=Combined Traceback (most recent call last):
File "/root/Twisted/bin/twistd", line 21, in <module> run() File "/root/Twisted/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/root/Twisted/twisted/application/app.py", line 374, in run config.parseOptions() File "/root/Twisted/twisted/application/app.py", line 354, in parseOptions usage.Options.parseOptions(self, options) File "/root/Twisted/twisted/python/usage.py", line 184, in parseOptions for (cmd, short, parser, doc) in self.subCommands: File "/root/Twisted/twisted/application/app.py", line 365, in subCommands self.loadedPlugins[plug.tapname] = plug File "/root/ContactServer2/twisted/plugins/carddav.py", line 13, in getProperty return getattr(reflect.namedClass(self.serviceMakerClass), propname) File "/root/Twisted/twisted/python/reflect.py", line 347, in namedObject module = namedModule(string.join(classSplit[:-1], '.')) File "/root/Twisted/twisted/python/reflect.py", line 335, in namedModule topLevel = import(name) File "/root/ContactServer2/addressbookserver/tap/carddav.py", line 71, in <module> from twistedcaldav.resource import CalDAVResource File "/root/ContactServer2/twistedcaldav/resource.py", line 42, in <module> from twisted.web2.dav.idav import IDAVPrincipalCollectionResource
File "/root/Twisted/bin/twistd", line 21, in <module>
run()
File "/root/Twisted/twisted/scripts/twistd.py", line 27, in run
app.run(runApp, ServerOptions)
File "/root/Twisted/twisted/application/app.py", line 374, in run
config.parseOptions()
File "/root/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/root/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/root/Twisted/twisted/application/app.py", line 365, in subCommands
self.loadedPlugins[plug.tapname] = plug
File "/root/ContactServer2/twisted/plugins/carddav.py", line 13, in getProperty
return getattr(reflect.namedClass(self.serviceMakerClass), propname)
File "/root/Twisted/twisted/python/reflect.py", line 347, in namedObject
module = namedModule(string.join(classSplit[:-1], '.'))
File "/root/Twisted/twisted/python/reflect.py", line 335, in namedModule
topLevel = import(name)
File "/root/ContactServer2/addressbookserver/tap/carddav.py", line 71, in <module>
from twistedcaldav.resource import CalDAVResource
File "/root/ContactServer2/twistedcaldav/resource.py", line 42, in <module>
from twisted.web2.dav.idav import IDAVPrincipalCollectionResource
ImportError: cannot import name IDAVPrincipalCollectionResource
alexis@… originally submitted this as comment:1:ticket:360
This is a dup of ticket #358.
alexis@… originally submitted this as comment:2:ticket:360
@wsanchez originally submitted this as comment:3:ticket:360
guy@… originally submitted this as ticket:360
Rev: 4957..
Using carddavd-test.plist
./run
Using python as Python
Starting server... exec python /root/Twisted/bin/twistd -n carddav -f /root/ContactServer2/conf/carddavd-dev.plist -o ProcessType=Combined Traceback (most recent call last):
ImportError: cannot import name IDAVPrincipalCollectionResource