You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom colour maps for Outlook categories are repeatedly, randomly giving "invalid map error" windows and reverting to default Outlook categories
#1823
Closed
soapy12 opened this issue
Mar 25, 2024
· 5 comments
Bug Description
During some syncs, OGCS window pops up saying that the custom colour map is invalid, and asks me to correct it; then when I click yes it opens to the colour mapping window. However, on this window, in the outlook categories column all of my categories from outlook have reverted to the default outlook colour name categories (I have renamed my own categories on outlook). I will usually just click no, but the window will keep popping up a few times. Whether this issue happens or not seems to be random, but it has been happening everyday since I turned on custom categories. It will sometimes be fine, but then sometimes out of nowhere when I am working the "invalid colour map" popup window will randomly appear.
I don' have any clue what to look for in the logs, but I have seen the following line (below):
03-25 10:45:21,633 WARN 1 OutlookGoogleCalendarSync.OutlookOgcs.Categories [154] - Failed getting non-default mailbox categories. Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MAPIFolder'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063006-0000-0000-C000-000000000046}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).
The above line pops up a bunch of times in the sections of the log that say could not convert category name x/y/z into outlook category type. The next line after that is: Reverting to default mailbox categories.
Steps to Reproduce the Issue
Unsure of how to reproduce as it currently seems to be occurring at random.
Any other information
I am using an alternative mailbox as I use OGCS to sync my university/research email calendar to my personal G-cal.
The log I have included here has debug, fine, and ultra fine levels in there - I believe that the issue presented at each level too.
I have also included a few screenshots of other related (I think?) error windows, etc,.
I'm keen to get the next alpha release out and include this supposed fix anyway. Please do still update up here though and reopen the issue if necessary.
Thanks, always good to hear the hours put into the tool are appreciated 👍🏻
The issue was a rather intricate one related to the connection OGCS has to the Outlook client. When the client is closed between syncs, OGCS has to detect this and explicitly reconnect to it - the problem was for connection to the alternative mailbox to get the categories, it wasn't quite handling it properly....and then reverting back to the default mailbox and its categories.
There are so many permutations of OGCS configuration possible now, and almost endless "odd" scenarios that crop up on user's machines that this kind of thing is very hard to test against!
OGCS Version: v2.10.3.0
Edition: Installed
Sync Direction: O->G
Bug Description
During some syncs, OGCS window pops up saying that the custom colour map is invalid, and asks me to correct it; then when I click yes it opens to the colour mapping window. However, on this window, in the outlook categories column all of my categories from outlook have reverted to the default outlook colour name categories (I have renamed my own categories on outlook). I will usually just click no, but the window will keep popping up a few times. Whether this issue happens or not seems to be random, but it has been happening everyday since I turned on custom categories. It will sometimes be fine, but then sometimes out of nowhere when I am working the "invalid colour map" popup window will randomly appear.
I don' have any clue what to look for in the logs, but I have seen the following line (below):
The above line pops up a bunch of times in the sections of the log that say could not convert category name x/y/z into outlook category type. The next line after that is:
Reverting to default mailbox categories.
Steps to Reproduce the Issue
Unsure of how to reproduce as it currently seems to be occurring at random.
Any other information
I am using an alternative mailbox as I use OGCS to sync my university/research email calendar to my personal G-cal.
The log I have included here has debug, fine, and ultra fine levels in there - I believe that the issue presented at each level too.
I have also included a few screenshots of other related (I think?) error windows, etc,.
OGcalsync.log
Just to add - I absolutely love the application!
Cheers!
The text was updated successfully, but these errors were encountered: