etesync / etesync-web

An EteSync web client
https://www.etesync.com
GNU Affero General Public License v3.0
243 stars 30 forks source link

Hourly notifications of calendar sync failed Android & UNABLE to modify calendar events in Evolution #256

Open myviolinsings opened 1 year ago

myviolinsings commented 1 year ago

I use Etesync with Evolution on Ubuntu 22.04. I only installed it on my phone, in case I do add something there (mostly add items on pc). But I am getting several notifications a day that Calendar sync failed (error while applying remote entries) and not sure what this means. I have sent the info from Android when I am actually on the phone and can see the log details, but not sure if I get an email or what in response to it, or how long it takes to even know if this is something I have done wrong or a bug. Yesterday, I imported (via the web) all of my google contacts and they show up in the Android app. But I did check to see that a calendar entry from Evolution appeared on the web version and it did not. Here is the debug info from my phone: --- BEGIN DEBUG INFO ---

SYNCHRONIZATION INFO

Synchronization phase: applying remote entries

Account name: myviolinsings

Authority: com.android.calendar

Debug activity source: class com.etesync.syncadapter.syncadapter.SyncNotification$NotificationHandlerActivity (Kotlin reflection is not available)

EXCEPTION:

at.bitfire.ical4android.InvalidCalendarException: Couldn't parse iCalendar

at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:84)

at at.bitfire.ical4android.Event$Companion.eventsFromReader(Event.kt:85)

at at.bitfire.ical4android.Event$Companion.eventsFromReader$default(Event.kt:84)

at com.etesync.syncadapter.syncadapter.CalendarSyncManager.processItem(CalendarSyncManager.kt:89)

at com.etesync.syncadapter.syncadapter.SyncManager.applyRemoteItems(SyncManager.kt:470)

at com.etesync.syncadapter.syncadapter.SyncManager.performSync(SyncManager.kt:252)

at com.etesync.syncadapter.syncadapter.CalendarsSyncAdapterService$SyncAdapter.onPerformSyncDo(CalendarsSyncAdapterService.kt:50)

at com.etesync.syncadapter.syncadapter.SyncAdapterService$SyncAdapter.onPerformSync(SyncAdapterService.kt:117)

at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:334)

Caused by: net.fortuna.ical4j.data.ParserException: Error at line 14:Text cannot be parsed to a Duration

at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:160)

at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:183)

at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:171)

at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:82)

... 8 more

Caused by: j$.time.format.x: Text cannot be parsed to a Duration

at j$.time.Duration.parse(:412)

at net.fortuna.ical4j.model.TemporalAmountAdapter.parse(TemporalAmountAdapter.java:137)

at net.fortuna.ical4j.model.property.Trigger.setValue(Trigger.java:270)

at net.fortuna.ical4j.model.property.Trigger.(Trigger.java:165)

at net.fortuna.ical4j.model.property.Trigger$Factory.createProperty(Trigger.java:315)

at net.fortuna.ical4j.model.PropertyBuilder.build(PropertyBuilder.java:48)

at net.fortuna.ical4j.data.DefaultContentHandler.endProperty(DefaultContentHandler.java:123)

at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.parse(CalendarParserImpl.java:294)

at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.access$1100(CalendarParserImpl.java:226)

at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:213)

at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:429)

at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:406)

at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:211)

at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:429)

at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:406)

at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:211)

at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:116)

at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:182)

at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:151)

... 11 more

SOFTWARE INFORMATION

EteSync version: 2.2.4 (20204)

Installed from: com.android.vending

CONFIGURATION

Power saving disabled: yes

android.permission.READ_CONTACTS permission: granted

android.permission.WRITE_CONTACTS permission: granted

android.permission.READ_CALENDAR permission: granted

android.permission.WRITE_CALENDAR permission: granted

org.dmfs.permission.READ_TASKS permission: denied

org.dmfs.permission.WRITE_TASKS permission: denied

org.tasks.permission.READ_TASKS permission: denied

org.tasks.permission.WRITE_TASKS permission: denied

System-wide synchronization: automatically

Account: myviolinsings

Address book sync. interval: 15 min

Calendar sync. interval: 15 min

OpenTasks sync. interval: —

Tasks.org sync. interval: —

WiFi only: false

[CardDAV] Contact group method: GROUP_VCARDS

       Manage calendar colors: true 

Address book account: Personal (myviolinsings yh)

Main account: Account {name=myviolinsings, type=com.etesync.syncadapter}

URL: yhL6UIxF4uBEhNMJyPRhXIJ-OFXBkMuh

Sync automatically: true

Address book account: My Contacts (myviolinsings gs)

Main account: Account {name=myviolinsings, type=com.etesync.syncadapter}

URL: gs8SM3TDwyKsxorSWo6MUp0kIbN3qUBq

Sync automatically: true

Address book account: Google SF (myviolinsings ef)

Main account: Account {name=myviolinsings, type=com.etesync.syncadapter}

URL: efU3Akt3RagQAUpdCBY4Gx0Sf3E4-vCg

Sync automatically: true

Address book account: Google WF (myviolinsings hj)

Main account: Account {name=myviolinsings, type=com.etesync.syncadapter}

URL: hjI5rw3WdPT1OjbEYkRKykRoIq84FPnq

Sync automatically: true

SQLITE DUMP

android_metadata

| locale |

| en_US |


settings

| setting | value |


SERVICES DUMP

JOURNALS DUMP

SYSTEM INFORMATION

Android version: 12 (SP2A.220505.008)

Device: Google Pixel 3a XL (bonito)

--- END DEBUG INFO ---

UPDATE: After about 15 minutes from entering that calendar entry in Evolution, I received the first ever notification on Android that the calendar was updated. Not sure what that means.

UPDATE: Since I posted this 2 weeks ago, I continue to get the notifications on Android but all of my entries entered into Evolution (contacts, calendar, tasks) sync eventually.

UPDATE: **As of 10/19/22, I can no longer modify calendar events in Evolution: "Failed to modify an event in the calendar “myviolinsings@pm.me : Bill's Job & Estimate Schedule” Cannot modify calendar object: Server error"

And in the browser, not only does it take forever to load my items (didn't used to) I can open to modify item, but clicking "Save" does not save; nothing happens.

On Android: I opened Proton Calendar to see that none of the entries in the calendar which were being synced via Evolution were showing up, as the Android sync obviously has issues, which since i seldom use Android apps, did not notice till now. This needs to be resolved as I do not have access to the calendar that Etesync is supposed to be syncing, nor can I modify any calendar entries via app, web browser or in Evolution: so I am dead in the water.**