Skip to content
This repository has been archived by the owner. It is now read-only.

Linux: 'f' is a bad directive in format '%Y-%m-%d %H:%M:%S.%f' #347

Closed
macosforgebot opened this issue May 10, 2011 · 4 comments
Closed

Linux: 'f' is a bad directive in format '%Y-%m-%d %H:%M:%S.%f' #347

macosforgebot opened this issue May 10, 2011 · 4 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented May 10, 2011

guy@… originally submitted this as ticket:445


Pulled revision 7423, on a centos 5 system..

when attempting to connect from ical on my OSX-10.6 system I'm seeing the following errors..the iCal reports and error and remains off-line

2011-05-10 09:38:32+0100 [-] [caldav-0] [PooledMemCacheProtocol,client] [twext.web2.server#error] [Failure instance: Traceback: <type 'exceptions.ValueError'>: 'f' is a bad directive in format '%Y-%m-%d %H:%M:%S.%f' 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:893:_inlineCallbacks 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/twext/web2/resource.py:108:renderHTTP 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/twistedcaldav/resource.py:1466:checkPreconditions 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:1014:unwindGenerator 2011-05-10 09:38:32+0100 [-] [caldav-0] --- <exception caught here> --- 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:893:_inlineCallbacks 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/twext/web2/static.py:109:checkPreconditions 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/twistedcaldav/storebridge.py:316:lastModified 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/txdav/common/datastore/sql.py:2026:modified 2011-05-10 09:38:32+0100 [-] [caldav-0] /home/build/CalendarServer/twistedcaldav/dateops.py:252:parseSQLTimestamp 2011-05-10 09:38:32+0100 [-] [caldav-0] /usr/lib/python2.5/_strptime.py:300:strptime 2011-05-10 09:38:32+0100 [-] [caldav-0] ]

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented May 10, 2011

mail@… originally submitted this as comment:1:⁠ticket:445


Copy of initial comment with sane formatting

2011-05-10 09:38:32+0100 [-] [caldav-0]  [PooledMemCacheProtocol,client] [twext.web2.server#error] [Failure instance: Traceback: <type 'exceptions.ValueError'>: 'f' is a bad directive in format '%Y-%m-%d %H:%M:%S.%f'
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:893:_inlineCallbacks
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/twext/web2/resource.py:108:renderHTTP
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/twistedcaldav/resource.py:1466:checkPreconditions
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:1014:unwindGenerator
2011-05-10 09:38:32+0100 [-] [caldav-0]         --- <exception caught here> ---
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/Twisted/build/lib.linux-i686-2.5/twisted/internet/defer.py:893:_inlineCallbacks
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/twext/web2/static.py:109:checkPreconditions
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/twistedcaldav/storebridge.py:316:lastModified
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/txdav/common/datastore/sql.py:2026:modified
2011-05-10 09:38:32+0100 [-] [caldav-0]         /home/build/CalendarServer/twistedcaldav/dateops.py:252:parseSQLTimestamp
2011-05-10 09:38:32+0100 [-] [caldav-0]         /usr/lib/python2.5/_strptime.py:300:strptime
2011-05-10 09:38:32+0100 [-] [caldav-0]         ]
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented May 10, 2011

mail@… originally submitted this as comment:2:⁠ticket:445


This has been reported before on the mailing list. See http://www.mail-archive.com/calendarserver-users@lists.macosforge.org/msg01689.html.

Citing from there this has been added with python 2.6. See http://docs.python.org/whatsnew/2.6.html

I am not sure what the official support of python 2.5 currently is.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented May 11, 2011

mail@… originally submitted this as comment:3:⁠ticket:445


Allowing code that requires python 2.6 is not allowed according to http://trac.calendarserver.org/wiki/HACKING

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:4:⁠ticket:445

  • Status changed from new to closed
  • Milestone changed from Linux Port to CalendarServer-3.1
  • Resolution changed from to Software changed

Fixes (perhaps the lame way) by requiring Python 2.6 in r7841.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.