Replies: 17 comments 36 replies
-
I've been seeing this same problem, going into add-ons and choosing to disable the provider, (click past the unsubscribe dialog) and then immediately re-enabling provider seems to clear it up. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing a related problem. Synchronizing upstream changes does not function, from either the automatic sync or manually selecting to synchronize. It goes through the process, and does not cause TB to hang, but it also doesn't actually pull down any changes. If I fully close TB and reopen, that seems to trigger a successful sync. I haven't tried @nneul's suggestion, but I wonder if that would similarly trigger the sync. End result is the calendar state is unreliable. TB 102.2.2 (64-bit) on Mint 20.3, Provider 102.0.0 |
Beta Was this translation helpful? Give feedback.
-
The app has to be updated. The developer has been contacted. The problem is the app needs google's new OAuth 2.0. |
Beta Was this translation helpful? Give feedback.
-
I was able to find out that it is due to Thunderbird and not the addon. The addon works very well in TB version 102.4.2 (64-bit/Ubuntu 20.04.5 with gdata-provider 102.0.1). I haven't been able to test all the features yet, but it seems to be working very well. |
Beta Was this translation helpful? Give feedback.
-
There was an issue with the add-on and is now fixed by the developer. Details here: #519 (comment) |
Beta Was this translation helpful? Give feedback.
-
The updated plugin fixes the authentication issue, however I don't believe it fixes the sync problem in THIS issue - I saw a 'stopped syncing' instance yesterday AFTER I upgraded to 102.0.3. Will be keeping an eye on it to see if that problem reoccurs. |
Beta Was this translation helpful? Give feedback.
-
Interesting that @msjohns1 found this problem was fixed by upgrading TB, because I am using TB 102.5.0 and the very latest gdata-provider 102.0.3 from github (here) , but I find that the calendar sync problem persists. So I am in the same situation as @nneul ... the gdata-provider update to 102.0.3 fixes the authentication problem, but not the sync problem that is the focus of this thread. Various tricks, like i) disabling the add-on and adding it back, ii) unsubscribing from the calendar and then re-subscribing to rebuilding the calendar from scratch, iii) restarting TB ... these all seem to clear the problem for a while. But my experience is that the no-sync problem eventually returns when an existing calendar entry is modified outside of TB, and that modification will not sync into TB until I do one of the things mentioned above. As I posted earlier, my hope is that a fix should be forthcoming since most people can get TB calendars to sync by using @nneul's method or by just restarting TB. This means that there is a known state/config where gdata-provider will sync correctly and efficiently, so I hope that the developer is reviewing these comments and can create that same state whenever a calendar sync is required. |
Beta Was this translation helpful? Give feedback.
-
I am on TB 102.5.1 64-bit and Provider 102.0.3. I think this was working(maybe, can't remember) in TB 102.5.0, but not working now (my TB updated yesterday). Turning off and on the Provider does not work, it only loads and fixes data as of that moment. It does not fix the problem on an ongoing basis. |
Beta Was this translation helpful? Give feedback.
-
102.5.1/64 + 102.0.3. Calendars sync when TB starts up and, I think, never again. |
Beta Was this translation helpful? Give feedback.
-
I don't think this is going to be fixed any time soon. The work-around that I have settled on takes advantage of the fact that restarting TB fixes the calendar sync problem for a period of time (but unfortunately the exact circumstances that lead to the calendar sync failing again are still unknown). I created a system-idle trigger to run a script when I am not using my computer, which restarts TB if it is active (e.g. using cron in Linux, or Task Manager in Windows). Restarting TB every couple of hours (if idle for, say, 30 minutes) seems to keep the problem under control for me while I wait for a real fix! |
Beta Was this translation helpful? Give feedback.
-
Same issue here, sync it only performed when starting TB or disabling/enabling the add-on. Please fix as this issue is there since a few mounths. |
Beta Was this translation helpful? Give feedback.
-
As others I am still struggling with this issue. |
Beta Was this translation helpful? Give feedback.
-
Anything we could do to help troubleshooting this? I'm not familiar with TB plugin development, but providing some basic guidance on the data to be collected that could be useful to diagnose whatever is going on here, I'd be very happy to help. |
Beta Was this translation helpful? Give feedback.
-
I've been trying to do some troubleshooting on my own (zero knowledge on TB plugin development). I used the TB Config Editor to enable Every time I clicked 'Calendars > Synchronize', I saw some reasonable logging in the console:
Sometimes I clicked the button and nothing was logged, but I assume some logic exists to ignore updates if they are requested too frequently. However, at some point (yesterday it took several hours), clicking the button stops logging anything at all. I've been looking for previous log messages, but nothing seems related with this issue. Of course, as commented several times here, disabling-enabling the add-on restores the normal behavior. I'd love to help here, but I'd need some guidance in order to know what I should adjust to get additional logging and hopefully get some clues :) |
Beta Was this translation helpful? Give feedback.
-
Looking at that chunk of code, I think the issue is that it's tripping on the "idle" - and then never re-enabling the handler here:
A more "correct" fix might be just to skip all the "processing" pieces in that function, and jump straight to that last function that resets the callback. |
Beta Was this translation helpful? Give feedback.
-
I've managed to workaround the bug without rebuilding or reinstalling. Just run in the console (Tools -> Developer Tools -> Debug Addons -> Provide for Google Calendar -> Console) following line:
After executing this line, one must restart Thunderbird. From now, the calendar sync should work correctly. |
Beta Was this translation helpful? Give feedback.
-
Anyone who is working around this issue with the settings.idleTime hack, I need help to debug/fix this in #498 . |
Beta Was this translation helpful? Give feedback.
-
I'm using TB 102.2.2 (64-bit) on Ubuntu 20.04.5 with gdata-provider 102.0.1 and the syncronization with Google Calendar hangs and TB is unusable.
Beta Was this translation helpful? Give feedback.
All reactions