13
« on: June 20, 2017, 11:29:59 AM »
Hi,
I tried to use PY plugin under WIn10x64, but it doesn't seem to initialize correctly.
It throws the following error when trying to execute command:
Action from plugin: C:\VoxCommando\Plugins\PY\PY.dll
Action ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
at vcPlugin.iPy.execString(String strCode)
at vcPlugin.Plugin.doAction(String[] parsedActions, String[] parsedParams)
And the following while reinitializing:
System.Reflection.TargetInvocationException: Failed to load language 'IronPython 2.7.5': Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)'. ---> System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)'.
at IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded(Object sender, AssemblyLoadedEventArgs e)
at IronPython.Runtime.Binding.PythonBinder..ctor(PythonContext pythonContext, CodeContext context)
at IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary`2 options)
--- End of inner exception stack trace ---
at Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)
at Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager manager, LanguageConfiguration config)
at Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)
at Microsoft.Scripting.Runtime.ScriptDomainManager.GetLanguageByTypeName(String providerAssemblyQualifiedTypeName)
at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngineByTypeName(String assemblyQualifiedTypeName)
at IronPython.Hosting.Python.GetEngine(ScriptRuntime runtime)
at vcPlugin.iPy.initializeEngine()
Besides - is it possible to replace IronPytnon libraries with newer ones, will they be compatible?