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
COMError Traceback (most recent call last)
C:\Users\HPZ620~1\AppData\Local\Temp/ipykernel_7984/280915811.py in
36 #Get all the access interval start and stop times
37 accessReport = access.DataProviders.Item("Access Data").QueryInterface(STKObjects.IAgDataPrvInterval)
---> 38 accessIntervals = accessReport.ExecElements(scenario2.StartTime, scenario2.Stoptime, ["Access Number","Start Time", "Stop Time"])
39 accessIntervals = list(accessIntervals.DataSets.ToArray())
40 #Get Az El data for each access interval
COMError: (-2147417851, 'The server threw an exception.', (None, None, None, 0, None))
The text was updated successfully, but these errors were encountered:
Hi there - this seems to be a problem with Python 3.8's compatibility with the comtypes library, which is documented in the comtypes repo here. I would recommend trying this script again with Python 3.7 or creating a new script using the new Python API.
COMError Traceback (most recent call last)
C:\Users\HPZ620~1\AppData\Local\Temp/ipykernel_7984/280915811.py in
36 #Get all the access interval start and stop times
37 accessReport = access.DataProviders.Item("Access Data").QueryInterface(STKObjects.IAgDataPrvInterval)
---> 38 accessIntervals = accessReport.ExecElements(scenario2.StartTime, scenario2.Stoptime, ["Access Number","Start Time", "Stop Time"])
39 accessIntervals = list(accessIntervals.DataSets.ToArray())
40 #Get Az El data for each access interval
COMError: (-2147417851, 'The server threw an exception.', (None, None, None, 0, None))
The text was updated successfully, but these errors were encountered: