-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different behaviour of simple script when compiled #1745
Comments
I made other tests, unfortunately all unsuccessful:
ipy -X:ShowClrExceptions -X:ExceptionDetail testIPY.py By doing this, I found out that a dependency dll cannot be found, which is also obfuscated.
I hope this may help in finding a solution, the main problem to me is to assure that the same assembly loading mechanism has to be used both for compiled and non compiled scripts. |
Anyone having the same problem? |
Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted in Discussions or to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.
Description
In loading a .NET dll, I get a SystemError that does not come out when compiling with ipyc. See code below.
Steps to Reproduce
Code used in file testIPY.py
ipy testIPY.py
I get:ipyc /main:testIPY.py /target:exe
, I can run testIPY.exe flawlessly. Output is:Version Information
If you are using the
ipy
console program, provide output of executingipy -VV
. If it is a local build, provide also the git hash of the commit used to build IronPython. Additionally, provide the type of the operating system used.Ufortunately I cannot share the DLL, which is obfuscated. Debug DLL does not exhibit the same problem.
The text was updated successfully, but these errors were encountered: