corpnewt / SSDTTime

SSDT/DSDT hotpatch attempts.
MIT License
1.09k stars 180 forks source link

Error 9009 on Windows #27

Open Schoggiweggli opened 4 years ago

Schoggiweggli commented 4 years ago

Running Windows 10 1909 and i get:

Script exited with error code: 9009

upon opening SSDTTime.bat with Python 3.8.3. Runs fine on a VM but that's useless. Any idea ?

corpnewt commented 4 years ago

Can you run this script which collects some debugging info about your pathing/python setup - and then show me the output?

-CorpNewt

Schoggiweggli commented 4 years ago
"C:\WINDOWS\system32\" "C:\WINDOWS\system32\"
New PATH var:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\PuTTY\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\au\AppData\Local\Microsoft\WindowsApps;C:\Users\au\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Bandizip\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Users\au\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Bandizip\

Python path list (C:\WINDOWS\system32\where.exe python):

C:\Users\au\AppData\Local\Microsoft\WindowsApps\python.exe

Iterating python list
Checking python version at "C:\Users\au\AppData\Local\Microsoft\WindowsApps\python.exe"
- Checking for version number: "was"
Checking python version at "C:\Users\au\AppData\Local\Microsoft\WindowsApps\python3.exe"
- Checking for version number: "was"
Checking python version at "C:\Windows\py.exe"
- Checking for version number: "3.8.3"
- Got version number
- Validating version was captured
- Got valid version: "3.8.3"
- Python 3
- Version is higher than current - saving

Python 2 path found:  ""
Python 2 version:     ""
Python 3 path found:  "C:\Windows\py.exe"
Python 3 version:     "3.8.3"
corpnewt commented 4 years ago

If all has gone to plan, the latest commit should fix the 9009 error.

-CorpNewt