8000 fix hkey cleanup by rico-chet · Pull Request #192 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

fix hkey cleanup #192

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

Closed
wants to merge 2 commits into from
Closed

fix hkey cleanup #192

wants to merge 2 commits into from

Conversation

rico-chet
Copy link
Contributor

fix for AttributeError: 'NoneType' object has no attribute 'Close', full Traceback (most recent call last):
File "", line 1, in
File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 99, in
_xbuild = ""%s"" % _find_msbuild_tool("msbuild.exe")
File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 77, in _find_msbuild_tool
hkey.Close()
AttributeError: 'NoneType' object has no attribute 'Close'

fix for AttributeError: 'NoneType' object has no attribute 'Close', full Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 99, in <module>
        _xbuild = "\"%s\"" % _find_msbuild_tool("msbuild.exe")
      File "C:\Users\foo\AppData\Local\Temp\pip-clrr6blj-build\setup.py", line 77, in _find_msbuild_tool
        hkey.Close()
    AttributeError: 'NoneType' object has no attribute 'Close'
@tonyroberts
Copy link
Contributor

@rico-chet thanks, but please don't include merge commits when creating PRs

@tonyroberts
Copy link
Contributor

cherry-picked relevant commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0