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

Simunic,Kresimir Kresimir.Simunic at Reicofil.com
Thu Dec 8 07:15:41 EST 2016


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20161208/ef2d6c18/attachment.html>


More information about the PythonDotNet mailing list