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

Live Share installation corrupt / command not found error #3822

Closed
NickyKatze opened this issue Sep 3, 2020 · 33 comments
Closed

Live Share installation corrupt / command not found error #3822

NickyKatze opened this issue Sep 3, 2020 · 33 comments

Comments

@NickyKatze
Copy link

Issue Type: Bug

Extension version: 1.0.2740
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:56:10.074Z)
OS version: Linux x64 5.4.0-45-generic snap

Steps to Reproduce / Scenario:

  1. Install VSCode via snap, or apt, or from a deb package
  2. Install Live Share in some way
  3. Use a command prompt to try to connect to a session, share session or log in.
  4. Get an error message stating function was not found.

Please attach logs to this issue:

When trying to access logs following error happens:

Command 'Live Share: Export Logs' resulted in an error (command 'liveshare.exportLogs' not found)

Screenshots
image
image

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 2600)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: disabled_software
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 3, 3, 3
Memory (System) 31.00GB (16.92GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE x11
@NickyKatze NickyKatze changed the title Live Share installation corrupt / function not found error Live Share installation corrupt / command not found error Sep 3, 2020
@NickyKatze
Copy link
Author

NickyKatze commented Sep 4, 2020

Some logs (installed via snap):

[2020-09-04 11:19:40.529] [renderer1] [error] command 'liveshare.startReadOnlyFromActivityBar' not found: Error: command 'liveshare.startReadOnlyFromActivityBar' not found
    at u._tryExecuteCommand (file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:836)
    at file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:717
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
[2020-09-04 11:20:08.909] [renderer1] [error] command 'liveshare.startFromActivityBar' not found: Error: command 'liveshare.startFromActivityBar' not found
    at u._tryExecuteCommand (file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:836)
    at file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:717
[2020-09-04 11:20:10.208] [renderer1] [error] command 'liveshare.startFromActivityBar' not found: Error: command 'liveshare.startFromActivityBar' not found
    at u._tryExecuteCommand (file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:836)
    at file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:717
[2020-09-04 11:20:27.732] [renderer1] [error] command 'liveshare.joinFromActivityBar' not found: Error: command 'liveshare.joinFromActivityBar' not found
    at u._tryExecuteCommand (file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:836)
    at file:///snap/code/42/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4029:717

@NickyKatze
Copy link
Author

More logs (installation via apt / deb package):

[2020-09-04 12:02:45.685] [renderer1] [error] command 'liveshare.joinFromWelcomeContent' not found: Error: command 'liveshare.joinFromWelcomeContent' not found
    at u._tryExecuteCommand (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:713)
    at file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:594
    at async p.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1771:576)
    at async v.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1773:214)
[2020-09-04 12:02:46.815] [renderer1] [error] command 'liveshare.startReadOnlyFromWelcomeContent' not found: Error: command 'liveshare.startReadOnlyFromWelcomeContent' not found
    at u._tryExecuteCommand (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:713)
    at file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:594
    at async p.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1771:576)
    at async v.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1773:214)
[2020-09-04 12:03:15.959] [renderer1] [error] command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
    at u._tryExecuteCommand (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:713)
    at file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:594
    at async p.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1771:576)
    at async v.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1773:214)
[2020-09-04 12:03:39.165] [renderer1] [error] command 'liveshare.joinFromWelcomeContent' not found: Error: command 'liveshare.joinFromWelcomeContent' not found
    at u._tryExecuteCommand (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:713)
    at file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:4213:594
    at async p.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1771:576)
    at async v.open (file:///usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1773:214)

@lostintangent
Copy link
Member

Closing this as a duplicate of #180.

@rwmsousa
Copy link

rwmsousa commented Mar 4, 2022

This fixed the problem for me.

Open VSCode's command prompt:
ctrl + shift + p

Enter the following command:
Live Share: Repair Installation

Follow further instructions.

@tiagofrancafernandes
Copy link

This fixed the problem for me.

Open VSCode's command prompt: ctrl + shift + p

Enter the following command: Live Share: Repair Installation

Follow further instructions.

Cara!!! Obrigado!
Salvou o dia!!!!

Thank you!!!!

@mubashirjamali101
Copy link

Nothing fixes this problem, recently having it on Ubuntu 22 LTS

@fakumax
Copy link

fakumax commented May 18, 2022

the same problem on ubuntu 22.04 LTS

@djwesty
Copy link

djwesty commented May 18, 2022

Same issue after upgrading to Ubuntu 22.04

Live Share: Repair seems to have no effect

Running the command Live Share: Join Collaboration Session gives the following error message
image

Running the command Live Share: Start Collaboration Session (Share) gives the following error message
image

@shukrikhalid
Copy link

Same with me using PopOS 22.04.
I just install libssl1.x then is working, it's explained here #4646 (comment)

@pekasus
Copy link

pekasus commented Jun 4, 2022

I'm having the same problem on MacOs Monterey 12.4.

@userhv
Copy link

userhv commented Jun 12, 2022

I'm having the same problem on Fedora 36

@ashishwadekar
Copy link

On debian based OS:
Install libssl1.x deb from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/ & live share will start working.

@erickvaernet
Copy link

erickvaernet commented Jun 17, 2022

I'm having the same problem on Windows 10

@FelipePardim
Copy link

Same problem here, Linux 5.18.5-1-Manjaro; XFCE; Ruah 21.3.0

@leand12
Copy link

leand12 commented Jun 25, 2022

Same issue here on ubuntu 22 LTS. Any solutions there?

@jonkoops
Copy link

jonkoops commented Jul 5, 2022

This issue still persists on Fedora 36 using the official RPM.

@delcantao
Copy link

Same error on windows 11

@delcantao
Copy link

delcantao commented Jul 11, 2022

OK. I have just found a reason and a quick solution for it.
I downgraded my vscode to version 1.67.2 now it started to work again.
Maybe someone had added some breaking changes to this extension in the last version of vscode.

@steini96
Copy link

How did you downgrade vscode and do you know if it will be fixed in a later update?

@delcantao
Copy link

You can find the lastest version of vscode in microsoft site. I will try to find it then I post it here.

@delcantao
Copy link

https://code.visualstudio.com/updates/v1_67 you will have this version in may update

@steini96
Copy link

Thanks!

@aissat
Copy link

aissat commented Jul 28, 2022

Same issue after upgrading to Ubuntu 22.04

Live Share: Repair seems to have no effect

Running the command Live Share: Join Collaboration Session gives the following error message image

Running the command Live Share: Start Collaboration Session (Share) gives the following error message image

have same :(

vscode logs:

workbench.desktop.main.js:2272 Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: Process terminated. 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.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.String.ToLowerInvariant()
   at System.Text.EncodingHelper.GetCharset()
   at System.Text.EncodingHelper.GetEncodingFromCharset()
   at System.ConsolePal.GetConsoleEncoding()
   at System.Console+<>c.<get_OutputEncoding>b__19_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_OutputEncoding()
   at System.Console.CreateOutputWriter(System.IO.Stream)
   at System.Console+<>c.<get_Out>b__26_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_Out()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication..ctor(Boolean)
   at Microsoft.Cascade.Agent.Program..ctor()
   at Microsoft.Cascade.Agent.Program.Main(System.String[]).

[Extension Host]  Quokka.js Live Share integration disabled, VSLS not found. Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: Process terminated. 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.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.String.ToLowerInvariant()
   at System.Text.EncodingHelper.GetCharset()
   at System.Text.EncodingHelper.GetEncodingFromCharset()
   at System.ConsolePal.GetConsoleEncoding()
   at System.Console+<>c.<get_OutputEncoding>b__19_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_OutputEncoding()
   at System.Console.CreateOutputWriter(System.IO.Stream)
   at System.Console+<>c.<get_Out>b__26_0()
   at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.Object ByRef, System.Func`1<System.__Canon>)
   at System.Console.get_Out()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication..ctor(Boolean)
   at Microsoft.Cascade.Agent.Program..ctor()
   at Microsoft.Cascade.Agent.Program.Main(System.String[]).

@RasmusGodske
Copy link

This error still seems to exists. Even Live Share: Repair does not seem to solve the problem either.

I'm running Manjaro KDE.

@bghira
Copy link

bghira commented Aug 8, 2022

same issue. this is really beginning to impact the ability to get work done.

@toniopelo
Copy link

This fixed it for me on Ubuntu 22.04, if it helps.

@CoDev21
Copy link

CoDev21 commented Aug 29, 2022

Same issue after upgrading to Ubuntu 22.04
Live Share: Repair seems to have no effect
Running the command Live Share: Join Collaboration Session gives the following error message image
Running the command Live Share: Start Collaboration Session (Share) gives the following error message image

have same :(

vscode logs:

workbench.desktop.main.js:2272 Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: Process terminated. 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.

According to this issue from the .NET Runtime 3.0.1
dotnet/core#2186 and
https://github.com/dotnet/core/blob/main/Documentation/build-and-install-rhel6-prerequisites.md
a workaround is to add
{ "runtimeOptions": { "configProperties": { "System.Globalization.Invariant": true }, } }
to the runtime config for live share located at ~/.vscode/extensions/ms-vsliveshare.vsliveshare-/dotnet_modules/.
Example Configuration:
{ "runtimeOptions": { "tfm": "netcoreapp3.1", "configProperties": { "System.Globalization.Invariant": true }, "framework": { "name": "Microsoft.NETCore.App", "version": "3.1.1" } } }

@danielmarbach
Copy link

On debian based OS: Install libssl1.x deb from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/ & live share will start working.

This did it for me on Linux Mint 21

@ading2210
Copy link

ading2210 commented Sep 4, 2022

According to this issue from the .NET Runtime 3.0.1 dotnet/core#2186 and https://github.com/dotnet/core/blob/main/Documentation/build-and-install-rhel6-prerequisites.md a workaround is to add { "runtimeOptions": { "configProperties": { "System.Globalization.Invariant": true }, } } to the runtime config for live share located at ~/.vscode/extensions/ms-vsliveshare.vsliveshare-/dotnet_modules/. Example Configuration: { "runtimeOptions": { "tfm": "netcoreapp3.1", "configProperties": { "System.Globalization.Invariant": true }, "framework": { "name": "Microsoft.NETCore.App", "version": "3.1.1" } } }

This worked for me on Debian Testing.

@matvejs16
Copy link

Ubuntu 22.04.1 LTS
libssl1.x installing fixes problem.

@devuc
Copy link

devuc commented Sep 11, 2022

Nothing fixes this problem, recently having it on Ubuntu 22 LTS

same problem

@devuc
Copy link

devuc commented Sep 11, 2022

Ubuntu 22.04.1 LTS libssl1.x installing fixes problem.

how do you exactly install it??
please elaborate

@matvejs16
Copy link

matvejs16 commented Sep 11, 2022

Ubuntu 22.04.1 LTS libssl1.x installing fixes problem.

how do you exactly install it?? please elaborate

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb

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