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
Issue 2. You should update the instructions for multiple instances to note that using the cmd "start" requires a title or a blank double quote at the start (eg, start "" "c:\something long\run.exe") when your command line parameters have spaces in them.
Steps to Reproduce Issue 1
Launch two instances with different configurations via command line. Here are the actual lines from my batch file.
start "" "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\settings_fam.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\OGcalsync_fam.log" /t:"Curry Family Calendar"
start "" "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\JoshGmailCal\settings_jdc.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\JoshGmailCal\OGcalsync_jdc.log" /t:"Josh Gmail Calendar"
Notice the error window below pop up when the second command line runs
Steps to Reproduce Issue 2
Run the batch file without double quote "" at the start of a line.
start "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\settings_fam.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\OGcalsync_fam.log" /t:"Curry Family Calendar"
Notice error
Resolution is to add double quote before the command "start" so you have this syntax: start "" "c:\something long\run.exe"
phw198
changed the title
Incorrect error reporting Running Multiple Instances of OGCS with same configuration
Incorrectly reporting running multiple instances of OGCS with same configuration
Oct 22, 2023
OGCS Version: v2.10.0.0
Edition: Portable
Sync Direction: G->O
Bug Description
Issue 1. Application reports multiple instances running with the same configuration, but the instances are being launched with different configurations via the command line and instructions at https://github.com/phw198/OutlookGoogleCalendarSync/wiki/Running-Multiple-Instances-of-OGCS.
Issue 2. You should update the instructions for multiple instances to note that using the cmd "start" requires a title or a blank double quote at the start (eg, start "" "c:\something long\run.exe") when your command line parameters have spaces in them.
Steps to Reproduce Issue 1
start "" "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\settings_fam.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\OGcalsync_fam.log" /t:"Curry Family Calendar"
start "" "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\JoshGmailCal\settings_jdc.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\JoshGmailCal\OGcalsync_jdc.log" /t:"Josh Gmail Calendar"
Steps to Reproduce Issue 2
start "C:\Curry Data\Apps\Outlook Google Calendar Sync\OutlookGoogleCalendarSync.exe" /s:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\settings_fam.xml" /l:"C:\Curry Data\Apps\Outlook Google Calendar Sync\CurryFamilyCal\OGcalsync_fam.log" /t:"Curry Family Calendar"
See resolution on this command line issue at https://www.donationcoder.com/forum/index.php?topic=33979.0#:~:text=If%20you%20want%20to%20use,title%20argument%20in%20double%20quotes.
Any other information
Logs for both configs are attached.
OGcalsync_jdc.log
OGcalsync_fam.log
The text was updated successfully, but these errors were encountered: