[issue45789] Python execution broken after update via Windows Store

2021-11-11 Thread firewave
firewave added the comment: I checked them and they look fine. I have Python 3.10 installed as well so the non-suffix and "3" suffix-only executable refer to that. All the "3.9" suffix ones point to the "Python 3.9

[issue45789] Python execution broken after update via Windows Store

2021-11-11 Thread firewave
New submission from firewave : I have Python 3.9 installed from the Windows Store and use it in CMake scripts. After the recent update to 3.92288.0 Python executions suddenly started failing with "Access is denied". I assumed I was using a wrong or cached path but that didn'

[issue45789] Python execution broken after update via Windows Store

2021-11-12 Thread firewave
firewave added the comment: The "python3.9.exe" link is that one also points to the earlier version. All other links are fine. Also all those files are 0 bytes - even the working ones. Since I cannot even run the actual executable there seems to be an issue with the executab

[issue45789] Python execution broken after update via Windows Store

2021-11-12 Thread firewave
firewave added the comment: The python3.9.exe file in the WindowsApps folder looks like a real executable and not a link. The script also backs that python3 read_appexec.py "c:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\python3.

[issue45789] Python execution broken after update via Windows Store

2021-11-12 Thread firewave
firewave added the comment: Thanks a lot for all the details. I used the script to check all the 3.9 appexec links and only the "python3.9" one points to the wrong executable. Version: 3 Package ID: PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0 E

[issue45789] Python execution broken after update via Windows Store

2021-11-12 Thread firewave
firewave added the comment: That didn't work. The link is wrong on the disk and that setting just controls the usage of it not the creation. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45789] Python execution broken after update via Windows Store

2021-11-16 Thread firewave
firewave added the comment: Today 3.9.2544.0 was automatically installed on my system. Interestingly it did not update the broken "python3.9.exe" appexec links. The timestamp is still from the last update and the links still point to 3.9.2032.0. All other links we

[issue45789] Python execution broken after update via Windows Store

2022-02-09 Thread firewave
firewave added the comment: I figured it out. I tried to delete the files using PowerShell and I got the following: Remove-Item : Cannot remove item C:\Users\Username\AppData\Local\Microsoft\WindowsApps\python.exe: The process cannot access the file 'C:\Users\Username\AppData\Local

[issue45789] Python execution broken after update via Windows Store

2022-02-09 Thread firewave
firewave added the comment: Actually "Process Explorer" finds the handle as well. No idea why it didn't come up in my last search. -- ___ Python tracker <https://bugs.python.o

[issue45789] Python execution broken after update via Windows Store

2022-02-09 Thread firewave
firewave added the comment: A few weeks ago I was able to re-install Python 3.9 and 3.10 after manually removing the %LocalAppData%\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.* and disabling/enabling the applinks manually and uninstalling/installing a few times to get rid