Bug #100153 Reverse engineer selected schemas: UnicodeDecodeError("'utf16' codec can't decod
Description:
----[For better reports, please attach the log file after submitting. You can find it in Z:\Users\Nenver001\AppData\Roaming\MySQL\Workbench\log\wb.log]
Traceback (most recent call last):
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 407, in reverseEngineer
reverseEngineerTables(connection, schema)
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 570, in reverseEngineerTables
table_names = [(row[0], row[1]) for row in execute_query(connection, query.decode(encoding='UTF-8',errors='strict')) ]
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 141, in <lambda>
con.add_output_converter(-150, lambda value: value if value is None else value.decode('utf-16'))
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\Python\Lib\encodings\utf_16.py", line 16, in decode
return codecs.utf_16_decode(input, errors, True)
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 10-11: illegal UTF-16 surrogate
How to repeat:
Traceback (most recent call last):
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 407, in reverseEngineer
reverseEngineerTables(connection, schema)
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 570, in reverseEngineerTables
table_names = [(row[0], row[1]) for row in execute_query(connection, query.decode(encoding='UTF-8',errors='strict')) ]
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 141, in <lambda>
con.add_output_converter(-150, lambda value: value if value is None else value.decode('utf-16'))
File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\Python\Lib\encodings\utf_16.py", line 16, in decode
return codecs.utf_16_decode(input, errors, True)
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 10-11: illegal UTF-16 surrogate
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: ----[For better reports, please attach the log file after submitting. You can find it in Z:\Users\Nenver001\AppData\Roaming\MySQL\Workbench\log\wb.log] Traceback (most recent call last): File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 407, in reverseEngineer reverseEngineerTables(connection, schema) File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 570, in reverseEngineerTables table_names = [(row[0], row[1]) for row in execute_query(connection, query.decode(encoding='UTF-8',errors='strict')) ] File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 141, in <lambda> con.add_output_converter(-150, lambda value: value if value is None else value.decode('utf-16')) File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\Python\Lib\encodings\utf_16.py", line 16, in decode return codecs.utf_16_decode(input, errors, True) UnicodeDecodeError: 'utf16' codec can't decode bytes in position 10-11: illegal UTF-16 surrogate How to repeat: Traceback (most recent call last): File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 407, in reverseEngineer reverseEngineerTables(connection, schema) File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 570, in reverseEngineerTables table_names = [(row[0], row[1]) for row in execute_query(connection, query.decode(encoding='UTF-8',errors='strict')) ] File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\db_mssql_grt.py", line 141, in <lambda> con.add_output_converter(-150, lambda value: value if value is None else value.decode('utf-16')) File "Z:\Program Files\MySQL\MySQL Workbench 8.0 CE\Python\Lib\encodings\utf_16.py", line 16, in decode return codecs.utf_16_decode(input, errors, True) UnicodeDecodeError: 'utf16' codec can't decode bytes in position 10-11: illegal UTF-16 surrogate