Hi, I'm trying to get Calendarserver(r1895) running on Ubuntu Feisty running Python 2.5. I belive the problem is not python related, but to pydirector.
It seems that the config file[1] that is generated contains statements that do not work with the version that is downloaded by the run 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] Adding server at 127.0.0.1:8009 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] Adding SSL server at 127.0.0.1:8444 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8009 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x1705ab8> 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8444 2007-09-22 18:42:00+0200 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/caldavd.sock') PEER:UNIXSocket('')) 2007-09-22 18:42:00+0200 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock')) 2007-09-22 18:42:01+0200 [-] [pydir] Traceback (most recent call last): 2007-09-22 18:42:01+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 20, in <module> 2007-09-22 18:42:01+0200 [-] [pydir] main() 2007-09-22 18:42:01+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 15, in main 2007-09-22 18:42:01+0200 [-] [pydir] pd = PythonDirector(config) 2007-09-22 18:42:01+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdmain.py", line 20, in __init__ 2007-09-22 18:42:01+0200 [-] [pydir] self.conf = pdconf.PDConfig(config) 2007-09-22 18:42:01+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdconf.py", line 191, in __init__ 2007-09-22 18:42:01+0200 [-] [pydir] "expected 'service' or 'admin', got '%s'"%item.nodeName 2007-09-22 18:42:01+0200 [-] [pydir] pydirector.pdconf.ConfigError: expected 'service' or 'admin', got 'control' 2007-09-22 18:42:01+0200 [-] [pydir] '/tmp/pydirIg34su' 2007-09-22 18:42:04+0200 [-] [pydir] '/tmp/pydirIg34su' 2007-09-22 18:42:04+0200 [-] [pydir] Traceback (most recent call last): 2007-09-22 18:42:04+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 20, in <module> 2007-09-22 18:42:04+0200 [-] [pydir] main() 2007-09-22 18:42:04+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 15, in main 2007-09-22 18:42:04+0200 [-] [pydir] pd = PythonDirector(config) 2007-09-22 18:42:04+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdmain.py", line 20, in __init__ 2007-09-22 18:42:04+0200 [-] [pydir] self.conf = pdconf.PDConfig(config) 2007-09-22 18:42:04+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdconf.py", line 191, in __init__ 2007-09-22 18:42:04+0200 [-] [pydir] "expected 'service' or 'admin', got '%s'"%item.nodeName 2007-09-22 18:42:04+0200 [-] [pydir] pydirector.pdconf.ConfigError: expected 'service' or 'admin', got 'control' 2007-09-22 18:42:11+0200 [-] [pydir] '/tmp/pydirIg34su' 2007-09-22 18:42:11+0200 [-] [pydir] Traceback (most recent call last): 2007-09-22 18:42:11+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 20, in <module> 2007-09-22 18:42:11+0200 [-] [pydir] main() 2007-09-22 18:42:11+0200 [-] [pydir] File "../pydirector-1.0.0/pydir.py", line 15, in main 2007-09-22 18:42:11+0200 [-] [pydir] pd = PythonDirector(config) 2007-09-22 18:42:11+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdmain.py", line 20, in __init__ 2007-09-22 18:42:11+0200 [-] [pydir] self.conf = pdconf.PDConfig(config) 2007-09-22 18:42:11+0200 [-] [pydir] File "/home/tarjei/src/pydirector-1.0.0/pydirector/pdconf.py", line 191, in __init__ 2007-09-22 18:42:11+0200 [-] [pydir] "expected 'service' or 'admin', got '%s'"%item.nodeName 2007-09-22 18:42:11+0200 [-] [pydir] pydirector.pdconf.ConfigError: expected 'service' or 'admin', got 'control' 1. <pdconfig> <service name="http"> <listen ip="127.0.0.1:8008" /> <group name="main" scheduler="leastconns"> <host name="caldav-8009" ip="127.0.0.1:8009" /> <host name="caldav-8010" ip="127.0.0.1:8010" /> </group> <enable group="main" /> </service> <service name="https"> <listen ip="127.0.0.1:8443" /> <group name="main" scheduler="leastconns"> <host name="caldav-8444" ip="127.0.0.1:8444" /> <host name="caldav-8445" ip="127.0.0.1:8445" /> </group> <enable group="main" /> </service> <control socket="logs/caldavd-pydir.sock" /> </pdconfig> What should I do? Kind regards, Tarjei _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users