apple / ccs-calendarserver

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

CarDAVServer and OSX-Adressbook #334

Closed macosforgebot closed 13 years ago

macosforgebot commented 13 years ago

calendarserver11@… originally submitted this as ticket:426


When I try to add the cardav server to my osx-adressbook it shows me the following error message:

[carddav-throw] Unable to query user's address book home.  User: testuser  Scheme: https  Host: test.net  Port: 9443  Principal: /principals/__uids__/723d9be8-1956-5b1e-aab2-a89384ddb0ae/

Following errormessage is shown in the error log..

2011-04-04 20:18:30+0200 [-] [caldav-9443]  [-] [twistedcaldav.method.report#error] Unsupported REPORT {http://addressbookserver.org/ns/}addressbook-findshared for resource (users)testuser (no method report_http___addressbookserver_org_ns__addressbook_findshared)
2011-04-04 20:18:30+0200 [-] [caldav-9443]  [-] Log observer <bound method AMPCommonAccessLoggingObserver.emit of <twistedcaldav.accesslog.AMPCommonAccessLoggingObserver object at 0xee1fed0>> failed.
2011-04-04 20:18:30+0200 [-] [caldav-9443]  Traceback (most recent call last):
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/web2/stream.py", line 736, in resumeProducing
2011-04-04 20:18:30+0200 [-] [caldav-9443]      data = self.stream.read()
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/web2/log.py", line 36, in read
2011-04-04 20:18:30+0200 [-] [caldav-9443]      return self._callback(data)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/web2/log.py", line 27, in _callback
2011-04-04 20:18:30+0200 [-] [caldav-9443]      done(True, self.len)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/web2/log.py", line 74, in _log
2011-04-04 20:18:30+0200 [-] [caldav-9443]      loginfo=loginfo)
2011-04-04 20:18:30+0200 [-] [caldav-9443]  --- <exception caught here> ---
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/python/log.py", line 292, in msg
2011-04-04 20:18:30+0200 [-] [caldav-9443]      self.observers[i](actualEventDict)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/accesslog.py", line 153, in emit
2011-04-04 20:18:30+0200 [-] [caldav-9443]      self.logMessage(format % formatArgs)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/accesslog.py", line 382, in logMessage
2011-04-04 20:18:30+0200 [-] [caldav-9443]      d = self.protocol.callRemote(LogMessage, message=message)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/protocols/amp.py", line 802, in callRemote
2011-04-04 20:18:30+0200 [-] [caldav-9443]      return co._doCommand(self)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/protocols/amp.py", line 1629, in _doCommand
2011-04-04 20:18:30+0200 [-] [caldav-9443]      self.requiresAnswer)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/protocols/amp.py", line 733, in _sendBoxCommand
2011-04-04 20:18:30+0200 [-] [caldav-9443]      box._sendTo(self.boxSender)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/protocols/amp.py", line 558, in _sendTo
2011-04-04 20:18:30+0200 [-] [caldav-9443]      proto.sendBox(self)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/protocols/amp.py", line 1950, in sendBox
2011-04-04 20:18:30+0200 [-] [caldav-9443]      self.transport.write(box.serialize())
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/tcp.py", line 417, in write
2011-04-04 20:18:30+0200 [-] [caldav-9443]      abstract.FileDescriptor.write(self, bytes)
2011-04-04 20:18:30+0200 [-] [caldav-9443]    File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/abstract.py", line 180, in write
2011-04-04 20:18:30+0200 [-] [caldav-9443]      raise TypeError("Data must not be unicode")
2011-04-04 20:18:30+0200 [-] [caldav-9443]  exceptions.TypeError: Data must not be unicode

My server is debian - client osx snow leopard..

Please fix it! THX FOR YOUR WORK!!!!

macosforgebot commented 13 years ago

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


Please try again with 3.0

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:426