Bug #90889 Performance Reports error with MySQL Server 8.0.11
Submitted: 16 May 2018 14:38 Modified: 29 May 2018 17:35
Reporter: Ben Williams Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:8.0.11 OS:Ubuntu (Ubuntu 18.04 LTS)
Assigned to: CPU Architecture:x86

[16 May 2018 14:38] Ben Williams
Description:
When connected to a MySQL 8.0.11 server, Workbench shows an error when accessing the Performance Reports or Performance Schema Setup screens.

The error reads:

"Unable to access Performance Schema helper (sys)

set_error_message() takes exactly 2 arguments (3 given)"

In the debug log file I see this error:

10:29:12 [ERR][wb_admin_perfschema.py:validate:394]: Error checking for PS helper: Traceback (most recent call last):
  File "/usr/lib/mysql-workbench/modules/wb_admin_perfschema.py", line 381, in validate
    self.set_error_message("Installed Performance Schema helper (sys) version is newer than supported", "MySQL Workbench needs to downgrade it.\n(current version is %s, server has %s).%s" % (curversion, installed_version, install_text))
TypeError: set_error_message() takes exactly 2 arguments (3 given)

How to repeat:
1. Connect to a MySQL 8.0.11 server
2. Click on "Performance Reports" or "Performance Schema Setup"
[16 May 2018 14:39] Ben Williams
Screenshot of error message

Attachment: Screenshot from 2018-05-16 10-29-32.png (image/png, text), 85.85 KiB.

[16 May 2018 14:52] MySQL Verification Team
Hello Ben Williams,

Thank you for the report!

Thanks,
Umesh
[23 May 2018 9:02] Miguel Tadeu Mota
Posted by developer:
 
commit id: 6b467a9680e5710eec1868d4c6be594c9ac2cab0
[29 May 2018 17:35] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 8.0.12 release, and here's the changelog entry:

With an active MySQL 8.0.11 server connection, MySQL Workbench displayed
an error message when a valid attempt was made to open Performance Reports
or Performance Schema Setup.

Thank you for the bug report.