Hello,
use the version from GitHub
https://github.com/pythonnet/pythonnet
Starting with the 4.5.X runtime there are types which do not have a namespace. Hence the original code which uses the namespace of a type
internal static void Register(Type t) {
Dictionary<string, List<string>> nsmap = null;
mapping.TryGetValue(t.Namespace, out nsmap);
will throw an ArgumentNullException. This code is corrected in the github version:
internal static void Register(Type t) {
if (null == t.Namespace || null == t.Name)
return;
Regards
Stefan
From: PythonDotNet [mailto:pythondotnet-bounces+sschukat=dspace.de@python.org]
On Behalf Of Simunic,Kresimir
Sent: Friday, February 19, 2016 10:39 AM
To: A list for users and developers of Python for .NET <pythondotnet@python.org>
Subject: Re: [Python.NET] PythonEngine.Initialize() exception
Is this the problem with Windows Server 2012 R2 (or .NET 4.5.1) ?
Can I download somewhere Python.Runtime DLL where this problem is fixed ?
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.