-
Notifications
You must be signed in to change notification settings - Fork 160
Description
Calling the following Pythoncode results in a crash.
for fairing in vessel.parts.fairings:
fairing.jettison()The errorcode looks like this:
Traceback (most recent call last):
File "", line 2, in
File "", line 1, in
File "C:\Program Files (x86)\Python37-32\lib\site-packages\krpc\client.py", line 140, in _invoke
raise self._build_error(response.results[0].error)
krpc.error.RPCError: Object reference not set to an instance of an object
Server stack trace:
at KRPC.SpaceCenter.Services.Parts.Fairing.get_Jettisoned () [0x00000] in :0
at KRPC.SpaceCenter.Services.Parts.Fairing.Jettison () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Calling the following code works:
for fairing in vessel.parts.fairings:
for module in fairing.part.modules:
if module.name == 'ModuleProceduralFairing':
module.trigger_event('Deploy')I tested this with the AE-FF1 Airstream Protective Shell (1.25m)