I'm trying to run the production daemon using the caldavd.plist as my config file but I'm getting this error in my log: 2011-04-29 05:24:41+0000 [-] [caldav_task] Traceback (most recent call last): 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 413, in fireEvent 2011-04-29 05:24:41+0000 [-] [caldav_task] DeferredList(beforeResults).addCallback(self._continueFiring) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 260, in addCallback 2011-04-29 05:24:41+0000 [-] [caldav_task] callbackKeywords=kw) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 249, in addCallbacks 2011-04-29 05:24:41+0000 [-] [caldav_task] self._runCallbacks() 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks 2011-04-29 05:24:41+0000 [-] [caldav_task] self.result = callback(self.result, *args, **kw) 2011-04-29 05:24:41+0000 [-] [caldav_task] --- <exception caught here> --- 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 426, in _continueFiring 2011-04-29 05:24:41+0000 [-] [caldav_task] callable(*args, **kwargs) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directorybackedaddressbook.py", line 90, in provisionDirectory 2011-04-29 05:24:41+0000 [-] [caldav_task] self.directory = directoryClass(params) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directory/opendirectorybacker.py", line 78, in __init__ 2011-04-29 05:24:41+0000 [-] [caldav_task] self._actuallyConfigure(**params) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directory/opendirectorybacker.py", line 130, in _actuallyConfigure 2011-04-29 05:24:41+0000 [-] [caldav_task] self.odModule = namedModule(config.OpenDirectoryModule) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/python/reflect.py", line 339, in namedModule 2011-04-29 05:24:41+0000 [-] [caldav_task] topLevel = __import__(name) 2011-04-29 05:24:41+0000 [-] [caldav_task] exceptions.ImportError: No module named opendirectory So I think the problem is that opendirectory is not available on linux(I saw someone opened ticket #211 with the same issue a while back) but since my config file says to use the xml directory service and not open directory, I figured that it would not try and import opendirectory. If that's not the case do I need to comment it out and rebuild or do I need to add something to the config file or...? Any help would be very much appreciated. Thanks, Ian
Hi, what version are you using ? With the trunk version, try to desactivate the wikiserver authentification, which is just for macos. Ian Kono-2 wrote:
I'm trying to run the production daemon using the caldavd.plist as my config file but I'm getting this error in my log:
2011-04-29 05:24:41+0000 [-] [caldav_task] Traceback (most recent call last): 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 413, in fireEvent 2011-04-29 05:24:41+0000 [-] [caldav_task] DeferredList(beforeResults).addCallback(self._continueFiring) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 260, in addCallback 2011-04-29 05:24:41+0000 [-] [caldav_task] callbackKeywords=kw) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 249, in addCallbacks 2011-04-29 05:24:41+0000 [-] [caldav_task] self._runCallbacks() 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks 2011-04-29 05:24:41+0000 [-] [caldav_task] self.result = callback(self.result, *args, **kw) 2011-04-29 05:24:41+0000 [-] [caldav_task] --- <exception caught here> --- 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 426, in _continueFiring 2011-04-29 05:24:41+0000 [-] [caldav_task] callable(*args, **kwargs) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directorybackedaddressbook.py", line 90, in provisionDirectory 2011-04-29 05:24:41+0000 [-] [caldav_task] self.directory = directoryClass(params) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directory/opendirectorybacker.py", line 78, in __init__ 2011-04-29 05:24:41+0000 [-] [caldav_task] self._actuallyConfigure(**params) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twistedcaldav/directory/opendirectorybacker.py", line 130, in _actuallyConfigure 2011-04-29 05:24:41+0000 [-] [caldav_task] self.odModule = namedModule(config.OpenDirectoryModule) 2011-04-29 05:24:41+0000 [-] [caldav_task] File "/usr/lib64/python2.6/site-packages/twisted/python/reflect.py", line 339, in namedModule 2011-04-29 05:24:41+0000 [-] [caldav_task] topLevel = __import__(name) 2011-04-29 05:24:41+0000 [-] [caldav_task] exceptions.ImportError: No module named opendirectory
So I think the problem is that opendirectory is not available on linux(I saw someone opened ticket #211 with the same issue a while back) but since my config file says to use the xml directory service and not open directory, I figured that it would not try and import opendirectory. If that's not the case do I need to comment it out and rebuild or do I need to add something to the config file or...?
Any help would be very much appreciated.
Thanks, Ian _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
-- View this message in context: http://old.nabble.com/Installing-and-running-on-Linux-tp31502969p31503402.ht... Sent from the Calendar Server - Users mailing list archive at Nabble.com.
On 04/29/2011 08:42 AM, Ian Kono wrote:
I'm trying to run the production daemon using the caldavd.plist as my config file but I'm getting this error in my log: <snip> 2011-04-29 05:24:41+0000 [-] [caldav_task] exceptions.ImportError: No module named opendirectory
So I think the problem is that opendirectory is not available on linux(I saw someone opened ticket #211 with the same issue a while back) but since my config file says to use the xml directory service and not open directory, I figured that it would not try and import opendirectory. If that's not the case do I need to comment it out and rebuild or do I need to add something to the config file or...?
OpenDirectory is only available for Darwin/OSX. This error is nothing to worry about. I think the error message shouldn't appear when the Calendar Server runs on another platform than Darwin.
Any help would be very much appreciated.
Your welcome, Roland
Thanks, Ian
participants (3)
-
BarbUk
-
Ian Kono
-
Roland van Laar