apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

500 error creating a calendar #256

Closed macosforgebot closed 15 years ago

macosforgebot commented 15 years ago

r007+macosforge@… originally submitted this as ticket:321


After emptying the data directory and initially connecting iCal to r3633 my account (obviously) comes up as empty. Adding a calendar finally leads to this:

2009-02-04 03:04:08+0100 [-] [caldav-8444]  [AMP,client] [twistedcaldav.extensions#info] MKCALENDAR /calendars/__uids__/73ff3c6f-f400-4d31-8ddf-f61d6dcfa8f6/A5DBFC73-B613-491B-8CD0-ED6115E41E3F/ HTTP/1.1
2009-02-04 03:04:08+0100 [-] [caldav-8444]  [-] [twistedcaldav.static#info] Creating calendar collection <CalDAVFile: /home/wolfgang/Projekte/appleCal/trunk/twistedcaldav/test/data/calendars/__uids__/73/ff/73ff3c6f-f400-4d31-8ddf-f61d6dcfa8f6/A5DBFC73-B613-491B-8CD0-ED6115E41E3F>
2009-02-04 03:04:08+0100 [-] [caldav-8444]  [-] [twistedcaldav.static#error] Unable to clean up after failed MKCOL (special resource type: coercing to Unicode: need string or buffer, instance found): {DAV:}resourcetype
2009-02-04 03:04:08+0100 [-] [caldav-8444]  [-] Exception rendering:
2009-02-04 03:04:08+0100 [-] [caldav-8444]  [-] Unhandled Error
2009-02-04 03:04:08+0100 [-] [caldav-8444]      Traceback (most recent call last):
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/Twisted/twisted/internet/defer.py", line 239, in callback
2009-02-04 03:04:08+0100 [-] [caldav-8444]          self._startRunCallbacks(result)
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/Twisted/twisted/internet/defer.py", line 304, in _startRunCallbacks
2009-02-04 03:04:08+0100 [-] [caldav-8444]          self._runCallbacks()
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks
2009-02-04 03:04:08+0100 [-] [caldav-8444]          self.result = callback(self.result, *args, **kw)
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/Twisted/twisted/internet/defer.py", line 746, in gotResult
2009-02-04 03:04:08+0100 [-] [caldav-8444]          _inlineCallbacks(r, g, deferred)
2009-02-04 03:04:08+0100 [-] [caldav-8444]      --- <exception caught here> ---
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/Twisted/twisted/internet/defer.py", line 724, in _inlineCallbacks
2009-02-04 03:04:08+0100 [-] [caldav-8444]          result = g.throw(result.type, result.value, result.tb)
2009-02-04 03:04:08+0100 [-] [caldav-8444]        File "/home/wolfgang/Projekte/appleCal/trunk/twistedcaldav/method/mkcalendar.py", line 71, in http_MKCALENDAR
2009-02-04 03:04:08+0100 [-] [caldav-8444]          yield self.createCalendar(request)
2009-02-04 03:04:08+0100 [-] [caldav-8444]      exceptions.IOError: [Errno 95] Operation not supported: '/home/wolfgang/Projekte/appleCal/trunk/twistedcaldav/test/data/calendars/__uids__/73/ff/73ff3c6f-f400-4d31-8ddf-f61d6dcfa8f6/A5DBFC73-B613-491B-8CD0-ED6115E41E3F'

I have no idea what could be failing here (I'm not very firm in Python). Any pointers are appreciated. Besides I think the "special resource type" after MKCOL might be a Bug.

BTW this is using Python 2.5.2 on linux.

macosforgebot commented 15 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:321


"Operation not supported" on Linux usually means lack of xattr support in the file system.

Please check that and re-open if that's not the problem.