Bug #111874 MySQL Workbench Error when checking for updates
Submitted: 25 Jul 2023 7:49 Modified: 25 Jul 2023 19:29
Reporter: Michael Britt Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.34 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:x86
Tags: Unhandled exception, update error warning, WBBugReporter

[25 Jul 2023 7:49] Michael Britt
Description:
----[For better reports, please attach the log file after submitting. You can find it in C:\Users\Michael\AppData\Roaming\MySQL\Workbench\log\wb.log]

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

Check the log for more details.

How to repeat:

1. Open MySQL Workbench 8.0.34
2. Check for updates
3. MySQL Workbench error pops up:

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

Check the log for more details.

Suggested fix:
02:28:32 [ERR][       pymforms]: Unhandled exception in Python code: 
Traceback (most recent call last):
  File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_utils_grt.py", line 725, in checkForUpdatesCallback
    if self.isAlive():
       ^^^^^^^^^^^^
AttributeError: 'CheckForUpdateThread' object has no attribute 'isAlive'
[25 Jul 2023 7:51] Michael Britt
WB Log

Attachment: wb.log (application/octet-stream, text), 7.08 KiB.

[25 Jul 2023 7:52] Michael Britt
Error Dialog

Attachment: Error.jpg (image/jpeg, text), 28.64 KiB.

[25 Jul 2023 7:53] Michael Britt
This also was happening in v 8.0.33 also.
[25 Jul 2023 11:36] MySQL Verification Team
Hello Michael Britt,

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

Regards,
Ashwini Patil
[25 Jul 2023 19:29] Michael Britt
This is a duplicate of 110786. 

Please close this issue.
[23 Aug 2024 4:30] Martin Parody
Latest versions of Python changed the isAlive() attribute to is_alive(), edit the file C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_utils_grt.py and change line 725 and change line 728 for if self.json: