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

Gtk: Locale not supported by C library Ubuntu 18.04 #55774

Closed
nezirz opened this issue Aug 3, 2018 · 5 comments
Closed

Gtk: Locale not supported by C library Ubuntu 18.04 #55774

nezirz opened this issue Aug 3, 2018 · 5 comments
Assignees

Comments

@nezirz
Copy link

nezirz commented Aug 3, 2018

  • VSCode Version: 1.25.1-1531323788 from snap store and also 1.26.0-1533299573 code insider
  • OS Version: 18.04 Ubuntu

Visual Studio Code can't run in Ubuntu 18.04

Steps to Reproduce:

  1. Run VSCode by Icon click or by terminal
  2. On Ubuntu 18.04 top left status bar shows VSCode name and loader on right side

Its like loading for few seconds and disappears.
Tried also terminal "code --verbose" and I am getting:

[21145:0803/201806.581982:ERROR:browser_main_loop.cc(279)] Gtk: Locale not supported by C library.
	Using the fallback 'C' locale.
[21145:0803/201806.691202:ERROR:browser_main_loop.cc(279)] Gtk: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
[21145:0803/201806.691216:ERROR:browser_main_loop.cc(279)] Gtk: Loading IM context type 'ibus' failed
pcilib: Cannot open /sys/bus/pci/devices/0000:07:00.0/resource: No such file or directory

Does this issue occur when all extensions are disabled?: Yes/No

@dchasanidis
Copy link

dchasanidis commented Aug 14, 2018

I'm guessing you installed it as root with anaconda. Check this here, I had the same problem.

https://askubuntu.com/a/1065131/734585

Basically you delete the /home/user/.config/Code folder because it has root privileges and then start vscode again. It worked in my situation

@peon501
Copy link

peon501 commented Aug 14, 2018

Visual Studio Code works perfectly in Ubuntu 18.04. I have Ubuntu 18.04.

@nezirz
Copy link
Author

nezirz commented Aug 14, 2018

@dimchasani you are the man!
Problem solved after delete home/user/Code directory and ubuntu restart. Both versions work well vscode official stable and insider.
Thank you!

@nezirz nezirz closed this as completed Aug 14, 2018
@nezirz
Copy link
Author

nezirz commented Sep 8, 2018

hmmm again problem with running visual studio code with latest update.
When using code --verbose in terminal getting this error: pcilib: Cannot open /sys/bus/pci/devices/0000:07:00.0/resource: No such file or directory

tried with previous solution with deleting /home/user/.config/Code and nothing.
Still cant run visual studio code in Ubuntu 18.04

@nezirz nezirz reopened this Sep 8, 2018
@nezirz
Copy link
Author

nezirz commented Sep 8, 2018

Its really weird after second restart it works.

@nezirz nezirz closed this as completed Sep 8, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants