ubports / calendar-app

Moved to GitLab
https://gitlab.com/ubports/apps/calendar-app
GNU General Public License v3.0
6 stars 9 forks source link

Calendar app not syncing with Google calendar and wiping entries there #116

Closed wagafo closed 6 years ago

wagafo commented 6 years ago
Device: Nexus 5
Channel: 16.04/rc
Build: 2018-W35

Steps to reproduce

Clean install 16.04/rc
Enter Google calendar online account in Calendar app
Sync with your Google calendar

Expected behavior

Calendar app and Google calendar should sync. Actual behavior

No entry of the Google calendar shows up in the Calendar app.
After some attempts to sync, all entries with future dates in Google calendar were wiped out

See: https://github.com/ubports/ubuntu-touch/issues/870 for some initial comments.

hummlbach commented 6 years ago

@mardy I think this is also due to the qtpim update. The account handling stopped working on first respectively second (since there was not build on the first) of september. When starting the calendar with fresh evolution cache/config directories even the local calendar does not show up in the list of calendars. I first thought it was wiping my event too, but that was not the case... it just don't show any calendars/accounts/events any more. Again rebuilding does not fix it. How to continue with this? Is this really something to be fixed in the app?

mardy commented 6 years ago

The issue is probably in sync-monitor. I'll investigate :-)

mardy commented 6 years ago

Unfortunately the updates I made to sync-monitor didn't end up in the image, because the version of the new debian package actually compared older than the existing one. I've now pushed a new commit which should fix that; we'll see in tomorrow's daily image weather this helped or not (there might be more pieces to fix).

hummlbach commented 6 years ago

Sound promising. Thanks a lot @mardy!

hummlbach commented 6 years ago

@mardy I this is not yet working (devel 18/09/23). Any other ideas? Should I rebuild the calendar app again? Do you need any logs?

mardy commented 6 years ago

The calendar-app should be fine, there's some error in the way syncevolution is being invoked. I'm now working in improving the logging of sync-monitor so that we can get more information on why syncevolution is failing.