Skip to content
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

Allow 1 way syncing of read-only google calendars #1531

Closed
BrettMichlitsch opened this issue Aug 30, 2022 · 3 comments
Closed

Allow 1 way syncing of read-only google calendars #1531

BrettMichlitsch opened this issue Aug 30, 2022 · 3 comments
Labels
bug Something's not working right duplicate Already covered by another issue

Comments

@BrettMichlitsch
Copy link

My kids sports teams, church calendars, and my sports leagues all have google calendars that are read-only calendars. It would be great to be able to sync those to my outlook. Just one-way from google to outlook.

@BrettMichlitsch BrettMichlitsch added the enhancement New feature label Aug 30, 2022
@phw198
Copy link
Owner

phw198 commented Aug 30, 2022

That should just work...! What happens when you try?

@BrettMichlitsch
Copy link
Author

BrettMichlitsch commented Aug 31, 2022

I cant create a profile without an exception occurring. I was just pressing continue through the exception then saving the profile. Everytime I load the profile I get this exception: I'm guessing maybe that why this isn't working.

************** Exception Text **************
System.ArgumentException: Items collection cannot be modified when the DataSource property is set.
   at System.Windows.Forms.ComboBox.CheckNoDataSource()
   at System.Windows.Forms.ComboBox.ObjectCollection.Clear()
   at OutlookGoogleCalendarSync.Forms.Main.UpdateGUIsettings_Profile() in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Forms\MainForm.cs:line 480
   at OutlookGoogleCalendarSync.SettingsStore.Calendar.SetActive() in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\SettingsStore\Calendar.cs:line 207
   at OutlookGoogleCalendarSync.Forms.Main.ddProfile_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Forms\MainForm.cs:line 1073
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

If I press sync for that profile I get this exception from the log files:

Problem encountered during synchronisation.
2022-08-31 11:58:37,347 ERROR  1 OutlookGoogleCalendarSync.Console [283] -  Object reference not set to an instance of an object.
2022-08-31 11:58:37,369 ERROR  1 OutlookGoogleCalendarSync.OGCSexception [28] -  System.NullReferenceException: Object reference not set to an instance of an object.
2022-08-31 11:58:37,370 ERROR  1 OutlookGoogleCalendarSync.OGCSexception [21] -  Code: 0x80004003,-2147467261; Location: StartSync() in Calendar.cs:222:60
2022-08-31 11:58:37,370 ERROR  1 OutlookGoogleCalendarSync.OGCSexception [65] -     at OutlookGoogleCalendarSync.Sync.Engine.Calendar.StartSync(Boolean manualIgnition, Boolean updateSyncSchedule) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:line 222
   at OutlookGoogleCalendarSync.Sync.Engine.Start(Boolean manualIgnition, Boolean updateSyncSchedule) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Engine.cs:line 212
   at OutlookGoogleCalendarSync.Sync.Engine.Sync_Requested(Object sender, EventArgs e) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Engine.cs:line 174
   at OutlookGoogleCalendarSync.Forms.Main.Sync_Click(Object sender, EventArgs e) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Forms\MainForm.cs:line 668

@phw198
Copy link
Owner

phw198 commented Sep 2, 2022

Yes, that first error at least will be fixed on #1480 - let me know if it works after applying that hotfix.

@phw198 phw198 added bug Something's not working right duplicate Already covered by another issue and removed enhancement New feature labels Nov 20, 2022
@phw198 phw198 closed this as completed Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working right duplicate Already covered by another issue
Projects
None yet
Development

No branches or pull requests

2 participants