Exception:Failed to create Python type for KnownFolderPython object finalization failedPython runtime was shut down after this object was created. It is an error to attempt to dispose or to continue using it even after restarting the runtime.

报错信息

InternalPythonnetException: Failed to create Python type for KnownFolder
StackTrace:
   在 Python.Runtime.ReflectedClrType.GetOrCreate(Type type)
   在 Python.Runtime.ModuleObject.GetAttribute(String name, Boolean guess)
   在 Python.Runtime.ModuleObject.LoadNames()
   在 Python.Runtime.ImportHook.UpdateCLRModuleDict()
   在 Python.Runtime.PythonEngine.Initialize(IEnumerable`1 args, Boolean setSysArgv, Boolean initSigs)
   在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.<>c__DisplayClass41_1.Os3dUPMAmTf()
   在 uvhkmqEw9FKNVCcUAkJ.LINSpQE1Qn5XeDwvkmu.<>c__DisplayClass3_0.Brg9GR5bfJI()
   在 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()

FinalizationException: Python object finalization failed
--Handle: 2817853753600
StackTrace:
   在 Python.Runtime.Finalizer.HandleFinalizationException(IntPtr obj, Exception cause)
   在 Python.Runtime.Finalizer.DisposeAll(Boolean disposeObj, Boolean disposeDerived, Boolean disposeBuffer)
   在 Python.Runtime.Finalizer.ThrottledCollect()
   在 Python.Runtime.PyObject..ctor(StolenReference& reference)
   在 Python.Runtime.PyInt..ctor(Int32 value)
   在 Python.Runtime.PyObject.GetItem(Int32 index)
   在 Python.Runtime.TypeManager.InitializeBases(PyType pyType, PyTuple baseTuple)
   在 Python.Runtime.TypeManager.InitializeClassCore(Type clrType, PyType pyType, ClassBase impl)
   在 Python.Runtime.ReflectedClrType.GetOrCreate(Type type)

RuntimeShutdownException: Python runtime was shut down after this object was created. It is an error to attempt to dispose or to continue using it even after restarting the runtime.
StackTrace:


 

解决方法

暂无解决方案。

相关信息
1 查看
29天1小时前
Quicker版本
版本 反馈次数
1.43.68 1