Skip to content

When the system language is Chinese, it cannot be normalized #20

Open
@erdongmaqiao

Description

@erdongmaqiao

When I switch the system language to English, it's normal

Below is the log information

Running on a local VS Code session.
Starting embedded MySQL Shell, using config dir '/home/user/.mysqlsh-gui' ...
Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory

Please enter the single instance token:
23:1:33.960889 INFO: Token read from STDIN
23:1:33.961106 INFO: Starting MySQL Shell GUI web server...

23:1:34.14769 INFO: Checking web server certificate...

23:1:34.42297 DEBUG3: Executing Shell Command: certutil.exe -verifystore -user ROOT MySQL Shell Auto Generated CA Certificate

23:1:34.296013 ERROR: Exception information:
Traceback (most recent call last):

  • File "/home/user/.vscode-server/extensions/oracle.mysql-shell-for-vs-code-1.8.2-linux-x64/shell/lib/mysqlsh/plugins/gui_plugin/core/lib/certs/locations.py", line 719, in _get_installed_certs
  • exit_code, output = lib.run_shell_cmd(cmd)
  • File "/home/user/.vscode-server/extensions/oracle.mysql-shell-for-vs-code-1.8.2-linux-x64/shell/lib/mysqlsh/plugins/gui_plugin/core/lib/SystemUtils.py", line 157, in run_shell_cmd
  • output = stream.read()
  • File "/home/user/.vscode-server/extensions/oracle.mysql-shell-for-vs-code-1.8.2-linux-x64/shell/lib/mysqlsh/lib/python3.10/codecs.py", line 322, in decode
  • (result, consumed) = self._buffer_decode(data, self.errors, final)
    -UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 6: invalid continuation byte

23:1:34.296734 DEBUG: The certificate installation is inconsistent:
23:1:34.296840 DEBUG: USER_HOME: /home/user/.mysqlsh-gui/plugin_data/gui_plugin/web_certs/rootCA.crt, [Installed: True, Valid: True]
23:1:34.296917 DEBUG: WIN: WIN Certificate Store, [Installed: False, Valid: False, Reason: The certificate is not installed at WIN Certificate Store]
23:1:34.296967 INFO: The installed certificate has errors: The certificate is not installed at WIN Certificate Store
23:1:34.297099 INFO: Certificate is not installed. Use gui.core.installShellWebCertificate() to install one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions