Discussion:
[Python.NET] pythondotnet beta 2 initialization error.
J Stauft
2003-11-17 19:15:01 UTC
Permalink
Hello:

I am not sure if this is a bug, or just me attempting to run code on a
platform it was not designed for but ...

Here is the traceback I get when I attempt to display the 'helloform.py' using
the python version shipped with the .tar.gz
__________________________________________________________
C:\Desktop\PythonNet-1.0-beta2>python.exe .\demo\helloform.py

Unhandled Exception: System.ArgumentException: The parameter is incorrect.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode
, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal)
at Python.Runtime.StaticMethodWrapper..ctor(Type obType, String name)
at Python.Runtime.ImportHook.Initialize()
at Python.Runtime.Runtime.Initialize()
at Python.Runtime.PythonEngine.Initialize()
at PythonConsole.Main(String[] args)

C:\Desktop\PythonNet-1.0-beta2>
___________________________________________________________

I get the same traceback with PythonNet-1.0-beta1 , however, both
PythonNet-preview1 and PythonNet-preview2 continue to work fine ( at least
for the limited testing performed).

I am running Windows 98 (fully updated from Microsoft) using Win4Lin on top of
i386 linux , kernel 2.2.18. I have only one version of python on the
'virtual' machine (2.3.2) -- installed using the standard python.org.
installer.

The .NET Framework version is 1.1.4322

Any thoughts or suggestions?

Sincerely,
J






_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Brian Lloyd
2003-11-18 02:55:54 UTC
Permalink
Post by J Stauft
I am not sure if this is a bug, or just me attempting to run code on a
platform it was not designed for but ...
Here is the traceback I get when I attempt to display the
'helloform.py' using
the python version shipped with the .tar.gz
grr - it's a bug, and a really dumb one at that :( Fixed in CVS
for b3.

Brian Lloyd brian-***@public.gmane.org
V.P. Engineering 540.361.1716
Zope Corporation http://www.zope.com


_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet

Loading...