InvalidCastException: 不支持的格式转换,目标类型:List 源对象:Python.Runtime.PyObject ['hello1', 'hello2', 'hello3'] StackTrace: 在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\Variables\VariableHelper.cs:行号 270 在 Quicker.Domain.Actions.ActionExecuteContext.SetVarValueWithConvert(String varName, Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\Runtime\ActionExecuteContext.cs:行号 458 在 Quicker.Domain.Actions.ActionExecuteContext.SetVarValue(String varName, Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\Runtime\ActionExecuteContext.cs:行号 418 在 Quicker.Public.StepContext.SetVarValue(String varName, Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Public\StepContext.cs:行号 146 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Python.Runtime.PythonException.ThrowLastAsClrException() 在 Python.Runtime.PythonException.ThrowIfIsNull(NewReference& ob) 在 Python.Runtime.PyModule.Exec(String code, BorrowedReference _globals, BorrowedReference _locals) 在 Python.Runtime.PyModule.Exec(String code, PyDict locals) 在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.<>c__DisplayClass37_1.<Execute>b__1() 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\BuildinRunners\Other\RunPythonScriptStep.cs:行号 176 在 Quicker.Utilities.ThreadHelpers.<>c__DisplayClass1_0.<RunInStaThreadAndWait>b__0() 位置 D:\Work\Quicker\QuickerPc\Quicker\Utilities\ThreadHelpers.cs:行号 57 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Threading.ThreadHelper.ThreadStart() AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 StackTrace: 在 Python.Runtime.Runtime.PyLong_FromLongLong(Int64 value) 在 Python.Runtime.PyInt..ctor(Int32 value) 在 Python.Runtime.PyObject.GetItem(Int32 index) 在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToList(Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\Variables\VariableHelper.cs:行号 578 在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\Variables\VariableHelper.cs:行号 248