[Calendar and Contacts Server] #367: Still can't run CardDAV server in Linux
#367: Still can't run CardDAV server in Linux -----------------------------+---------------------------------------------- Reporter: dave@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Serious Keywords: carddav linux | -----------------------------+---------------------------------------------- Previously ticket 359, but another user responded to that and it got closed. I finally had a chance to give the latest trunk (5266) of Calendar Server a try. Same server, but it had since been upgraded to Debian Lenny. I got the same error as listed in ticket 359 after the compile and launch: ImportError: No module named opendirectory I was able to get the server started by commenting out the following: twistedcaldav/static.py: from twistedcaldav.directory.principal import DirectoryCalendarPrincipalResource #from twistedcaldav import report_addressbook_findshared #setattr(DirectoryCalendarPrincipalResource, "report_http_addressbookserver_org_nsaddressbook_findshared", report_addressbook_findshared.http_addre\ ssbookserver_org_nsaddressbook_findshared) twistedcaldav/addressbook.py #from twistedcaldav.report_addressbook_findshared import getReadWriteSharedAddressBookGroups, getReadOnlySharedAddressBookGroups, getWritersGroupForShare\ dAddressBookGroup And doing a: mkdir data/Documents/directory This allows me to not only start the server, but to even log in with Address Book. However, I get the error: [carddav-throw] Unable to query user's address book home. User: admin Scheme: https Host: mail.kapor.com Port: 8443 Principal: /principals/uids/{uid}/ When I connect to the web server, it there is nothing listed under Address Book Homes, and it would appear that the /addressbooks/ directory isn't being created for the user. -- Ticket URL: <http://trac.calendarserver.org/ticket/367> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#367: Still can't run CardDAV server in Linux -----------------------------+---------------------------------------------- Reporter: dave@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Serious Keywords: carddav linux | -----------------------------+---------------------------------------------- Comment(by guy@…): svn co http://svn.calendarserver.org/repository/calendarserver/PyOpenDirectory/trun... PyOpenDirectory cd PyOpenDirectory python setup.py build python setup.py install will likely solve this for you. -- Ticket URL: <http://trac.calendarserver.org/ticket/367#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#367: Still can't run CardDAV server in Linux -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: wsanchez@… Type: Defect | Status: closed Priority: 5: Not set | Milestone: CalendarServer-3.1 Component: Calendar Server | Severity: Serious Resolution: Software changed | Keywords: carddav linux Radar: | -------------------------------+-------------------------------------------- Changes (by wsanchez@…): * status: new => closed * resolution: => Software changed * milestone: => CalendarServer-3.1 Comment: Building PyOpenDirectory should no longer be required. -- Ticket URL: <http://trac.calendarserver.org/ticket/367#comment:2> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#367: Still can't run CardDAV server in Linux -------------------------------+-------------------------------------------- Reporter: dave@… | Owner: wsanchez@… Type: Defect | Status: closed Priority: 2: Expected | Milestone: CalendarServer-3.1 Component: Calendar Server | Severity: Serious Resolution: Software changed | Keywords: carddav linux Radar: | -------------------------------+-------------------------------------------- Changes (by wsanchez@…): * priority: 5: Not set => 2: Expected -- Ticket URL: <http://trac.calendarserver.org/ticket/367#comment:3> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (1)
-
Calendar and Contacts Server