-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on calendar sync: Multiple lines read as text: [1, 4] #38
Comments
That is a very strange error. It means that it expected a file to contain just 1 line, but it contained more than that. I have never seen it before, at it is well defined what files contain just text and what files contain multiple lines... Anyway, the |
I've taken a look and indeed found a file,
What should I do with it? |
You could just put |
I went for changing it to 4, and it continued syncing. Everything seems fine, but I'm not sure. These are now the entries numbers: Android entries: 2695 No errors have popped up anymore. Any way to check if everything is 'fine'? None of the numbers seem to exactly add up. For example, new-entries/resources has 2696 files, stored-entries/resources has 2680 files. |
I don't think all your events are written to the DecSync directory. When it crashes, the app thinks that the event is already written, so it doesn't try again next time. That are probably 16 events from 16 crashes in your case. It did change the order of writing in a new commit, so that part should be better in the future. Although I hope it isn't needed. |
Alright, I:
After a bit of processing, all 3 counts now show the same number. Can you recommend any .ics comparison tools? I can compare both the originally crashing .ics and the one I just created to perhaps find out the culprit so you can prevent a crash for the next person. |
I don't think the .ics is the problem, but writing a lot of files at the same time. All operations should be sequential, but maybe it got confused for some reason. |
Alright, the issue is resolved then. Thanks so much! |
I'm encountering the same error message starting from a few days ago. I have been using radicale-decsync (and DecSyncCC) for a while (with Syncthing) and nothing went wrong previously. I looked at everything under Are there anything else I can provide? By the way, I'm having multiple calendars (combined task lists). |
I am still not sure how it can happen. In your case it looks like a file like |
Since a few days ago this error appeared on my android device. I have decsync cc on android and radicale on my pc, glued together with syncthing. I have not changed or imported anything recently, everything was working for over a year. In my case the sequence file looks like this (apparently from radicale):
Any idea how I can debug this? I would |
I guess I found a simple workaround at least for my problem. In the android DecSync CC app, I just unchecked my caleandar, pressed refresh button and then again put the checkmark back on my calendar. Problem didn't appear again. I also noticed that before unchecking the calendar, the entries count (accessible through tripple dot menu of the corresponding calendar) showed some android entries and some decsync entries. After uncheck/check, it shows zero android entries and previous count for decsync entries. |
why was this issue closed? this is still a problem that keeps happening.
unfortunately this doesn't work in my case |
I haven't been effected again. Is your decsync folder stored on SD? |
No, my decsync folder is located in the internal storage of my phone.
I use syncthing to sync it to my Linux PC and there I use evolution plugin for decsync. My decsync calendar in evolution is also refusing to sync - it does not show any calendar events at all in evolution. The problem with decsync in evolution starts occuring at the same time as when decsync starts showing the "multiple lines read as text" error in android.
30 Oct 2022, 21:19 by ***@***.***:
…
I haven't been effected again.
Is your decsync folder stored on SD?
—
Reply to this email directly, > view it on GitHub <#38 (comment)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/AQMBBPSNMJMXISJ757QMOPLWF2KIXANCNFSM4PNLKNMQ>> .
You are receiving this because you commented.> Message ID: > <39aldo39/DecSyncCC/issues/38/1296288767> @> github> .> com>
|
Just installed this and added years of calendar entries using Calendar Import-Export. All seemed to be going well (contacts synced without problems), but it looks like it's stuck on some calendar entry. The error that pops up as a notification after having it sync is
Multiple lines read as text: [1, 4]
.I can't find (
grep
)[1, 4]
or parts of that in my imported.ics
or the synced DecSync dir.The entry count is:
Android entries: 2695
Processed entries: 2246
DecSync entries: 1357
I am only using it on Android, and use Syncthing to synchronize.
How will I be able to find the culprit? I don't mind deleting a broken entry.
Thanks!
The text was updated successfully, but these errors were encountered: