@MrGutsy It should be possible to set up the account with the working connection (4G) and then sync over WiFi, too.
Davx5 don't aquire Read Task permission => error on task sync
-
i had the same problem with a samsung S4 (GT i9515) running lineage OS (lineage-17.1-20200926-nightly-jfvelte-signed) and the latest davx5 from F-Droid (v. 3.3.2-ose).
the slider to set the
Task
rights was set togranted
. The debug info showed theREAD_TASK
asdenied
.the problem appeared after a fresh install. still i tried to uninstall both OpenTasks and davx5 and change the install order, since i remember that this used to be a solution, did not work f or me though.
i had to use adb as described by @paultt
here is some additional information for others who want to use adb and don’t know how to use it (like me):
first install adb for your system, open a command prompt and then type
user@pcname:~$ adb devices
on your phone, allow your computer to access the phone via adb, then open an adb shell and send the command to set the permissions, like so
user@pcname:~$ adb -d shell phonename:/ $ pm grant at.bitfire.davdroid org.dmfs.permission.READ_TASKS phonename:/ $ pm grant at.bitfire.davdroid org.dmfs.permission.WRITE_TASKS phonename:/ $ exit
i hope this helps.
-
Was it not possible to give the tasks permission in Android settings / Apps / DAVx5? (Where the button below the slider directs to)
-
@rfc2822
yes, it was, but still the debug info of davx5 showed that READ_TASKS wasdenied
.i am just now setting up a similar samsung s4 phone (GT i9505) and will report back soon about my findings.
-
@ribi85 Thanks!
-
i get the same error for the GT i9505. here is an excerpt of the debug-info.txt:
Permissions: - READ_CONTACTS: granted - WRITE_CONTACTS: granted - READ_CALENDAR: granted - WRITE_CALENDAR: granted - READ_TASKS: denied - WRITE_TASKS: granted - READ_TASKS: denied - WRITE_TASKS: denied - ACCESS_COARSE_LOCATION: denied
a bit weird is that READ_TASKS and WRITE_TASKS occurs twice. but i saw the same in the GT-i9515 phone.
after setting the permission via adb only the first occurrance of READ_TASK is additionally set to
granted
:Permissions: - READ_CONTACTS: granted - WRITE_CONTACTS: granted - READ_CALENDAR: granted - WRITE_CALENDAR: granted - READ_TASKS: granted - WRITE_TASKS: granted - READ_TASKS: denied - WRITE_TASKS: denied - ACCESS_COARSE_LOCATION: denied
-
@ribi85 said in Davx5 don't aquire Read Task permission => error on task sync:
a bit weird is that READ_TASKS and WRITE_TASKS occurs twice. but i saw the same in the GT-i9515 phone.
One time for OpenTasks, one time for tasks.org. I have changed it so that in future versions, you’ll see the full permission ID when it doesn’t start with
android.permission
. -
@ribi85 said in Davx5 don't aquire Read Task permission => error on task sync:
- READ_TASKS: granted
- WRITE_TASKS: granted
- READ_TASKS: denied
- WRITE_TASKS: denied
Ah… as said above, those are the OpenTasks and tasks.org permissions. In the Android permissions activity, those are both shown as Tasks permission. Is it possible that you have chosen the wrong one (as they cannot be distinguished)?
-
Same here on an Huawei P20pro:
-
Can you try to uninstall DAVx5 and all tasks apps, then install Open Tasks first and after that DAVx5. Can you grant the necessary permissions then?
-