| Bug #101980 | mysql-shell shows warning Found errors loading plugins on Ubuntu Xenial | ||
|---|---|---|---|
| Submitted: | 12 Dec 2020 9:14 | Modified: | 13 Jan 2021 7:58 |
| Reporter: | Hrvoje Matijakovic | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Shell General / Core Client | Severity: | S3 (Non-critical) |
| Version: | 8.0.22 | OS: | Ubuntu (xenial) |
| Assigned to: | Krzysztof Grzadziel | CPU Architecture: | x86 |
[12 Dec 2020 9:29]
Hrvoje Matijakovic
Can't reproduce on Ubuntu Focal/Bionic
[12 Dec 2020 14:26]
MySQL Verification Team
Thank you for the bug report.
[13 Jan 2021 7:58]
Krzysztof Grzadziel
Thank you for your bug report. This issue has been committed to the source repository of the product and will be incorporated into the next release. Thank you for your interest in MySQL. Fixed by BUG31900744 and fix will be shipped with MySQL Shell 8.0.23. Plugins Python code from init.py is using Python features from version 3.6 and we are using system default python version for Ubuntu 16.04 Xenial packages with is Python 3.5.2. As workaround please download generic package mysql-shell-8.0.22-linux-glibc2.12-x86-64bit.tar.gz Linux - Generic (glibc 2.12) (x86, 64-bit), Compressed TAR Archive from https://dev.mysql.com/downloads/shell/ which has bundled Python 3.7.7.

Description: Starting the mysqlsh on Ubuntu Xenial shows warnings/errors about loading plugins. Log content: root@xenial:~# cat /root/.mysqlsh/mysqlsh.log 2020-12-12 09:04:20: Info: Using credential store helper: /usr/bin/mysql-secret-store-login-path 2020-12-12 09:04:20: Info: Loading startup files... 2020-12-12 09:04:20: Info: Loading plugins... 2020-12-12 09:04:20: Error: Error loading Python file '/usr/lib/mysqlsh/plugins/plugins_plugin/init.py': Execution failed: invalid syntax (init.py, line 52) 2020-12-12 09:04:20: Warning: Found errors loading plugins, for more details look at the log at: /root/.mysqlsh/mysqlsh.log Installed packages: root@xenial:~# dpkg -l | grep mysql ii libdbd-mysql-perl 1:4.050-3.xenial amd64 Perl5 database interface to the MariaDB/MySQL database ii mysql-apt-config 0.8.16-1 all Auto configuration for MySQL APT Repo. ii mysql-client 8.0.22-1ubuntu16.04 amd64 MySQL Client meta package depending on latest version ii mysql-common 8.0.22-1ubuntu16.04 amd64 Common files shared between packages ii mysql-community-client 8.0.22-1ubuntu16.04 amd64 MySQL Client ii mysql-community-client-core 8.0.22-1ubuntu16.04 amd64 MySQL Client Core Binaries ii mysql-community-client-plugins 8.0.22-1ubuntu16.04 amd64 MySQL Client plugin ii mysql-community-server 8.0.22-1ubuntu16.04 amd64 MySQL Server ii mysql-community-server-core 8.0.22-1ubuntu16.04 amd64 MySQL Server Core Binaires ii mysql-shell:amd64 8.0.22-1ubuntu16.04 amd64 MySQL Shell (part of MySQL Server) 8.0 How to repeat: root@xenial:~# mysqlsh MySQL Shell 8.0.22 Copyright (c) 2016, 2020, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type '\help' or '\?' for help; '\quit' to exit. WARNING: Found errors loading plugins, for more details look at the log at: /root/.mysqlsh/mysqlsh.log MySQL JS > Bye!