-
Notifications
You must be signed in to change notification settings - Fork 26
get_coreclr exception on Windows 32 bit #14
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
Comments
Could you test whether replacing the given erroring line by
works and create a PR if it does? I don't have a system to test this with, the code is relevant for 32bit processes on 64bit Windows systems. |
Do you mean: Actually, instead of this checking of if sys.platform == "win32":
prog_files = os.environ.get("ProgramFiles") This returns:
Isn't that what you want? |
I submitted pull request: #15 with the change that I suggested above.
|
Hi @filmor. Does the PR look ok? It's my first one on github so I hope that I did it right! |
Thanks for approving and merging the PR. Closing this issue. |
Using clr-loader 0.1.6 with pythonnet 3.0.0.dev1.
When running on 32 bit Windows, when my code calls:
It throws exception:
This is because clr_loader/util/find.py tries to read environment variable "ProgramFiles(x86)" but it doesn't exist on 32 bit Windows:
The text was updated successfully, but these errors were encountered: