-
Notifications
You must be signed in to change notification settings - Fork 216
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
Every calendar item throws exception on v2.11.0 #1929
Comments
Hi - did you upgrade OGCS today? I don't see any indication of that in the log file.
Looks like you're running in Exchange Online mode instead of Cached - please try turning cached mode on. |
However, I have also noticed there is a change in filtering based on category, which isn't efficient due to you not having selected to exclude any categories. 📦 This should now be resolved with hotfix v2.11.0.1.zip(see instructions for applying) if you would like to see if that helps too. Please let me know how it goes. |
Hi @phw198 . Thank you for the very quick reply! I did upgrade OGCS today, but I emptied/deleted the log file after that as it was rather big. I now activated Cached mode. I will also install the hotfix and let you know how it goes. Thanky you! Boechie. |
Hi @phw198 , Activating Cached Exchange mode was quite a hassle... Nevertheless it solved the problems with OGCS! I did not need to install the hotfix, so I guess I will proceed without it? Or do you advise to install it? Thanks for the great tool! Boechie. |
I think I would advise to install the hotfix anyway? Your logs showed many lines with "Could not access Categories property for...." and took from 13:11:56 to 13:14:22 - so around 3 minutes of unnecessary processing time. This might have sped up with cached mode switched on, but I would expect it to be faster still with the hotfix. |
@phw198 I was trying to install the hotfix, but Windows Defender keeps complaining about a trojan virus. I know this is a known issue, but Windows won't even let me start the app after applying the hotfix. It is remarkable that the new .exe is 1772KB in size whereas the original .exe is only 271KB in size. Is this correct and safe? FYI: Even without the hotfix installed, those lines "Could not access Categories property for...." are not in the log anymore after switching to Cached Mode. |
I suspect you're trying to replace the wrong executable - the instruction say which one to replace (thought I might add to that to say it's not the 271Kb one). With cached mode on, it means that OGCS can now access the categories of each item - but it shouldn't be needing to check because you are not filtering by category. So a sync would still be quicker with the hotfix I think, but don't worry if it's being blocked by anti virus... |
Sorry for not accurately reading the instruction. The instruction is clear and it works now. The sync might be a little bit faster, but even without the hotfix performance is more than acceptable (in cached mode). I have 1 last question: Do you also have an admin installer available? One that does not install in the user's profile (C:\Users\xxx\AppData\Local) but rather in the C:\Program Files folder? That would be really nice. ;-) |
No, no admin installer (a lot of software doesn't do that anymore), but you could always manually deploy the portable version there and then unselect "make portable" so the config and logs are held in the user directory. |
That's a good idea! I installed it that way now and it works. I will close this issue as resolved. Thanks again! |
OGCS Version: v2.11.0
Edition: Installed
Sync Direction: O->G
Bug Description
I just upgraded from v2.10.0 to v2.11.0. That version worked flawlessly for years. The new version throws an error and warning for every item. It can't sync any item.
Steps to Reproduce the Issue
Just start OGCalSync and start a sync process.
For every item in Outlook I get a message in the application like this:
When OGCalSync started deleting all item from my Google Calendar, I cancelled the sync to not loose everything!
Any other information
OGcalsync.log is attached, but I removed many lines that mentioned privacy information. I'm not allowed to share that publicly because of EU privacy legislation.
There are quite some lines like this:
2024-08-12 13:17:27,220 ERROR 11 OutlookGoogleCalendarSync.Exception [66] - at Microsoft.Office.Interop.Outlook._AppointmentItem.get_AllDayEvent()
at OutlookGoogleCalendarSync.Outlook.Calendar.GetEventSummary(AppointmentItem ai, String& eventSummaryAnonymised, Boolean onlyIfNotVerbose) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Outlook\OutlookCalendar.cs:line 1487
There is no user 'Paul' on my PC, nor does this directory exist.
OGcalsync-censored.log
The text was updated successfully, but these errors were encountered: