Dear calendarserver-users,

I'm using calendarserver on my (t)rusty old iBook G4 running Mac OS X 10.5 
(ppc, of course). Up to now I was using the run script, but as that is not 
recommended for everyday use I'm trying to migrate to the "proper" caldavd.
So far, I did
setup.py build
setup.py install
as well as putting together a configuration file (essentially the same as I was 
using before but with some paths changed).

Now, doing
caldavd -f caldavd.plist
results in this:
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/twisted/scripts/twistd.py",
 line 27, in run
   app.run(runApp, ServerOptions)
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/application/app.py",
 line 374, in run
   config.parseOptions()
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/application/app.py",
 line 354, in parseOptions
   usage.Options.parseOptions(self, options)
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/python/usage.py",
 line 184, in parseOptions
   for (cmd, short, parser, doc) in self.subCommands:
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/application/app.py",
 line 365, in subCommands
   self.loadedPlugins[plug.tapname] = plug
 File "/Library/Python/2.5/site-packages/twisted/plugins/caldav.py", line 29, 
in getProperty
   return getattr(reflect.namedClass(self.serviceMakerClass), propname)
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/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/twisted/python/reflect.py",
 line 331, in namedModule
   topLevel = __import__(name)
 File "/Library/Python/2.5/site-packages/calendarserver/tap/__init__.py", line 
21, in <module>
   from calendarserver.tap import profiling # Pre-imported for side-effect
 File "/Library/Python/2.5/site-packages/calendarserver/tap/profiling.py", line 
19, in <module>
   from twisted.application.app import CProfileRunner, AppProfiler
ImportError: cannot import name CProfileRunner

Unfortunately, I'm not a python guy so I'm not sure what to make of this (and 
how to get rid of it). Any help would be greatly appreciated.

Leonard Kern.

P.S. The versions of python and twistd are:
Syrakus:CalendarServer kern$ python --version
Python 2.5.1
Syrakus:CalendarServer kern$ which python
/usr/bin/python
Syrakus:CalendarServer kern$ which twistd
/usr/bin/twistd
Syrakus:CalendarServer kern$ twistd --version
twistd (the Twisted daemon) 2.5.0
Copyright (c) 2001-2006 Twisted Matrix Laboratories.
See LICENSE for details.
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to