-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
automatic update process broken under windows 11 #163
Comments
I don't think the automatic update process is broken since there is a unit which still passes on Windows. From the looks of it there is something else wrong, most likely your options, which causes this. Can you post the channel logs from vscode along with your Fortran settings. |
The error msg is indicating that smth is wrong with the settings, but installing the newest version like I mentioned or updating manually works fine. The message is not appearing. further options concerning fortran: "fortran.preferredCase": "lowercase",
"[FortranFixedForm]": {
"editor.rulers": [
{
"column": 72,
"color": "#E06C75"
},
{
"column": 6,
"color": "#E06C75"
}
]
}, Log:
I tried again because of the err msg indicated that there might be a fortls version already running so I made sure no fortls was running in the taks manager and retried but the same error appears. This is not happening since 2.11.0. Its already like this for a couple of version and on my working and private machine. I can try tomorrow on a collouegues machine because both of my machines are probably setup in a very similar way. Not sure if |
I think there is something funny going on with Windows 11 and the file permissions. My uneducated guess is that Windows puts a lock on folders that have running processes thus not allowing VS Code spawned pip to run and update like it is supposed to. I don't think it's
That should run to completion and when restarting As a last effort you can attempt to upgrade your pip installation python -m pip install --upgrade pip If it is Windows itself (or anything else that is close to OS level) it won't be possible to fix, since it would require |
|
despite |
Apologies, the The So I am not sure I get what is going on. Did you try and update your |
Thats what I did:
Then I did the same again but without No update of pip (was anyway on latest version). So |
Oh damn, I missed something! This is how fortls upgrades |
Describe the bug
Once a new version is released and due to a start of VSCode an update is triggered, the installation fails.
To Reproduce
Install older version of current one.
Start VSCode to trigger automatic update process

Restart VSCode

Check
c:\Users\<USER>\AppData\Local\Programs\Python\Python310\Lib\site-packages\
folder: There are now two folders named:~ortls-2.10.0.dist-info
and~ortls
. There is nofortls
folderBy executing
pip install fortls
the installation of the current version is performed correclty. Just the leftover folder are still there and have to be deinstalled manually.When still on 2.10 and
pip install fortls --upgrade
is exectued manually there are no ghostfolders and the 2.11 is installed.Expected behavior
Normal update process
Setup information (please complete the following information):
The text was updated successfully, but these errors were encountered: