Skip to content
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

Activating extension #4229

Closed
Dhruv984 opened this issue Apr 19, 2021 · 15 comments
Closed

Activating extension #4229

Dhruv984 opened this issue Apr 19, 2021 · 15 comments

Comments

@Dhruv984
Copy link

I had not used VS Live Share in a while, but attempted to use it today only to learn that it does not work. In the VS Code "Live Share" tab, if I select any of the three "Join collaboration session...", "Start collaboration session...", or "Start read-only collaboration session..." links, nothing happens. If I click on the "Start Collaboration Session (Share)" icon at the top of the tab, I see an error notification pop up in the bottom right saying: command 'liveshare.startFromActivityBar' not found.

@mfouesneau
Copy link

mfouesneau commented Apr 20, 2021

Installation of the VS code extension works normally, but nothing works after.

Looking at the logs:

Error when starting the extension

ERR ENOENT: no such file or directory, unlink '../.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4131/cascade.json': Error: ENOENT: no such file or directory, unlink '../.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4131/cascade.json'

Error when trying to start a session

 ERR command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
    at w._tryExecuteCommand (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3364)
    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3245
    at async u.open (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:627:18599)
    at async l.open (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:627:20623)

Versions:

Mac os 10.15
vs-liveshare 1.0.4131
vscode ----
Version: 1.55.2 (Universal)
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:36:32.643Z (6 days ago)
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 19.6.0

I did remove the extension and its directory for a clean reinstall. This does not change the issue.

@Dhruv984
Copy link
Author

Installation of the VS code extension works normally, but nothing works after.

Looking at the logs:

Error when starting the extension

ERR ENOENT: no such file or directory, unlink '../.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4131/cascade.json': Error: ENOENT: no such file or directory, unlink '../.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.4131/cascade.json'

Error when trying to start a session

 ERR command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
    at w._tryExecuteCommand (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3364)
    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3245
    at async u.open (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:627:18599)
    at async l.open (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:627:20623)

Versions:

Mac os 10.15
vs-liveshare 1.0.4131
vscode ----
Version: 1.55.2 (Universal)
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:36:32.643Z (6 days ago)
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 19.6.0

I did remove the extension and its directory for a clean reinstall. This does not change the issue.

SIMILAR ISSUE PLEASE HELP.

@alyssajotice
Copy link
Contributor

Hey @Dhruv984 and @mfouesneau, sorry about the issue you're having and thanks for reaching out to Live Share. Can you start by trying Live Share on the most recent Insiders build? https://code.visualstudio.com/insiders/ Another thing to try is running the command Live Share: Repair Installation from the command palette. Sometimes these errors happen when the agent is not properly activating. Can you check your activity monitor to see if there is a program running called 'vsls-agent'?

@mfouesneau
Copy link

I used the repair installation mentioned by @alyssajotice, it worked. I did not try the insider's build.

This solution should be pinned/promoted. I never saw this command anywhere.

@Davsterl
Copy link
Member

@Dhruv984 , please let us know if the repair functionality is working well for you as well.

@Dhruv984
Copy link
Author

Dhruv984 commented Apr 29, 2021 via email

@frankenstein91
Copy link

frankenstein91 commented Apr 21, 2022

Hi all
I have the same error.

OS: Arch Linux x86_64

code --version
1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64

repair installation did not help

[18834:0421/133351.051495:INFO:CONSOLE(610)] "%cTRACE color: #888 CommandService#executeCommand liveshare.startFromWelcomeContent", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[18834:0421/133351.052289:INFO:CONSOLE(610)] "%cTRACE color: #888 onWillActivateByEvent:  *", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[18834:0421/133351.064620:INFO:CONSOLE(610)] "%c  ERR color: #f33 command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
    at v._tryExecuteCommand (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1680:3532)
    at v.executeCommand (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1680:3414)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async i.open (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:610:62178)
    at async s.open (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:610:63952)", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[main 2022-04-21T11:33:51.277Z] menubarService#updateMenubar 1
[18834:0421/133352.070563:INFO:CONSOLE(610)] "%cTRACE color: #888 CommandService#executeCommand liveshare.startFromWelcomeContent", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)

ps aux shows no vsls-agent

@mfouesneau
Copy link

Did you try the repair installation call?

@frankenstein91
Copy link

@mfouesneau more than one time :(
also reinstalled vscode from AUR and the plug-in from the market place

@xgungnir
Copy link

xgungnir commented Apr 22, 2022

Hi all I have the same error.

OS: Arch Linux x86_64

code --version
1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64

repair installation did not help

[18834:0421/133351.051495:INFO:CONSOLE(610)] "%cTRACE color: #888 CommandService#executeCommand liveshare.startFromWelcomeContent", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[18834:0421/133351.052289:INFO:CONSOLE(610)] "%cTRACE color: #888 onWillActivateByEvent:  *", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[18834:0421/133351.064620:INFO:CONSOLE(610)] "%c  ERR color: #f33 command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
    at v._tryExecuteCommand (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1680:3532)
    at v.executeCommand (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1680:3414)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async i.open (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:610:62178)
    at async s.open (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:610:63952)", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)
[main 2022-04-21T11:33:51.277Z] menubarService#updateMenubar 1
[18834:0421/133352.070563:INFO:CONSOLE(610)] "%cTRACE color: #888 CommandService#executeCommand liveshare.startFromWelcomeContent", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (610)

ps aux shows no vsls-agent

I have the same error as you post in arch linux. But I have some other errors showed before:

Globalization.Invariant` to true if you want to run with no globalization support.at System.Environment.FailFast(System.String)

My workaround is setting DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 in env and after that live share works.

@frankenstein91
Copy link

@ndxx can you please tell my where you set it for code? Global or in the starter?

@gncnpk
Copy link

gncnpk commented Apr 22, 2022

@frankenstein91 I did DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 code in my terminal to get Live Share working.

@xgungnir
Copy link

xgungnir commented Apr 23, 2022

@frankenstein91 For me I just set it in .profile file with export. You can also set it in your .bashrc or .zshrc as well.

It seems that vscode with this extension does not read the icu package which has been already installed. I have no idea about the root cause of it.
https://archlinux.org/packages/?sort=&q=icu

Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically in 2 days.

@github-actions github-actions bot added the Stale label Aug 15, 2022
@derekbekoe
Copy link
Collaborator


We’ve made improvements in this area since this issue was filed. We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.

@derekbekoe derekbekoe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants