Bug 273949 - Akonadi Resource always seen as readonly
Summary: Akonadi Resource always seen as readonly
Status: RESOLVED WORKSFORME
Alias: None
Product: kresources
Classification: Unmaintained
Component: local (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 280536 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-23 11:03 UTC by simon
Modified: 2013-10-22 22:00 UTC (History)
40 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KDE Resources (76.95 KB, image/png)
2011-11-23 20:30 UTC, Thomas Tanghus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2011-05-23 11:03:55 UTC
Version:           unspecified (using Devel) 
OS:                Linux

hi,

i added a calendar resource (.ics) and deselected the "read only" checkbox. Now i tried to set this as the standard resource but i always get the "can't use read only resource as standard" message.


Reproducible: Always




OS: Linux (x86_64) release 2.6.38.6-zen-01981-ga3c54ec
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Stefano Crocco 2011-06-20 17:47:31 UTC
The same is happening to me with a resource of type VCard directory. I'm using KDE 4.7 beta 1
Comment 2 Ivan D Vasin 2011-06-20 21:00:32 UTC
i'm also seeing this with contacts and calendar Akonadi resources.  as a workaround, i'm using the non-Akonadi resources for contacts dir and calendar file.

System Settings 1.0, Kontact 4.6.0, Akonadi 1.5.3, KDE 4.6.4.
Comment 3 Mark Shelby 2011-07-02 07:30:59 UTC
This is ridiculous! I'm stll having this 'read only' error as of July 02, 2011. This is just a simple file permissions issue devs... come on! Fix it!
Comment 4 Joaquín 2011-07-08 18:37:29 UTC
It seems to happen for any akonadi resource created on that screen (contacts or calendar). 

There is any workaround?
Comment 5 Ritesh Raj Sarraf 2011-07-15 17:25:48 UTC
same issue. read-only akonadi resources.
Comment 6 Balcaen John 2011-07-17 23:25:23 UTC
Issue is still valid with akonadi 1.6.0 & kdepim 4.7 RC2
Comment 7 Robert Wittwer 2011-07-30 09:29:17 UTC
and still existing on OpenSuse 11.3 running
kmail-4.7.0-10.1.i586 on
kdelibs4-4.7.0-6.1.i586
from http://download.opensuse.org/repositories/KDE:/Release:/47/openSUSE_11.3/

To second #3: yes, the whole kdepim and akonadi issue is just ridiculous!
Comment 8 Ritesh Raj Sarraf 2011-07-30 15:53:23 UTC
I badly wanted to play with kdepim and kmail2. The Maildir akonadi resource works. So I went ahead and added 5000 mails to the Maildir resource. Very disappointed to say that the performance is so terrible that you will find kmail2 completely unusable. And this is the Maildir/ resource.

Don't expect much from the D[IMAP] resource.

Devs: Is it usable for you? From what I concluded, it might take a long time to be in a good shape to be called usable.
Comment 9 Bartosz Kwitniewski 2011-08-07 11:35:45 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Balcaen John 2011-08-22 00:46:41 UTC
Could it be related to this https://git.reviewboard.kde.org/r/101229/ ?
Comment 11 René Serral 2011-09-08 08:24:39 UTC
I'm experiencing the same issue with KDE 4.7.1 and a calendar using akonadi-google resource
Comment 12 hermes14 2011-10-09 14:56:05 UTC
The same with 4.7.2 SC.
Come on, guys! Is this bug so difficult do deal with?
Comment 13 JK 2011-10-19 07:30:14 UTC
Also experiencing this on 4.7.2 (arch linux). I think this potentially plays a role in bug https://bugs.kde.org/show_bug.cgi?id=259949. Specifically, because the akonadi resource for contacts is always read-only, I cannot set it as the "standard" contact resource. Thus kmail can't autocomplete contacts either.
Comment 14 Thorsten Schnebeck 2011-10-21 06:43:18 UTC
Looks like Bug 280536 is a duplicate of this. There you will found a workaround.
https://bugs.kde.org/show_bug.cgi?id=280536
Comment 15 JK 2011-11-08 03:16:57 UTC
Still in 4.7.3. Workaround above does *not* work for me.

Setting "ResourceIsReadOnly=false" in ~/.kde4/share/config/kresources/contact/stdrc does not work. My contact resource is still read-only (and can't be set as standard, thereby nuking auto completion in kmail) in System Settings->Personal Information->KDE Resources.
Comment 16 Sergio Martins 2011-11-23 10:36:27 UTC
*** Bug 280536 has been marked as a duplicate of this bug. ***
Comment 17 Sergio Martins 2011-11-23 10:41:33 UTC
> i added a calendar resource (.ics) and deselected the "read only" checkbox. Now
> i tried to set this as the standard resource but i always get the "can't use
> read only resource as standard" message.

Open akonadiconsole, go to the agents tab, click your ical agent. At the
bottom, what does "Type: " say ?
Comment 18 Orion 2011-11-23 12:19:18 UTC
This happens to me both on Calendar and Contacts akonadi resources. Am using Kubuntu 11.10 with KDE 4.7.3 . Installed with existing "Home" partition but with new .kde folder

Akonadiconsole reports Calendar resource type as "KDE Calendar, Traditional" and Contacts resource as type "Personal Contacts". Both are "akonadi_..._resource"
Comment 19 Sergio Martins 2011-11-23 12:28:58 UTC
KResources ( traditional calendars from kdepim <= 4.4 ) are deprecated and should not be used.

This should be more explicit.


- Backup your ics file.
- Delete all your calendar agents in akonadi console.
- Create a new agent in akonadiconsole or korganizer->settings->General->calendars->Add
( Choose ICal Calendar File )

- In korganizer's calendar manager set it as default.


Please don't use KResources anymore if you're using kdepim > 4.4

I'll try to fix the bug anyway, for any user that needs kresources.
Comment 20 Dimitrios Glentadakis 2011-11-23 12:48:27 UTC
I have a resource that i cannot delete from akonadi console!

http://forum.kde.org/viewtopic.php?f=20&t=96881
Comment 21 Orion 2011-11-23 13:07:22 UTC
Sergio - I THINK that fixed the Calendar problem.. note think. In KDE Resources I now have no Calendar.. (sorry this does not make sense to most users who finally find their way to this setting).

Have you any idea about Contacts? In KDE Resources one "standard" is set and I can not remove it as I can not set an akonadi-resource to standard as it is indicated as read-only. And so I get stuck. Autocompletion of email addresses is not working, Kopete (outdated I know) does not see the Address Book at all.
Comment 22 Sergio Martins 2011-11-23 14:04:38 UTC
(In reply to comment #21)
> Have you any idea about Contacts? In KDE Resources one "standard" is set and I
> can not remove it as I can not set an akonadi-resource to standard as it is
> indicated as read-only. And so I get stuck. Autocompletion of email addresses
> is not working, Kopete (outdated I know) does not see the Address Book at all.

For the contacts to the same, don't use the traditional one, use "Personal Contacts".
Try deleting the kresource based one in akonadiconsole, then create the "Personal Contacts", and point it to your vcard file.
Comment 23 Orion 2011-11-23 14:15:14 UTC
Sergio - thanks for patience and advice! This is not exactly "intuitive" and with the upgrade the Kubuntu folks tried to provide some guidelines in a wiki but as you can see not quite enough. At least I don't think so.. 

The "KDE Resources" default one can not be removed - what I did was to use Akonadiconsole to remove "Personal Contacts" (that was an akonadi resource). Then created a vcard akonadi-resource, pointed it to the .local/share/contacts folder and VOILA - it works.

In KAdressbook I removed the "Personal Contacts" and left the vcard resource. If this was/is the correct way I have however no idea...
Comment 24 Orion 2011-11-23 14:36:17 UTC
But there went my Distribution Lists / Groups missing again - and I can not create new ones in the vcard resource....
Comment 25 Thomas Tanghus 2011-11-23 18:35:32 UTC
There are still some 'missing links' as auto completion doesn't work in KMail and it's not possible to set which resources should be used for Events(Journals/ToDos.

How come KDE Resources has been deprecated?
Comment 26 Sergio Martins 2011-11-23 19:43:11 UTC
(In reply to comment #25)
> There are still some 'missing links' as auto completion doesn't work in KMail
> and it's not possible to set which resources should be used for
> Events(Journals/ToDos.

You can set the default calendar in korganizer.



> How come KDE Resources has been deprecated?
Has been replaced by akonadi
Comment 27 Thomas Tanghus 2011-11-23 20:29:00 UTC
(In reply to comment #26)
> (In reply to comment #25)
> > There are still some 'missing links' as auto completion doesn't work in KMail
> > and it's not possible to set which resources should be used for
> > Events(Journals/ToDos.
> 
> You can set the default calendar in korganizer.
> > How come KDE Resources has been deprecated?
> Has been replaced by akonadi

OK, name confusion detected ;-) I didn't mean the Traditional KDE resources, I meant the UI where you could configure which (Akonadi) resource to use as default.
I have my ownCloud resource as default calendar, but I used to be able to set a default for eg. Journals. It was handy as I have my ToDo to be written as a Journal entry upon completion, but I have my Journal in a different Akonadi resource.

Likewise not being able to set a default Address book means auto completion doesn't work.
Comment 28 Thomas Tanghus 2011-11-23 20:30:00 UTC
Created attachment 65997 [details]
KDE Resources
Comment 29 Christoph Drexler 2011-11-25 11:18:27 UTC
The workaround described in #23 is quite messy since it replaces the default akonadi contacts ressource ("Personal Contacts") with a vcard directory ressource.

Setting the default akonadi contacts ressource ("Personal Contacts") default in System Settings->Personal Information->KDE Resources - and thus enabling autocompletion - really *should* work. But it still does not.

To put it straight:
* I have a "Personal Contacts" ressource (not a traditional KDE Addressbook).
* It is *not* set "read-only".
* I cannot set this ressource to default in System Settings->Personal Information->KDE Resources because it is said to be read-only.
* Therefore autocompletion does not work in Kmail.

KDE Version is 4.7.3.

Please, please fix this. I really miss the autocompletion feature.
Comment 30 bmarsh 2011-11-27 02:09:28 UTC
Also having all of the above problems with kmail2.  I have tried all of the above work-arounds as well as some creative(?) things of my own to no avail.  Kmail2 has been a disaster here.....  not really usable even with the considerable effort needed to go from kmail to kmail2....

I know its all open-software and you get what you pay for.... but if it doesn't work, you have to find something else.

(from someone with 53 years of programming experience)
Comment 31 Dmitry Torokhov 2011-11-29 06:39:43 UTC
Attaching to systemsettings with debugger it looks like "read only" checkbox is being initialized before ResourceConfigBase::ResourceConfigBase() is called which is responsible for populating akonadi resource collection. Empty collection is considered a read only.
Comment 32 Roland Leißa 2011-12-27 16:27:02 UTC
still not fixed in 4.7.95
Comment 33 iaby 2012-01-05 16:37:01 UTC
Is there any workaround for the akonadi_googledata_resource and akonadi_gcal_resource? I cannot set them *not* read-only. Kind of strange to me, syncing local changes to my google account works. Just auto-completion still missing.

Using KDE 4.7.3.
Comment 34 black_painkiller 2012-01-08 12:40:03 UTC
Still present in KDE 4.8rc2. Cannot unset Read Only.

But I think I'm missing something about the meaning of the check box itself.

In my case:
SystemSettings->Personal Information, Tab KDE Resources.
Under the resource Calendar I have an Akodadi Resource and it's the only resource for calendars.
If I open the related Resource Configuration I have:
- the check box read-only
- A list of akondadi calendar:
   * Facebook Events (from akonadi-facebook)
   * Google Calendar Events, Todos...

What's the mean of read only??
Obviously Facebook events are just read only, but I have to create new Google Calendar Events!!

Another problem appear in configuring resource Contacts. Here I have:
- Default Address Book (empty, never used)
- Akonadi-resource:
   * Friends (from facebook-facebook )
   * akonadi_vcarddir_resource0 (my old addresses book)

Obviously Facebook Friends must be just read only, but I want to write on my VCard Dir.
Also, I cannot remove "Default Address Book" beacause is the Standard Resource, and I can't set Akonadi-resource as Standard because it's read only!!!

In my case Read Only check box it totally useless and can be removed!!!

I found Akonadi-Google and akonadi-facebook on the web, but I think they the same of those presents in project.kde.org
Comment 35 Francesco Verdoja 2012-01-26 17:59:23 UTC
Bug still there in KDE 4.8.0!!
and none of the workaround proposed before work here.

please guys, this is a really serious bug! :(
Comment 36 Octavian Petre 2012-01-27 16:13:48 UTC
I am not sure if my problem is related to this but since KDE 4.8.0 a previously (KDE 4.7.4) working CalDAV resource is now seen as readonly.

I think this is due to an empty AccesRight attribute. This attribute I can see in akonadi Console => Browser => <CALDAV resource name>  => <calendar> => right click then folder properties => Attributes tab => AccesRight.

If I change AccesRight value to wcdW (or just a), then I can write again, but this is for limited time since AccesRights becomes empty again. I wonder who is writing that value? 


The debug window shows the following when Acces Rights gets modified. Does anyone know what is happening?



>>>>>>>>>>>>>>>>
* 296 295 (NAME "Calendar" MIMETYPE (application/x-vnd.akonadi.calendar.todo application/x-vnd.akonadi.calendar.event) REMOTEID "https://xxx.xxx.xxx.xxx:1080/users/xxx@xxx.com/calendar/" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_14" CACHEPOLICY (INHERIT true INTERVAL 15 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((295 "akonadi_davgroupware_resource_14")) AccessRights "a" davprotocol "0") 
* 297 295 (NAME "Rooms" MIMETYPE (application/x-vnd.akonadi.calendar.todo application/x-vnd.akonadi.calendar.event) REMOTEID "https://xxx.xxx.xxx.xxx:1080/users/xxx@xxx.com/calendar/Rooms/" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_14" CACHEPOLICY (INHERIT true INTERVAL 15 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((295 "akonadi_davgroupware_resource_14")) AccessRights "" davprotocol "0") 
* 295 0 (NAME "akonadi_davgroupware_resource_14" MIMETYPE (inode/directory) REMOTEID "akonadi_davgroupware_resource_14" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_14" CACHEPOLICY (INHERIT false INTERVAL 15 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((0 "")) ENTITYDISPLAY "(\"xxx@xxx.com :: Exchange\" \"folder-remote\" \"\" ())" AccessRights "wcdW") 
57 OK List completed 
58 UID MODIFY 295 MIMETYPE (inode/directory) PARENT 0 NAME "akonadi_davgroupware_resource_14" REMOTEID "akonadi_davgroupware_resource_14" CACHEPOLICY (INHERIT false INTERVAL 15 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ENTITYDISPLAY "(\"xxx@nxp.com :: Exchange\" \"folder-remote\" \"\" ())" 
58 OK MODIFY done 
59 UID MODIFY 296 MIMETYPE (application/x-vnd.akonadi.calendar.event application/x-vnd.akonadi.calendar.todo) PARENT 295 NAME "Calendar" REMOTEID "https://xxx.xxx.xxx.xxx:1080/users/xxx@xxx.com/calendar/" AccessRights "" davprotocol "0" 
59 OK MODIFY done 
60 UID MODIFY 297 MIMETYPE (application/x-vnd.akonadi.calendar.event application/x-vnd.akonadi.calendar.todo) PARENT 295 NAME "Rooms" REMOTEID "https://xxx.xxx.xxx.xxx:1080/users/octavian.petre@nxp.com/calendar/Rooms/" AccessRights "" davprotocol "0" 
60 OK MODIFY done 
61 COMMIT 
61 OK Commit completed 
<<<<<<<<<<<<

BTW, as you can notice there are two calendars, Rooms & Calendar. I am only interested to write into Calendar

Best regards,
Octavian
Comment 37 Sergio Martins 2012-02-06 20:30:10 UTC
(In reply to comment #0)
> Version:           unspecified (using Devel) 
> OS:                Linux
> 
> hi,
> 
> i added a calendar resource (.ics) and deselected the "read only" checkbox. Now
> i tried to set this as the standard resource but i always get the "can't use
> read only resource as standard" message.

Are you using an akonadi_ical_resource or akonadi_kcal_resource ?
Please check in akonadiconsole, first tab.
Comment 38 rich.peiffer 2012-02-07 14:55:04 UTC
Recently upgraded to kde 4.7.4.  Have had no issues with the address book in the past.  Noticed auto complete from "recently used" still works, but nothing from the address book.  Checked my address book - looks good.  Can use the "select" button in kmail composer - addresses still come up.

Did further research and have read that the auto complete determines where to look based on system setup > kde resources.  Under type "contacts" I have both a "dir-resource" pointing to the address book, and there is an akonadi-resource pointing to the address book resource I have configured (which is working with the address book / contact manager).

I noticed, under the kde resources screens, cannot make the akonadi-resource "standard".  When I do, I get "cannot use read-only resource as standard.  Go into the resource and edit, uncheck "read only", save, no error.  Try again to set as standard, same message, go back into the resource and it still has the read only box check - cannot remove it.  Checked the Akonadi resource for the address book under "akonadi resources configuration", and the address book entry is NOT checked read-only.

OK.  The problem with Kmail auto complete is documented in bug 259949.  Are these two related???  Is it because I can't make the akonadi based resource the "standard"?  Is there any workaround to this?
Comment 39 Orion 2012-02-07 18:57:11 UTC
Rich.pfeiffer, see my comments earlier. You are NOT supposed to use KDE-resources but Akonadi-resources.

Even so I had problems with Contacts. What I have found out works: create a vcard folder based akonadi-resource, point to the same folder as your Personal Contacts. Add that in Kaddressbook or via Kontacts. 

Autocompletion of mail address starts working after you type a full first name. 

Then remove the vcard resource... and it works. I THINK I was in KDE resources and tried to indicate Personal Contacts as standard for Users/Groups too even though it gives the infamous "read-only" error.

It has stopped working once, with no reason I can think of . Repeated above, it works again. 

Am also on 4.7.4
Comment 40 Orion 2012-02-07 18:58:53 UTC
Oops should have added that I never removed the Personal Contacts while creating the vcard folder address book...
Comment 41 rich.peiffer 2012-02-07 19:28:24 UTC
Orion:

Thanks for taking the time!  I did catch your earlier posts.  Not sure if I missed something here, but I think I did all this already.

From your post:
-------
Even so I had problems with Contacts. What I have found out works: create a
vcard folder based akonadi-resource, point to the same folder as your Personal
Contacts. Add that in Kaddressbook or via Kontacts
--------

Did that already.  I've got a vcard akonadi resource pointing to /home/rich/.kde/share/apps/kabc/stdvcf.  If I look at the akonadi resource configuration I see an entry "Personal Address Book" (that's what I called), showing ready.

Got it added in kontact (without that my address book contained no entries, using what I defined above it shows all my contacts).  This is currently the only address book I have available in my kontact configuration.

Auto-completion of email:  Tried typing in a complete name - auto-complete did not start working :(

Trying to get rid of the "KDE Resource" for contacts: It shows a "dir-resource" that is pointing to the vcard directory.  Cannot delete the "KDE Resource" item for this item as when I try it says "You cannot remove your standard resource, please select a new standard first".  Can add the akanodi resource, but can't make it standard as it tells me you can't do that with a "read only" resource, and you can't successfully un-check the "read only box" on the configuration.

Did I miss a step or am I not looking in the right place (very possible)?  The KDE resource information is stuck in a deadly embrace.  Can't get rid of it.

I do appreciate you taking the time to respond and it's very possible I may be looking in the wrong spot, etc.  If you have any other advice or can tell me where i may have screwed this up, I would be very grateful.
Comment 42 Orion 2012-02-08 04:09:04 UTC
Rich Pfeiffer: we might do better to have this outside the bug report but here goes once again how I got it working:
1. start with a backup of your contacts folder
2. remove any contacts resource
3. using akonadi resources in System Settings or KAddressbook create a "Personal Contacts" resource, the one KAddressbook defaults to
4. if auto-completion of email address in KMail does not work then create a "vcard-folder" based Akonadi resource with either of the 2 methods 
5. make sure they are active in Kontact/KAddressbook (ticked)
5. if auto-completion does not work after that muck around in KDE-resources setting to make Personal Contacts default for Contacts and Groups in spite of error message "read only"

For me this work and I can later remove the vcard folder resource or just "inactivate it". This is 4.7.4 on Kubuntu 11.10, could not make it work in 4.8
Comment 43 Robert Riemann 2012-04-17 11:20:51 UTC
Has this been resolved in 4.8.2? I'm still having problems with my contacts resources.
Comment 44 Eggert Ehmke 2012-04-17 19:05:16 UTC
I have 4.8.2 (Gentoo) and followed the above advices. Still no success. This is ridiculous.
Comment 45 simon 2012-04-17 22:27:04 UTC
yep, i reported this nearly a year ago and still nothing - whats the whole point of bugreports then?
its a shame that kdepim gets no developer love, some akonadi and nepomuk hype but failing in very basic use cases, unlike
Comment 46 Orion 2012-04-18 06:50:21 UTC
well, the Contacts issue is sort of "off-bug" but a comment I found on kdeforums hint that autocompletion has been disabled in 4.8.x due to some coding problem. See here

http://forum.kde.org/viewtopic.php?f=215&t=100742

I can not vouch for the truth of this but I have tried various 4.8.x installs and found that autocompletion is gone. So I stay on 4.7.4 myself and hope for 4.9 to fix this
Comment 47 Robert Riemann 2012-04-18 10:55:34 UTC
(In reply to comment #45)
> yep, i reported this nearly a year ago and still nothing - whats the whole
> point of bugreports then?
> its a shame that kdepim gets no developer love, some akonadi and nepomuk
> hype but failing in very basic use cases, unlike

Dear developers, please be aware, that not everyone thinks this way. Dear Simon, please be aware, that this is a non-profit project. There is no other motivation than fun and and respect of others. It doesn't help anybody to show up with frustration. If you want to discuss more about this, please conact me via mail. I think there are similar cases in KDE where everything has been already said to such situations.

Beside this, you are completely right. This is really an annoying bug. So let's do it this way: I'm going to donate 15€ (i.e. for a pizza) to the developer who fixes this bug. He might decide to redirect the donation to KDE e.V. It's not much, but I'm just a student. If nobody joins me and there is still no progress/interest, I might raise the donation.

Best,
Robert
Comment 48 simon 2012-04-18 11:57:46 UTC
its just about  priorities and some rant here and there is imo a legitimate way of showing the need of regressions to be fixed  and no - i don't want to start the old discussion about bugs/fun/sparetime/quality/priorities again, we've been over and over that many times
apart from that i will happily flattr once a fix is commited, no problem with that
Comment 49 Dimitrios Glentadakis 2012-04-18 12:04:16 UTC
In the case that developers do this for fun, the akonadi should be in a playground project and not to main kde.
At least we expect an answer like , it will be fixed after 3 months/we investigate the problem/ we need more infos/ we need a developer who knows how to fix this etc

No answer is like to consider users worst than microsoft or apple consider them. Please dont to this

And i dont need 15€ to fix something where i am involved. This is not KDE philosophy , at least for me.
Comment 50 Stephan Diestelhorst 2012-05-22 16:22:43 UTC
I have the same issue (read-only resource) with an akonadi_davgroupware_resource / DAV groupware resource.  Manually removing the empty AccessRights field (akonadiconsole -> Browser -> right click on the folder of the resource -> Attributes -> delete AccessRights) makes this thing actually work again, i.e., I can create an appointment in Korganizer and see that it is properly migrated to the server!
Comment 51 Octavian Petre 2012-05-27 07:56:37 UTC
I can confirm that "Manually removing the empty AccessRights field" makes the resource writable again.
Comment 52 Sergio Martins 2012-06-05 12:39:57 UTC
Please read Comment #19 again.

Do not use the old KResources, they are broken and aren't supported anymore.

In akonadiconsole, the resource type should be akonadi_ical_resource. If you still see akonadi_kcal_resource then you're using the old KResource.
Comment 53 Michael Reiher 2012-06-05 13:27:44 UTC
There should be a migration path then, I guess. You can't expect users to know about this.

Other than that, at least some of us have the problem with akonadi_davgroupware_resource. So your suggestion doesn't apply then, I'd say.
Comment 54 Sergio Martins 2012-07-03 14:11:33 UTC
(In reply to comment #53)
> Other than that, at least some of us have the problem with
> akonadi_davgroupware_resource. So your suggestion doesn't apply then, I'd
> say.

File a bug to akonadi_davgroupware_resource.
Comment 55 Sergio Martins 2012-07-03 14:13:45 UTC
The configuration module for the kresources ( legacy stuff ) was removed from systemsettings.
Comment 56 da-kdebugs-11 2012-07-08 15:18:16 UTC
I have the same problem. Another possible workaround is to change the configuration file ~/.kde4/share/config/kresources/contact/stdrc. This is where the configuration of  System Settings -> Personal Information -> KDE Resources is actually saved.

In the [General] section "ResourceKeys" contains all your ressources  and "Standard" defines the standard resource. I simply changed the "Standard" variable to match the resource I wanted. The one that was supposedly read-only.

Also I think that this is a gui problem. Because both my resources were NOT defined as ReadOnly in this configuration file. So I think that when you want to set the standard resource via gui it doesn't check the configuration file but only the status of the gui checkbox.

Now when I type names in the TO field in Kmail some adresses appear for the address bool. Although there is some other bug because only the first matching contact or sometimes no at all is shown.
Comment 57 Daniele Scasciafratte 2012-07-19 14:24:50 UTC
i have the same problem on debian sid with kde 4.8.4.
i can't sync akonadi with owncloud, i can only read by oc but not load the modify.

FIX IT PLEASE!!!
Comment 58 lagerimsi 2012-07-28 15:15:06 UTC
I can confirm this bug using a dav-groupware-ressource:

An empty attribute "AccessRights" is placed for this ressource every time akonadiserver starts.
Deleting "AccessRights" using akonadiconsole makes it writeable but after restarting akonadiserver this empty attribute appears again making it read only.
Also placing the rights "wcdW" (copied from the personal calendar - also making it writeable) are removed after a restart. Again an empty line.

I'm using davmail running locally to connect to my companys' exchange (2010) server calendar.
It's working as long as you don't restart akonadiserver.

KDE 4.8.4 on kubuntu 12.04

Please fix this!
Comment 59 Andreas Petzold 2012-08-17 16:47:38 UTC
Same here with kdepim 4.9. Rather annoying!
Comment 60 Sergio Martins 2012-08-17 19:56:13 UTC
(In reply to comment #59)
> Same here with kdepim 4.9. Rather annoying!

Which resource type are you using ?
Comment 61 Andreas Petzold 2012-08-17 20:30:21 UTC
I'm using a DAV groupware resource to setup a CalDAV calendar. I'd like to use it to access my calendar via davmail.

All events are correctly retrieved, but the calendar is read-only. As others have reported, the attributes field is empty.
Comment 62 Sergio Martins 2012-08-19 12:03:42 UTC
(In reply to comment #61)
> I'm using a DAV groupware resource to setup a CalDAV calendar. I'd like to
> use it to access my calendar via davmail.
> 
> All events are correctly retrieved, but the calendar is read-only. As others
> have reported, the attributes field is empty.

Can you open akonadiconsole, and check that's it's there ?
Comment 63 Andreas Petzold 2012-08-19 12:31:27 UTC
When I check the folder properties of the CalDAV folder, the attributes tab shows two entries: AccessRights with now value set and davprotocol with value 0.

Let me know if more info is required.
Comment 64 Sergio Martins 2012-08-19 20:58:42 UTC
(In reply to comment #63)
> When I check the folder properties of the CalDAV folder, the attributes tab
> shows two entries: AccessRights with now value set and davprotocol with
> value 0.
> 
> Let me know if more info is required.

Doesn't seem like the same bug. That's specific to the DAV resource, please open a new bug to Akonadi, DavResource
Comment 65 Jens Westemeier 2012-08-20 07:23:29 UTC
Already done, see https://bugs.kde.org/show_bug.cgi?id=303861 ("Can't write CalDav items from korganizer")
Comment 66 Rodrigo Fernandes 2013-10-22 20:48:49 UTC
Recent releases don't have this problem (for me at least). Given that's it's been a year is it safe to close this bug ?
Comment 67 Sergio Martins 2013-10-22 22:00:50 UTC
(In reply to comment #66)
> Recent releases don't have this problem (for me at least). Given that's it's
> been a year is it safe to close this bug ?

Sure, kresources are deprecated anyway, don't use them.