Accounts for Request Sync missing

Post your questions and help other users.

Moderator: Martin

Post Reply
andi
Posts: 13
Joined: 22 May 2015 05:42

Accounts for Request Sync missing

Post by andi » 08 Mar 2019 19:22

Hi

I have a tablet and a phone, on both I use the same flow to sync my CalDAV accounts. Since some days (2 weeks?) I don't see and can't sync my CalDAV account anymore on my phone. Tablet is still OK.

If I create a new "Request Sync" action, the "Accounts" dialog shows no CalDAV accounts anymore (only the CardDAV accounts). I have no clue, what I changed some two weeks OK. Where does Automagic reads the "Accounts" information from and how could this happen?


In Android, I still see my accounts in the "Settings, Accounts" list and I can manually sync my calendar. But I'm not able to sync my account with the Automatic flow anymore.


Any idea?
Andi

I use LOS 15.1 (no updated since end of 2018).
I use the dmfs CalDAV sync app (no update since 2017)

andi
Posts: 13
Joined: 22 May 2015 05:42

Re: Accounts for Request Sync missing

Post by andi » 08 Mar 2019 20:06

I did some more checking (not systematic, more on a try and error base). The following command "adb shell content query --uri content://com.android.calendar/calendars" shows me all calendars I have active.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Accounts for Request Sync missing

Post by Martin » 08 Mar 2019 21:27

Hi,

Automagic uses the account manager of the system to get the accounts. Maybe the system does not return the accounts for some reason or there's a bug in Automagic.
Could you please enable debug logging in the settings of Automagic, open the account selection dialog and then send the log to me (menu->Log, menu->Send Log). Please send the log to info@automagic4android.com.

Thanks & Regards,
Martin

andi
Posts: 13
Joined: 22 May 2015 05:42

Re: Accounts for Request Sync missing

Post by andi » 09 Mar 2019 06:12

Hi Martin

Thanks for your reply. Somehow, logging didn't work, only some sparse data is logged, looks like I didn't understand this logging feature.

So I downgraded to the last version 1.36. With this version, I have my calendar list back again! (But somehow, I can't add my widget anymore ;o)

I'll log with this version as well and will send you both files.

Andi

andi
Posts: 13
Joined: 22 May 2015 05:42

Re: Accounts for Request Sync missing

Post by andi » 09 Mar 2019 07:23

I guess, I spare you the logfiles. All I see is:

- Debug Log active
- Clear prefer IPv4 (null, false)
- Clear prefer IPv4 (null, false)
- Flows need not to be saved
- Debug Log inactive

Tomorrow I go back to 1.36 and restore my old widgets.
Andi

andi
Posts: 13
Joined: 22 May 2015 05:42

Re: Accounts for Request Sync missing

Post by andi » 11 Mar 2019 18:55

Hi Martin, did you get the chance to check what changed between 1.36.0 and 1.37.0?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Accounts for Request Sync missing

Post by Martin » 11 Mar 2019 20:28

Hi,

Yes, it's a new limitation enforced on Android 8+. The next update which should become available in Google Play right now adds a new button 'other account...' that brings up an account selector from the system which should make the account visible to Automagic again. I'm not sure if this works with every account but the ones I've tested have worked so far.

Regards,
Martin

andi
Posts: 13
Joined: 22 May 2015 05:42

Re: Accounts for Request Sync missing

Post by andi » 11 Mar 2019 22:19

Back to perfect! Thanks for your work.

I'm really sorry for all the trouble you're going through, with this Android changes all the time...

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Accounts for Request Sync missing

Post by Martin » 11 Mar 2019 22:21

Great! Glad it's working.

No problem. This is part of the game :-)

Post Reply