[CalendarServer-dev] Syntax Error in caldavxml.py line 97

Thomas malcom at ioveda.com
Wed Jun 24 03:43:10 PDT 2009

dear all,

I build the DCS on a Linux CentOS machine running python 2.5.1 x86_64
everything compiled fine, but when i tried to start the server, i do get 
the following syntax error:
=========  Output  of run  ===============================
Starting server...
exec python /root/CalDEV/Twisted/bin/twistd  -n caldav -f 
/root/CalDEV/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined
Traceback (most recent call last):
 File "/root/CalDEV/Twisted/bin/twistd", line 19, in ?
 File "/root/CalDEV/Twisted/twisted/scripts/twistd.py", line 27, in run
   app.run(runApp, ServerOptions)
 File "/root/CalDEV/Twisted/twisted/application/app.py", line 689, in run
 File "/root/CalDEV/Twisted/twisted/application/app.py", line 669, in 
   usage.Options.parseOptions(self, options)
 File "/root/CalDEV/Twisted/twisted/python/usage.py", line 226, in 
   for (cmd, short, parser, doc) in self.subCommands:
 File "/root/CalDEV/Twisted/twisted/application/app.py", line 680, in 
   self.loadedPlugins[plug.tapname] = plug
 File "/root/CalDEV/CalendarServer/twisted/plugins/caldav.py", line 13, 
in getProperty
   return getattr(reflect.namedClass(self.serviceMakerClass), propname)
 File "/root/CalDEV/Twisted/twisted/python/reflect.py", line 349, in 
   module = namedModule('.'.join(classSplit[:-1]))
 File "/root/CalDEV/Twisted/twisted/python/reflect.py", line 337, in 
   topLevel = __import__(name)
 File "/root/CalDEV/CalendarServer/twistedcaldav/__init__.py", line 45, 
in ?
   import twistedcaldav.caldavxml
 File "/root/CalDEV/CalendarServer/twistedcaldav/caldavxml.py", line 97
   self.start = parse_date_or_datetime(attributes["start"]) if "start" 
in attributes else None
SyntaxError: invalid syntax

Thanking you very much in advance for helping me

best regards,

More information about the calendarserver-dev mailing list