Bug #104389 can't auto reload last opened sql scripts which is saved on Chinese named folder
Submitted: 23 Jul 2021 1:18 Modified: 23 Jul 2021 13:08
Reporter: Eric Liao Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.25 OS:Windows (Microsoft Windows 10 Enterprise)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[23 Jul 2021 1:18] Eric Liao
Description:
----[For better reports, please attach the log file after submitting. You can find it in C:\Users\angle\AppData\Roaming\MySQL\Workbench\log\wb.log]
09:04:15 [ERR][      Workbench]: Console redirection failed.
09:04:15 [INF][      Workbench]: Starting up Workbench
09:04:15 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0\MySQLWorkbench.exe" 
	CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 8.0
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.2.9200.0
	SystemDirectory: C:\WINDOWS\system32
	TickCount: 515135859
	UserInteractive: True
	Version: 4.0.30319.42000
	WorkingSet: 42033152
09:04:15 [INF][      Workbench]: Environment variables:
	SystemDrive = C:
	ProgramFiles(x86) = C:\Program Files (x86)
	Path = D:\Program Files\AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin;D:\Program Files\Java\jdk1.8.0_25\bin;D:\Program Files\YAZ\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\apache-maven-3.6.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;d:\Program Files\Git\cmd;D:\Program Files\TortoiseGit\bin;D:\Program Files\nodejs\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;D:\Users\angle\AppData\Local\Programs\Python\Python39\Scripts\;D:\Users\angle\AppData\Local\Programs\Python\Python39\;D:\Ruby27-x64\bin;C:\Users\angle\AppData\Local\Microsoft\WindowsApps;D:\Users\angle\AppData\Local\Programs\Microsoft VS Code\bin;;D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\bin;;C:\Users\angle\AppData\Roaming\npm
	ProgramW6432 = C:\Program Files
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
	VBOX_MSI_INSTALL_PATH = J:\Program Files\Oracle\VirtualBox\
	TMP = C:\Users\angle\AppData\Local\Temp
	ALLUSERSPROFILE = C:\ProgramData
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW
	PyCharm Community Edition = D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\bin;
	PROCESSOR_REVISION = 9e09
	JAVA_HOME_OLD = D:\Program Files\Java\jdk1.8.0_25
	TEMP = C:\Users\angle\AppData\Local\Temp
	USERPROFILE = C:\Users\angle
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	LOGONSERVER = \\DESKTOP-KK4S9A4
	USERNAME = angle
	SystemRoot = C:\WINDOWS
	MSMPI_BIN = C:\Program Files\Microsoft MPI\Bin\
	OneDrive = F:\Onedriver\OneDrive
	PROCESSOR_ARCHITECTURE = AMD64
	CommonProgramFiles = C:\Program Files\Common Files
	ProgramData = C:\ProgramData
	HOMEPATH = \Users\angle
	OneDriveConsumer = F:\Onedriver\OneDrive
	COMPUTERNAME = DESKTOP-KK4S9A4
	M2_HOME = D:\apache-maven-3.6.1
	RUBYOPT = -Eutf-8
	SESSIONNAME = Console
	DriverData = C:\Windows\System32\Drivers\DriverData
	HOMEDRIVE = C:
	windir = C:\WINDOWS
	VS160COMCOMNTOOLS = D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\
	NUMBER_OF_PROCESSORS = 8
	OS = Windows_NT
	ProgramFiles = C:\Program Files
	ComSpec = C:\WINDOWS\system32\cmd.exe
	JBOSS_HOME = D:\jboss-5.1.0.GA
	JAVA_HOME = D:\Program Files\Java\jdk1.8.0_25
	PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Intel\;D:\Program Files (x86)\Microsoft SQL Server\MS2016EXPRESS\140\Tools\PowerShell\Modules\
	APPDATA = C:\Users\angle\AppData\Roaming
	USERDOMAIN = DESKTOP-KK4S9A4
	PROCESSOR_LEVEL = 6
	LOCALAPPDATA = C:\Users\angle\AppData\Local
	CommonProgramW6432 = C:\Program Files\Common Files
	USERDOMAIN_ROAMINGPROFILE = DESKTOP-KK4S9A4
	PUBLIC = C:\Users\Public
09:04:15 [INF][      Workbench]: Current version given by meta info is: 8.0.25
09:04:15 [INF][      Workbench]: Setting PATH to: C:\WINDOWS\system32;D:\Program Files\AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin;D:\Program Files\Java\jdk1.8.0_25\bin;D:\Program Files\YAZ\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\apache-maven-3.6.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;d:\Program Files\Git\cmd;D:\Program Files\TortoiseGit\bin;D:\Program Files\nodejs\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;D:\Ruby27-x64\bin;C:\Users\angle\AppData\Local\Microsoft\WindowsApps;D:\Users\angle\AppData\Local\Programs\Microsoft VS Code\bin;;D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\bin;;C:\Users\angle\AppData\Roaming\npm
09:04:15 [INF][ mforms managed]: Initializing mforms wrapper
09:04:15 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files\MySQL\MySQL Workbench 8.0
	plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0
	struct path: 
	module path: C:\Program Files\MySQL\MySQL Workbench 8.0/modules
	library path: C:\Program Files\MySQL\MySQL Workbench 8.0
	user data dir: C:\Users\angle\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
09:04:15 [INF][      WBContext]: WbContext::init
09:04:16 [INF][            WBA]: Looking for extension modules for WBA...
09:04:16 [INF][            WBA]: 0 extension modules found
09:04:16 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
09:04:16 [WRN][            grt]: C:\Users\angle\AppData\Roaming\MySQL\Workbench\connections.xml:18: link '{5FA2D419-BA3F-4619-A582-E7CA6FA154C9}' <object GrtObject> key=owner could not be resolved
09:04:16 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
09:04:16 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 8.0.25 CE build 788958 (64 bit)
	Configuration Directory: C:\Users\angle\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0
	Cairo Version: 1.17.4
	OS: Microsoft Windows 10 Enterprise
	CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz, 16.0 GiB RAM
	Active video adapter NVIDIA GeForce GTX 1050
	Installed video RAM: -2048 MB
	Current video mode: 1920 x 1080 x 4294967296 种颜色
	Used bit depth: 32
	Driver version: 27.21.14.5671
	Installed display drivers: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\nvldumdx.dll
	Current user language: 中文(简体,中国)

09:04:16 [INF][      Workbench]: UI is up
09:04:16 [INF][      Workbench]: Running the application
09:04:17 [INF][SQL Editor Form]: Opened connection 'Local instance MySQL80' to MySQL Community Server - GPL version 8.0.25
09:04:18 [INF][        WQE.net]: Launching SQL IDE
09:04:18 [INF][        WQE.net]: SQL IDE UI is ready

How to repeat:
save an opened file script to I:\学习\script.sql
means to save a script in a folder named by Chinese .
then don't close the script,just close workbench
then reopen mysql workbench,open the connection.
you'll see this bug
[23 Jul 2021 13:08] MySQL Verification Team
Hello Eric Liao,

Thank you for the bug report.
Imho this is duplicate of Bug #87520, please see Bug #87520.

Regards,
Ashwini Patil