Bug #118505 NameError: Current profile has no WMI enabled
Description:
start workbench, connect to local database, server status => fault
no layout, no fields, no values in frame
------------------------------------------------------------------
wb.log
------------------------------------------------------------------
15:00:49 [INF][ Workbench]: Current version given by meta info is: 8.0.42
15:00:49 [INF][ Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Users\lupoji\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++
15:00:49 [INF][ mforms managed]: Initializing mforms wrapper
15:00:49 [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\lupoji\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
15:00:49 [INF][ WBContext]: WbContext::init
15:00:50 [INF][ WBA]: Looking for extension modules for WBA...
15:00:50 [INF][ WBA]: 0 extension modules found
15:00:50 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
15:00:50 [WRN][ grt]: C:\Users\lupoji\AppData\Roaming\MySQL\Workbench\connections.xml:0: link '{D38893E6-62D6-4B9F-88D9-99BEF2093A77}' <object GrtObject> key=owner could not be resolved
15:00:50 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
15:00:50 [INF][ WBContext]: System info:
MySQL Workbench Community (GPL) for Windows version 8.0.42 CE build 5005595 (64 bit)
Configuration Directory: C:\Users\lupoji\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0
Cairo Version: 1.18.0
OS: Microsoft Windows 10 Pro
CPU: 4x Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz, 15.8 GiB RAM
Active video adapter Intel(R) HD Graphics 530
Installed video RAM: 1024 MB
Current video mode: 1920 x 1080 x 4294967296 colori
Used bit depth: 32
Driver version: 31.0.101.2114
Installed display drivers: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd12umd64.dll
Current user language: Italiano (Italia)
15:00:50 [INF][ Workbench]: UI is up
15:00:51 [INF][ Workbench]: Running the application
15:00:53 [INF][SQL Editor Form]: Opened connection 'local_bug' to MySQL Community Server - GPL version 8.0.42
15:00:54 [INF][ WQE.net]: Launching SQL IDE
15:00:55 [INF][ WQE.net]: SQL IDE UI is ready
15:00:58 [WRN][wb_server_management.py:fetch_windows_shell_info:655]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: "Tabella codici attiva: 850
"
15:01:32 [ERR][ python]: error calling WbAdmin.openAdminSection
Traceback:
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line -1, in openAdminSection
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line -1, in open_into_section
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_server_status.py", line -1, in __init__
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_monitor.py", line -1, in __init__
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line -1, in __init__
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line -1, in __init__
NameError: Current profile has no WMI enabled
15:01:32 [ERR][ grt]: Error executing plugin wb.admin.open_into: error calling Python module function WbAdmin.openAdminSection
15:01:32 [ERR][ WBContext]: error calling Python module function WbAdmin.openAdminSection
15:04:22 [INF][ WQE.net]: Shutting down SQL editor (local_bug)
15:04:25 [INF][ Workbench]: Shutting down Workbench
15:04:25 [INF][ mforms managed]: Shutting down mforms wrapper
15:04:25 [INF][ Workbench]: Done
How to repeat:
set return code to 1 when call chcp.com in wb_server_management.py
Suggested fix:
test code == 0 or code == 1 to continue
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: start workbench, connect to local database, server status => fault no layout, no fields, no values in frame ------------------------------------------------------------------ wb.log ------------------------------------------------------------------ 15:00:49 [INF][ Workbench]: Current version given by meta info is: 8.0.42 15:00:49 [INF][ Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\Program Files\Git\cmd;C:\Program Files\PowerShell\7\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\lupoji\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Notepad++;;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Users\lupoji\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++;C:\Program Files\Notepad++ 15:00:49 [INF][ mforms managed]: Initializing mforms wrapper 15:00:49 [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\lupoji\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 15:00:49 [INF][ WBContext]: WbContext::init 15:00:50 [INF][ WBA]: Looking for extension modules for WBA... 15:00:50 [INF][ WBA]: 0 extension modules found 15:00:50 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils). 15:00:50 [WRN][ grt]: C:\Users\lupoji\AppData\Roaming\MySQL\Workbench\connections.xml:0: link '{D38893E6-62D6-4B9F-88D9-99BEF2093A77}' <object GrtObject> key=owner could not be resolved 15:00:50 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils). 15:00:50 [INF][ WBContext]: System info: MySQL Workbench Community (GPL) for Windows version 8.0.42 CE build 5005595 (64 bit) Configuration Directory: C:\Users\lupoji\AppData\Roaming\MySQL\Workbench Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0 Cairo Version: 1.18.0 OS: Microsoft Windows 10 Pro CPU: 4x Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz, 15.8 GiB RAM Active video adapter Intel(R) HD Graphics 530 Installed video RAM: 1024 MB Current video mode: 1920 x 1080 x 4294967296 colori Used bit depth: 32 Driver version: 31.0.101.2114 Installed display drivers: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_b804c9204ad70be1\igd12umd64.dll Current user language: Italiano (Italia) 15:00:50 [INF][ Workbench]: UI is up 15:00:51 [INF][ Workbench]: Running the application 15:00:53 [INF][SQL Editor Form]: Opened connection 'local_bug' to MySQL Community Server - GPL version 8.0.42 15:00:54 [INF][ WQE.net]: Launching SQL IDE 15:00:55 [INF][ WQE.net]: SQL IDE UI is ready 15:00:58 [WRN][wb_server_management.py:fetch_windows_shell_info:655]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: "Tabella codici attiva: 850 " 15:01:32 [ERR][ python]: error calling WbAdmin.openAdminSection Traceback: File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line -1, in openAdminSection File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line -1, in open_into_section File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_server_status.py", line -1, in __init__ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_monitor.py", line -1, in __init__ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line -1, in __init__ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line -1, in __init__ NameError: Current profile has no WMI enabled 15:01:32 [ERR][ grt]: Error executing plugin wb.admin.open_into: error calling Python module function WbAdmin.openAdminSection 15:01:32 [ERR][ WBContext]: error calling Python module function WbAdmin.openAdminSection 15:04:22 [INF][ WQE.net]: Shutting down SQL editor (local_bug) 15:04:25 [INF][ Workbench]: Shutting down Workbench 15:04:25 [INF][ mforms managed]: Shutting down mforms wrapper 15:04:25 [INF][ Workbench]: Done How to repeat: set return code to 1 when call chcp.com in wb_server_management.py Suggested fix: test code == 0 or code == 1 to continue