Bug #115686 Unhandled exception: 'CheckForUpdateThread' object has no attribute 'isAlive' C
Submitted: 24 Jul 22:13 Modified: 25 Jul 8:13
Reporter: Eric Sherrill Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:8.0.38 OS:MacOS (macOS 14.x Sonoma arm64)
Assigned to: CPU Architecture:ARM
Tags: WBBugReporter

[24 Jul 22:13] Eric Sherrill
Description:
----[For better reports, please attach the log file after submitting. You can find it in /Users/esherrill/Library/Application Support/MySQL/Workbench/log/wb.log]

Unhandled exception: 'CheckForUpdateThread' object has no attribute 'isAlive'

Check the log for more details.

17:01:39 [INF][      Workbench]: Starting up Workbench
17:01:39 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: /Applications/MySQLWorkbench.app/Contents/Resources
	plugin path: /Applications/MySQLWorkbench.app/Contents/PlugIns
	struct path: /Applications/MySQLWorkbench.app/Contents/Resources/grt
	module path: /Applications/MySQLWorkbench.app/Contents/PlugIns:/Applications/MySQLWorkbench.app/Contents/Resources/plugins
	library path: /Applications/MySQLWorkbench.app/Contents/Resources/libraries
	user data dir: /Users/esherrill/Library/Application Support/MySQL/Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
17:01:39 [INF][      WBContext]: WbContext::init
17:01:40 [INF][            WBA]: Looking for extension modules for WBA...
17:01:40 [INF][            WBA]: 0 extension modules found
17:01:40 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
17:01:40 [WRN][            grt]: /Users/esherrill/Library/Application Support/MySQL/Workbench/connections.xml:31: link '1427B2C6-4BEF-4B1E-9C57-5D9BA64F6BAC' <object GrtObject> key=owner could not be resolved
17:01:40 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
17:01:40 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for macOS version 8.0.38 CE build 4270059 (64 bit)
	Configuration Directory: /Users/esherrill/Library/Application Support/MySQL/Workbench
	Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
	Cairo Version: 1.18.0
	OS: macOS 14.x Sonoma arm64
	CPU: 10x Apple M1 Max - 64.00GiB RAM
No video adapter info available

17:01:40 [INF][    WQE backend]: Found auto-save workspace /Users/esherrill/Library/Application Support/MySQL/Workbench/sql_workspaces/redmine-on-disk-aws-1.autosave
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_sakila_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_manage_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_folder@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_network_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_user_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_doc_sql@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_number_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_close@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_open_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_more_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_sakila_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_manage_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_folder@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_network_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_user_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_doc_sql@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_number_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_close@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_open_light@2x.png
17:01:40 [WRN][         mforms]: Resource file not found: wb_tile_more_light@2x.png
17:01:53 [ERR][       pymforms]: Unhandled exception in Python code: 
Traceback (most recent call last):
  File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/wb_utils_grt.py", line 726, in checkForUpdatesCallback
    if self.isAlive():
       ^^^^^^^^^^^^
AttributeError: 'CheckForUpdateThread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?

How to repeat:
Select menu entry - Help:Check for Updates

Popup with message appears:

Error
Unhandled exception:
'CheckForUpdateThread' object has no attribute 'isAlive'
Check the log for more details.
OK

Suggested fix:
Fix the self.isAlive() function name - rename as self.is_alive() -  in wb_utils_grt.py file at:

https://github.com/mysql/mysql-workbench/blob/a1a527a89ee6412abed8ae0cca58f2e572b46ce7/mod...

see also 

https://github.com/mysql/mysql-utilities/blob/08276b2258bf9739f53406b354b21195ff69a261/mys... 

and 

https://github.com/mysql/mysql-utilities/blob/08276b2258bf9739f53406b354b21195ff69a261/mys...
[25 Jul 8:13] MySQL Verification Team
Hello Eric Sherrill,

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

Regards,
Ashwini Patil