microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.79k stars 29.12k forks source link

perl: warning: Setting locale failed. VS code integrated terminal #82550

Closed jamesray1 closed 5 years ago

jamesray1 commented 5 years ago

Issue Type: Bug

This error doesn't occur in Konsole terminal:

[jr@lm hcr]$ inxi -Fxxx
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_ADDRESS = "en_AU.UTF-8",
        LC_NAME = "en_AU.UTF-8",
        LC_MONETARY = "en_AU.UTF-8",
        LC_PAPER = "en_AU.UTF-8",
        LC_IDENTIFICATION = "en_AU.UTF-8",
        LC_TELEPHONE = "en_AU.UTF-8",
        LC_MEASUREMENT = "en_AU.UTF-8",
        LC_TIME = "en_AU.UTF-8",
        LC_NUMERIC = "en_AU.UTF-8",
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
System:
  Host: lm Kernel: 4.19.69-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 9.1.0 Desktop: KDE Plasma 5.16.4 
  tk: Qt 5.13.0 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Dell product: Latitude E6410 v: 0001 
  serial: <root required> Chassis: type: 9 
  serial: <root required> 
  Mobo: Dell model: 0HNGW4 serial: <root required> UEFI: Dell 
  v: A16 date: 12/05/2013 
Battery:
  ID-1: BAT0 charge: 33.3 Wh condition: 33.3/48.8 Wh (68%) 
  volts: 12.5/11.1 model: Samsung SDI DELL PT43699 
  type: Li-ion serial: 7 status: Full 
CPU:
  Topology: Dual Core model: Intel Core i5 M 560 bits: 64 
  type: MT MCP arch: Nehalem rev: 5 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 21290 
  Speed: 1514 MHz min/max: 1199/2667 MHz boost: enabled 
  Core speeds (MHz): 1: 1465 2: 1522 3: 1468 4: 1573 
Graphics:
  Device-1: Intel Core Processor Integrated Graphics 
  vendor: Dell Latitude E6410 driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:0046 
  Display: x11 server: X.Org 1.20.5 driver: modesetting 
  alternate: fbdev,intel,vesa compositor: kwin_x11 
  resolution: 1440x900~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ironlake Mobile 
  v: 2.1 Mesa 19.1.5 direct render: Yes 
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio 
  vendor: Dell Latitude E6410 driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 chip ID: 8086:3b56 
  Sound Server: ALSA v: k4.19.69-1-MANJARO 
Network:
  Device-1: Intel 82577LM Gigabit Network 
  vendor: Dell Latitude E6410 driver: e1000e v: 3.2.6-k 
  port: 7040 bus ID: 00:19.0 chip ID: 8086:10ea 
  IF: eno1 state: down mac: 00:26:b9:e0:a5:6c 
  Device-2: Broadcom and subsidiaries BCM43224 802.11a/b/g/n 
  vendor: Dell Wireless 1520 Half-size Mini PCIe Card 
  driver: bcma-pci-bridge v: N/A port: 7000 bus ID: 02:00.0 
  chip ID: 14e4:4353 
  IF-ID-1: wlp2s0b1 state: up mac: 88:9f:fa:5e:83:8f 
Drives:
  Local Storage: total: 298.09 GiB used: 23.90 GiB (8.0%) 
  ID-1: /dev/sda vendor: Seagate model: ST9320423AS 
  size: 298.09 GiB speed: 3.0 Gb/s rotation: 7200 rpm 
  serial: 5VJ9NCZP rev: SDM1 scheme: GPT 
Partition:
  ID-1: / size: 292.12 GiB used: 23.90 GiB (8.2%) fs: ext4 
  dev: /dev/dm-0 
Sensors:
  System Temperatures: cpu: 62.0 C mobo: N/A sodimm: 44.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 221 Uptime: 3h 15m Memory: 3.72 GiB 
  used: 2.09 GiB (56.1%) Init: systemd v: 242 Compilers: 
  gcc: 9.1.0 clang: 8.0.1 Shell: bash v: 5.0.9 
  running in: code inxi: 3.0.36 
[jr@lm hcr]$ 

It is also not as easy to install the insiders version as it is not available from the package manager.

VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z) OS version: Linux x64 4.19.69-1-MANJARO

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (4 x 2825)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|1, 1, 1| |Memory (System)|3.72GB (0.10GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (2) Extension|Author (truncated)|Version ---|---|--- better-toml|bun|0.3.2 crates|ser|0.4.3
Tyriar commented 5 years ago

Please update to 1.39, I think this will be fixed from the terminal.integrated.detectLocale setting.