-
Notifications
You must be signed in to change notification settings - Fork 14
DLS fails to upgrade #56
Comments
You may also test wheter this issue also occurs with Intellij on macOS (gtache LSP plugin). I just wonder wheter it is a DLS issue or a VSC issue. I can confirm it doesn't occur on Windows with Intellij. |
I’m pretty certain it’s DLS because all the update code is in DLS—vs-code just displays the notifications. The state of the `bin` folder shows that the bug is happening in the middle of the update.
… On Jul 26, 2019, at 11:59 AM, andre2007 ***@***.***> wrote:
You may also test wheter this issue also occurs with Intellij on macOS (gtache LSP plugin). I just wonder wheter it is a DLS issue or a VSC issue. I can confirm it doesn't occur on Windows with Intellij.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#56?email_source=notifications&email_token=AACWEPUR5FAHBDNNKYUIJI3QBNCSPA5CNFSM4IHF3ASKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD25OGPQ#issuecomment-515564350>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AACWEPRNI47KXESMHVXRUXTQBNCSPANCNFSM4IHF3ASA>.
|
I'm sorry, but I have bad news here: I don't have this issue, on Linux or on Windows. This makes it look like a platform specific issue, and I don't have a macOS machine to test on. The fact that the directory for the new release is created but not filled hints towards problems during the download; I fear this could be something like a problem with the libcurl distributed with macOS. Or macOS simply doesn't have a libcurl installed by default; I always assumed it was the case. |
Does the regular DLS install process use libcurl? The DLS install does succeed for me, just not the upgrade.
… On Jul 26, 2019, at 12:52 PM, Laurent Tréguier ***@***.***> wrote:
I'm sorry, but I have bad news here: I don't have this issue, on Linux or on Windows. This makes it look like a platform specific issue, and I don't have a macOS machine to test on. The fact that the directory for the new release is created but not filled hints towards problems during the download; I fear this could be something like a problem with the libcurl distributed with macOS. Or macOS simply doesn't have a libcurl installed by default; I always assumed it was the case.
So the only thing I could tell you right now is to check if libcurl is installed on your system, if it isn't then installing it could solve the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#56?email_source=notifications&email_token=AACWEPXTEEIXWTC2Q5PH3TTQBNIZNA5CNFSM4IHF3ASKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD25RXUY#issuecomment-515578835>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AACWEPTPGGDA54B6S4DXAUDQBNIZNANCNFSM4IHF3ASA>.
|
Oh. Yes, it does, so that's not the problem, I spoke without thinking here... |
Frustratingly, a locally built dls does the upgrade correctly for me. Perhaps it's some sort of macOS gatekeeper issue, since it appears that least for vs-code the initial install uses dub to build the bootstrapper but upgrades use the downloaded dls to bootstrap the next version. In any case I'm not sure how else to try tracking this down :( |
I don't know wheter this helps you: you can rename application |
This has been a recurring issue for me. Every time there's a new release of DLS, vs-code shows a "Upgrading DSL" notification with an in-progress indicator, but the notification never goes away and the upgrade never completes.
To complete an upgrade, I have to quit vs-code and delete all the directories under
~/.dub/packages/.bin/
. After starting vs-code again, DLS installs correctly.If it helps to diagnose the issue, for this current release under
~/.dub/packages/.bin/
I have adls-v0.25.13
directory and adls-v0.25.14
directory. The latter directory is empty.dis-latest
points todls-v0.25.13
.I'm on macOS Mojave 10.14.6 although the same issue has happened to me on earlier versions of macOS too.
The text was updated successfully, but these errors were encountered: