<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ah, yes. On my system (Vista, Python 2.4 or 2.5, pythonnet-2.0-alpha2)
only splitter.py works out of the three demos. I haven't tried to
figure out why...<br>
<br>
Craig.<br>
<br>
9/30/2008 9:13 PM dï, Dirk Krause pišdimiš:
<blockquote
cite="mid:72C1C9E5780A134F896530D480F22BB702142793@hermes.bitlab.de"
type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6001.18099" name="GENERATOR">
<div id="idOWAReplyText37734" dir="ltr">
<div dir="ltr"><font color="#000000" face="Arial" size="2">much
better! ...python itself runs now.</font></div>
<div dir="ltr"> </div>
<div dir="ltr"><font color="#000000" face="Arial" size="2">but not
really good either, trying to run helloform.py gives me:</font></div>
<div dir="ltr"> </div>
<div dir="ltr">D:\projects\pyov>helloform.py</div>
<div dir="ltr">Unbehandelte Ausnahme:
System.TypeInitializationException: Der Typeninitialisierer für
Python.Runtime.CodeGenerator hat<br>
eine Ausnahme verursacht. ---> System.InvalidCastException: Das
Objekt des Typs System.Reflection.Module kann nicht in T<br>
yp System.Reflection.Emit.ModuleBuilder umgewandelt werden.<br>
bei
System.Reflection.Emit.AssemblyBuilderData.GetInMemoryAssemblyModule()<br>
bei System.AppDomain.InternalDefineDynamicAssembly(AssemblyName
name, AssemblyBuilderAccess access, String dir, Evide<br>
nce evidence, PermissionSet requiredPermissions, PermissionSet
optionalPermissions, PermissionSet refusedPermissions, St<br>
ackCrawlMark& stackMark, IEnumerable`1 unsafeAssemblyAttributes)<br>
bei System.AppDomain.DefineDynamicAssembly(AssemblyName name,
AssemblyBuilderAccess access)<br>
bei Python.Runtime.CodeGenerator..cctor()<br>
--- Ende der internen Ausnahmestapelüberwachung ---<br>
bei Python.Runtime.DelegateManager.GetDispatcher(Type dtype)<br>
bei Python.Runtime.DelegateManager.GetDelegate(Type dtype, IntPtr
callable)<br>
bei Python.Runtime.EventObject.AddEventHandler(IntPtr target, IntPtr
handler)<br>
bei Python.Runtime.EventBinding.nb_inplace_add(IntPtr ob, IntPtr arg)<br>
bei Python.Runtime.Runtime.PyObject_Call(IntPtr pointer, IntPtr
args, IntPtr kw)<br>
bei Python.Runtime.MetaType.tp_call(IntPtr tp, IntPtr args, IntPtr
kw)<br>
bei Python.Runtime.Runtime.Py_Main(Int32 argc, String[] argv)<br>
bei Python.Runtime.PythonConsole.Main(String[] args)</div>
</div>
<div dir="ltr"><br>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>Von:</b> Craig Farrow
[<a class="moz-txt-link-freetext" href="mailto:craig_farrow@sil.org">mailto:craig_farrow@sil.org</a>]<br>
<b>Gesendet:</b> Di 30.09.2008 14:53<br>
<b>An:</b> Dirk Krause<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:pythondotnet@python.org">pythondotnet@python.org</a><br>
<b>Betreff:</b> Re: [Python.NET] error messages<br>
</font><br>
</div>
<div>Try the UCS2 directory.<br>
<br>
Craig.<br>
<br>
9/30/2008 5:54 PM dï, Dirk Krause pišdimiš:
<blockquote cite="" type="cite">
<div><font color="#000000" face="Arial" size="2">Hi,</font></div>
<div> </div>
<div><font face="Arial" size="2">I get the following error message
when trying to run the python.exe from python2.5-UCS4 (I have a fully
installed Python 2.5), any ideas? Vista professional here.</font></div>
<div> </div>
<div> </div>
<div><font color="#000000" face="Arial" size="2">... unfortunately
in german:</font></div>
<div><font face="Arial" size="2">"""</font></div>
<div>Unbehandelte Ausnahme: System.IO.FileLoadException: Die Datei
oder Assembly Python.Runtime, Version=0.0.0.0, Culture=neu<br>
tral, PublicKeyToken=null oder eine Abhängigkeit davon wurde nicht
gefunden. Die gefundene Manifestdefinition der Assemb<br>
ly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT:
0x80131040)<br>
Dateiname: Python.Runtime, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null<br>
bei Python.Runtime.Runtime.PyUnicode_FromUnicode(String s, Int32
size)<br>
bei Python.Runtime.Runtime.Initialize()<br>
bei Python.Runtime.PythonEngine.Initialize()<br>
bei Python.Runtime.PythonConsole.Main(String[] args)</div>
<div>"""</div>
<div> </div>
<div>Thanks,</div>
<div> Dirk</div>
<pre><hr size="4" width="90%">
_________________________________________________
Python.NET mailing list - <a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></pre>
</blockquote>
</div>
</blockquote>
</body>
</html>