Address books / calendars not detected



  • DavDroid ignores the file names I specifiy when connecting to my radicale server.

    When connecting via {url}/username/custom-name.ics he looks for calendar.ics (also does this for addressbook.vcf):

    PROPFIND /username/calendar.ics/

    connecting to the server works and also authentication is ok.

    As a next step I tried to rename my calendar file to calendar.ics an my address book to addressbook.vcf. But it ist still not working. My Server ist sending him a postive respsonse but davdroid is showing me the found calendar and contact files view without any results.

    As you can see in my log my server tells davdroid that the file exists. Accounts created with version 6.2 are still working.

    My log:

    [pid: 1926|app: 0|req: 2103/2103] 93.219.26.60 () {34 vars in 542 bytes} [Thu Nov  6 21:22:19 2014] OPTIONS /username/calendar.ics/ => generated 0 bytes in 2 msecs (HTTP/1.1 200) 2 headers in 173 bytes (0 switches on core 0)
    [pid: 1926|app: 0|req: 2104/2104] 93.219.26.60 () {42 vars in 677 bytes} [Thu Nov  6 21:22:19 2014] PROPFIND /username/calendar.ics/ => generated 1176 bytes in 5 msecs (HTTP/1.1 207) 3 headers in 130 bytes (2 switches on core 0)
    [pid: 1926|app: 0|req: 2105/2105] 93.219.26.60 () {42 vars in 669 bytes} [Thu Nov  6 21:24:47 2014] PROPFIND /.well-known/carddav => generated 344 bytes in 4 msecs (HTTP/1.1 207) 3 headers in 129 bytes (2 switches on core 0)
    [pid: 1926|app: 0|req: 2106/2106] 93.219.26.60 () {42 vars in 683 bytes} [Thu Nov  6 21:24:48 2014] PROPFIND /username/addressbook.vcf/ => generated 544 bytes in 3 msecs (HTTP/1.1 207) 3 headers in 129 bytes (1 switches on core 0)
    [pid: 1926|app: 0|req: 2107/2107] 93.219.26.60 () {34 vars in 548 bytes} [Thu Nov  6 21:24:48 2014] OPTIONS /username/addressbook.vcf/ => generated 0 bytes in 2 msecs (HTTP/1.1 200) 2 headers in 173 bytes (0 switches on core 0)
    [pid: 1926|app: 0|req: 2108/2108] 93.219.26.60 () {42 vars in 683 bytes} [Thu Nov  6 21:24:48 2014] PROPFIND /username/addressbook.vcf/ => generated 70621 bytes in 59 msecs (HTTP/1.1 207) 3 headers in 131 bytes (2 switches on core 0)
    [pid: 1926|app: 0|req: 2109/2109] 93.219.26.60 () {42 vars in 667 bytes} [Thu Nov  6 21:24:49 2014] PROPFIND /.well-known/caldav => generated 340 bytes in 2 msecs (HTTP/1.1 207) 3 headers in 129 bytes (1 switches on core 0)
    [pid: 1926|app: 0|req: 2110/2110] 93.219.26.60 () {42 vars in 677 bytes} [Thu Nov  6 21:24:49 2014] PROPFIND /username/calendar.ics/ => generated 535 bytes in 7 msecs (HTTP/1.1 207) 3 headers in 129 bytes (1 switches on core 0)
    [pid: 1926|app: 0|req: 2111/2111] 93.219.26.60 () {34 vars in 542 bytes} [Thu Nov  6 21:24:50 2014] OPTIONS /username/calendar.ics/ => generated 0 bytes in 2 msecs (HTTP/1.1 200) 2 headers in 173 bytes (0 switches on core 0)
    [pid: 1926|app: 0|req: 2112/2112] 93.219.26.60 () {42 vars in 677 bytes} [Thu Nov  6 21:24:50 2014] PROPFIND /username/calendar.ics/ => generated 1176 bytes in 5 msecs (HTTP/1.1 207) 3 headers in 130 bytes (2 switches on core 0)
    

  • developer

    Thanks for your report.

    DavDroid ignores the file names I specifiy when connecting to my radicale server.

    Yeah, this is by design. DAVdroid will query calendars and address books from the server and show them all.

    Please read Reporting issues and provide all information mentioned there, including detailled steps to reproduce the issue and verbose logs.



  • chiming in here as I have the same problem.
    existing account works (created w/ 0.6.3), now tried to add my gf's as well to no avail.
    If - when presented the empty list - you tap on the title "Which folders shall be sync'd?" (My translation of "Welche Ordner sollen synchronisiert werden?") and tap the forward arrow (which you cannot otherwise), DAVDroid crashes.
    radicale 0.9-1 on Debian jessie.

    log @ https://gist.github.com/tbart/d18bd5ea02a6463ef76f#file-davdroid_0-6-7-1_crash_adding_account_radicale_0-9-1

    Meanwhile - can we have 0.6.3 back for the time being - i.e. is there some sort of apk archive?



  • As for the Android versions used:

    1. 4.2.2 Samsung Galaxy S 2, cm 10.1-20130809-NIGHTLY-i9100
    2. 4.2.2 ZTE Blade, konstaKANG 10.1

    Steps to reproduce:
    Create empty collection in radicale, create user + pass, create cert, install cert, add new account with DAVdroid, no calendars/phone books listed, crashes when tapping on title and tapping on the arrow


  • developer

    no calendars/phone books listed

    This is the first part of the issue. I guess it's a Radicale problem – I have created an empty collection in Radicale and it did not list it until I have "initialised" it by adding some data. Can you please try that out?

    crashes when tapping on title and tapping on the arrow

    This second part of the issue ("list headers can be selected") has been fixed in 51ac34790c1286a92cff0420ffcd5cc4e38b16f1.



  • Well, did the following:

    1. Manually added an entry to the collection on server side. No joy.
    2. Added a valid (as per http://icalvalid.cloudapp.net/) .ics event via cadaver. No joy.
    3. Tried adding my existing account once again (already in DAVdroid, working since 6.3, i.e. half a year or so, successfully). No joy.

    I know radicale has to have data before you can use it. This was the same with my working account back then (and this should be part of the docs, as it really took me long to find this out.)

    Is there an apk archive (plus nightlies so I can test your referenced fix)? I think this would greatly help to rule out one end or the other!


  • developer

    Is there an apk archive (plus nightlies so I can test your referenced fix)? I think this would greatly help to rule out one end or the other!

    AFAIK, Fdroid doesn't delete old APKs. You can find the version codes here: https://f-droid.org/wiki/page/at.bitfire.davdroid and then download with https://f-droid.org/repo/at.bitfire.davdroid_VERSION_CODE.apk


  • admin

    Version 0.6.8 should be available within the next hours via f-droid. It has been published last night, and has arrived on the Play store already.



  • @rfc2822 : Yep, already tried that, and sorry, f-droid DOES delete APKs.
    @devvv4ever : Bug regarding the crash fixed, no difference wrt the actual problem/title of this issue. Cannot add my existing, working account that's filled with live data.


  • developer

    @rfc2822 : Yep, already tried that, and sorry, f-droid DOES delete APKs.

    Ok, then no, there's no public APK archive (only locally here).

    no difference wrt the actual problem/title of this issue. Cannot add my existing, working account that's filled with live data.

    Can you provide a test account? I can't reproduce it with my Radicale nor any other services.


  • developer

    Reproduced with Radicale 0.9 here.


  • developer

    This is an instance of Radicale bug https://github.com/Kozea/Radicale/issues/204 and has been fixed there. Please use the git version of Radicale.



  • Will try soonish!



  • works as expected, thanks a lot.
    For anyone also on debian:

    apt-get source radicale
    apt-get build-dep radicale
    cd radicale-0.9
    wget --no-check-certificate -O- https://github.com/Kozea/Radicale/tarball/master | tar xvzp --strip-components=1
    vi debian/changelog #and create a new version, probably the git snapshot you used
    dpkg-buildpackage -uc -b
    cd ..
    dpkg -i radicale_0.9-howeveryoucalledit_all.deb python-radicale_0.9-howeveryoucalledit_all.deb
    /etc/init.d/radicale restart
    # be happy
    


  • wget --no-check-certificate

    You shouldn't have to pass this option.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.