im trying to run the ContactsServer at Ubuntu Intrepid (8.10). I've checkedout the sources and run the installation with "run -s", all went good, but after starting the server, there are much of missing modules? The PYTHONPATH is right:
/opt/ContactsServer/ContactsServer$ ./run -p
./run: line 545: type: krb5-config: not found
/opt/ContactsServer/ContactsServer:/opt/ContactsServer/PyXML-0.8.4/build/lib.linux-x86_64-2.5:/opt/ContactsServer/select26-0.1a3/build/lib.linux-x86_64-2.5:/opt/ContactsServer/Twisted:/opt/ContactsServer/vobject:/opt/ContactsServer/pydirector-1.0.0/build/lib.linux-x86_64-2.5
What am I missing? Is the ContactsServer already running on Ubuntu? Are missing PATHVARIABLES? Or missing Python modules? I'm not so familiar with python, but the CalendarServer is working well as ubuntu packet.
The call ./run creates this exeptions:
./run
Building PyXML...
./run: line 545: type: krb5-config: not found
Building select26...
/usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
Building PyDirector...
Using python as Python
Starting server...
exec python /opt/ContactsServer/Twisted/bin/twistd -n carddav -f /opt/ContactsServer/ContactsServer/conf/carddavd-dev.plist -o ProcessType=Combined
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 151, in getCache
provider = pluginModule.load()
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 378, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 614, in moduleLoader
return self._moduleLoader(modname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 361, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/python2.5/site-packages/twisted/plugins/caldav.py", line 1, in <module>
from twistedcaldav.tap import CalDAVServiceMaker
exceptions.ImportError: No module named tap
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 151, in getCache
provider = pluginModule.load()
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 378, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 614, in moduleLoader
return self._moduleLoader(modname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 361, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/python2.5/site-packages/twisted/plugins/cred_anonymous.py", line 14, in <module>
from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 151, in getCache
provider = pluginModule.load()
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 378, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 614, in moduleLoader
return self._moduleLoader(modname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 361, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/python2.5/site-packages/twisted/plugins/cred_file.py", line 16, in <module>
from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 151, in getCache
provider = pluginModule.load()
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 378, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 614, in moduleLoader
return self._moduleLoader(modname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 361, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/python2.5/site-packages/twisted/plugins/cred_memory.py", line 13, in <module>
from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 151, in getCache
provider = pluginModule.load()
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 378, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/opt/ContactsServer/Twisted/twisted/python/modules.py", line 614, in moduleLoader
return self._moduleLoader(modname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 361, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/python2.5/site-packages/twisted/plugins/cred_unix.py", line 13, in <module>
from twisted.cred.strcred import ICheckerFactory
exceptions.ImportError: No module named strcred
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 364, in subCommands
for plug in plugins:
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 186, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File "/opt/ContactsServer/Twisted/twisted/plugin.py", line 165, in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
File "/opt/ContactsServer/Twisted/twisted/python/filepath.py", line 529, in setContent
sib.open('w').write(content)
File "/opt/ContactsServer/Twisted/twisted/python/filepath.py", line 373, in open
return open(self.path, mode+'b')
exceptions.IOError: [Errno 13] Permission denied: '/usr/lib/python2.5/site-packages/twisted/plugins/dropin.cache.new'
Traceback (most recent call last):
File "/opt/ContactsServer/Twisted/bin/twistd", line 21, in <module>
run()
File "/opt/ContactsServer/Twisted/twisted/scripts/twistd.py", line 27, in run
app.run(runApp, ServerOptions)
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 374, in run
config.parseOptions()
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 354, in parseOptions
usage.Options.parseOptions(self, options)
File "/opt/ContactsServer/Twisted/twisted/python/usage.py", line 184, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File "/opt/ContactsServer/Twisted/twisted/application/app.py", line 365, in subCommands
self.loadedPlugins[plug.tapname] = plug
File "/opt/ContactsServer/ContactsServer/twisted/plugins/carddav.py", line 13, in getProperty
return getattr(reflect.namedClass(self.serviceMakerClass), propname)
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 347, in namedObject
module = namedModule(string.join(classSplit[:-1], '.'))
File "/opt/ContactsServer/Twisted/twisted/python/reflect.py", line 335, in namedModule
topLevel = __import__(name)
File "/opt/ContactsServer/ContactsServer/addressbookserver/tap/carddav.py", line 58, in <module>
from twisted.web2.http import Request, RedirectResponse
File "/opt/ContactsServer/Twisted/twisted/web2/http.py", line 475, in <module>
components.registerAdapter(compat.makeOldRequestAdapter, iweb.IRequest, iweb.IOldRequest)
File "/opt/ContactsServer/Twisted/twisted/python/components.py", line 87, in registerAdapter
raise ValueError("an adapter (%s) was already registered." % (factory, ))
ValueError: an adapter (<function makeOldRequestAdapter at 0x17ee8c0>) was already registered.
anj2j@… originally submitted this as ticket:377
Hi,
im trying to run the ContactsServer at Ubuntu Intrepid (8.10). I've checkedout the sources and run the installation with "run -s", all went good, but after starting the server, there are much of missing modules? The PYTHONPATH is right:
What am I missing? Is the ContactsServer already running on Ubuntu? Are missing PATHVARIABLES? Or missing Python modules? I'm not so familiar with python, but the CalendarServer is working well as ubuntu packet.
The call ./run creates this exeptions:
best regards, aNj