*RE: Can you enable breaking on the import exception (or all exceptions and
continue after these) and see what the last exception is?*
Sorry, I am not familiar how to do this. I search for some tutorial, but if
you have some wiki out there I can use, I can probably give it a try.
Regards,
Yngipy
Hi Curt,
Your suggestion gives me:
TypeError: expected Array[Byte], got array
bytes is a Python array. I tried:
Marshal.Copy.Overloads[Array[Byte], int, IntPtr, int]
(bytes.buffer_info()[0], 0, bmData.Scan0, total_bytes)
but that gave the error:
TypeError: expected Array[Byte], got int
This sma
Hello all,
IronPython 2.6.1:
>>> import clr
>>> clr.AddReference('IronPython')
>>> clr.AddReference('Microsoft.Scripting')
>>> from IronPython.Hosting import Python
>>> from Microsoft.Scripting import SourceCodeKind
>>> engine = Python.CreateEngine()
>>> scope = engine.CreateScope()
>>> text = '
I'm assuming the problem here is that this is exiting w/ a non-zero exit code
indicating something went wrong. But what went wrong really depends on what
the last exception is - there appears to be some failure to import something.
The other exceptions are expected as the standard library thro