[Python.NET] Exception at PythhonEngine.Initialize()

"Simunic,Kresimir" <Kresimir.Simunic-mxOznoZa93FWk0Htik3J/[email protected]> Thu, 8 Dec 2016 12:15:41 +0000
Newsgroups gmane.comp.python.dotnet
Message-ID <140586760BB9EB4B915EB258E3CFB7C00112ABC298@VM-SERVER76.local.reifenhauser.com>
Hi all,

I use one third-party DLL (.NET) and after loading this DLL and then calling PythonEngine.Initialize() following exception will be thrown:

12/8/2016 1:05:34 PM: System.Reflection.ReflectionTypeLoadException Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   bei System.Reflection.Assembly.GetTypes()
   bei Python.Runtime.AssemblyManager.ScanAssembly(Assembly assembly)
   bei Python.Runtime.AssemblyManager.Initialize()
   bei Python.Runtime.Runtime.Initialize()
   bei Python.Runtime.PythonEngine.Initialize()

If I first call PythonEngine.Initialize() and then call this third-party DLL, everything is fine.

The producer of this third-party DLL tells me the problem is not with them but with Python DLL.

Can somebody help me ?

Thanks.

Regards,

Kresimir.



Reifenh?user Reicofil GmbH & Co. KG
Spicher Stra?e 46, 53844 Troisdorf, Germany
Registergericht Siegburg, Reg.Nr. HR A 4534
USt-IdNr. DE 814359351, Steuer-Nr. 5220/5760/0426
Reifenh?user Reicofil Verwaltungs-GmbH
Registergericht Siegburg, Reg.Nr. HR B 788
Gesch?ftsf?hrer: Dr.-Ing. Bernd Kunze

Please note: This message may contain information which is privileged, confidential and proprietary.

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet