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

Cyrus Daboo cdaboo at apple.com
Fri Jun 26 13:47:08 PDT 2009

Hi Cyrus,

--On June 24, 2009 8:57:11 AM -0400 Cyrus Daboo <cdaboo at apple.com> wrote:

>> 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:
> You need Python 2.6 or higher to run from trunk. That is now a
> requirement.

Correction - Python 2.5 and up ought to be OK. The error message you sent 
implied that the "x if b else y" syntax construct (new in Python 2.5) was 
not recognized. Can you double-check that the server did indeed launch 
using Python 2.5 and not Python 2.4.

Cyrus Daboo

More information about the calendarserver-dev mailing list