python / cpython

The Python programming language
https://www.python.org
Other
63.14k stars 30.23k forks source link

_findvs failing on Windows 10 (Release build only) #77109

Closed cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 closed 6 years ago

cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 commented 6 years ago
BPO 32928
Nosy @pfmoore, @tjguk, @merwok, @zware, @zooba, @dstufft, @WildCard65

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = None closed_at = created_at = labels = ['3.8', 'type-crash', 'extension-modules', 'invalid', '3.7', 'library', 'OS-windows'] title = '_findvs failing on Windows 10 (Release build only)' updated_at = user = 'https://github.com/WildCard65' ``` bugs.python.org fields: ```python activity = actor = 'WildCard65' assignee = 'none' closed = True closed_date = closer = 'WildCard65' components = ['Distutils', 'Extension Modules', 'Library (Lib)', 'Windows'] creation = creator = 'WildCard65' dependencies = [] files = [] hgrepos = [] issue_num = 32928 keywords = [] message_count = 6.0 messages = ['312673', '312678', '312679', '312728', '312731', '312732'] nosy_count = 7.0 nosy_names = ['paul.moore', 'tim.golden', 'eric.araujo', 'zach.ware', 'steve.dower', 'dstufft', 'WildCard65'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = 'resolved' status = 'closed' superseder = None type = 'crash' url = 'https://bugs.python.org/issue32928' versions = ['Python 3.6', 'Python 3.7', 'Python 3.8'] ```

cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 commented 6 years ago

The distutils module _findvs is failing on my Windows 10 PRO machine with the following error: OSError: Error 80070002

Note: Building Python 3.6 in debug for some reason doesn't cause the error.

zooba commented 6 years ago

You mean build? Or use?

Can you share build logs?

cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 commented 6 years ago

Use, when distutils calls findall in the module, it results in the OSError being thrown.

cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 commented 6 years ago

Looks like something wierd about my computer as the powershell module that interacts with the API also has the issue with Windows reporting "File not found" for a 2nd instance (maybe Community edition of VS)

zooba commented 6 years ago

If you think it should be working, go ahead and use the Report a Problem tool in VS to let the team know about the PowerShell module. There might be a case that isn't handled properly in their code that they can fix (obviously they don't know/care about the Python module, but we are using the same API).

cbbc42d0-1c72-4dd1-93d4-8553b09ac1c0 commented 6 years ago

The powershell module that interacts with the API works if I don't supply "-All", supplying said option produces the same issue that is plagues me when _findvs.findall() is used.