Description:
I found out the hard way that paramiko 1.13.0 is not supported by mysql-workbench.
I noticed after establishing a connection that the "Server" Menu was empty, and an attempt in getting an "Management" Tab lead to an empty "frame".
How to repeat:
Install paramiko 1.13.0 and try to run mysql-workbench.
The "Server" tab opens, but has no entries.
The "Management" page opens, but is greyed out.
Enabling debug shows the import error in paramiko:
mysql-workbench --log-to-stderr --log-level=debug3
Following is the "interesting" line:
20:27:42 [ERR][ python]: Error importing Python module /usr/lib64/mysql-workbench/modules/wb_admin_grt.py
20:27:42 [ERR][ python]: Traceback (most recent call last):
...
20:27:42 [ERR][ python]: File "/usr/lib64/mysql-workbench/modules/wb_admin_ssh.py", line 71, in <module>
20:27:42 [ERR][ python]: from paramiko.common import sys, MSG_CHANNEL_OPEN
20:27:42 [ERR][ python]: ImportError: cannot import name sys
20:27:42 [ERR][ grt]: Failed loading module '/usr/lib64/mysql-workbench/modules/wb_admin_grt.py' (python)
Suggested fix:
less -N /usr/lib64/mysql-workbench/modules/wb_admin_ssh.py
71 from paramiko.common import sys, MSG_CHANNEL_OPEN
This line leads to the import error.
The import sys seems superfluous - if I remove the line, I can still connect via SSH with paramiko versions 1.12.0, 1.11.0, 1.10.0 and 1.13.0.
So instead of checking for a paramiko version < 1.13.0 I suggest removing the import sys line.