Bug #69708 'ascii' codec can't decode byte 0x8d in position 0: ordinal not in range(128)
Submitted: 10 Jul 2013 7:26 Modified: 12 Aug 2013 11:01
Reporter: Shizuku Tsukishima Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.47-6.0.3 OS:Microsoft Windows (Win7 Retail SP1)
Assigned to: CPU Architecture:Any
Tags: bag, decode, error, MySQL, Unicode, win7, workbench

[10 Jul 2013 7:26] Shizuku Tsukishima
Description:
You can not do export tables, error msg:

=============
[Window Title]
MySQL Workbench
[Main Instruction]
Error
[Content]
Unhandled exception: 'ascii' codec can't decode byte 0x8d in position 0: ordinal not in range(128)
[OK]

Note.
In windows 8 that there is no error.

How to repeat:
Simply go to the section "Data Export".
[10 Jul 2013 13:19] Miguel Solorzano
Thank you for the bug report. Please provide a dump file with table/data which presents this issue on your Windows 7?. Thanks.
[10 Jul 2013 13:33] Shizuku Tsukishima
The error occurs even before the export operation. And then the problem persists when you export the table. Any table. For example see table node_revision.sql (files tab)
[10 Jul 2013 15:40] Miguel Solorzano
Thank you for feedback. I couldn't repeat with your test case:

12:35:20 Dumping mydb (node_revision)

Running: mysqldump.exe --defaults-extra-file="c:\users\miguel\appdata\local\temp\tmp1c72k1.cnf"  --user=root --max_allowed_packet=1G --host=localhost --port=3306 --default-character-set=utf8 "mydb" "node_revision"

12:35:21 Export of C:\Users\miguel\Documents\dumps\Dump20130710 has finished

Please try creating another connection instance. Thanks.
[10 Jul 2013 15:59] Shizuku Tsukishima
> --default-character-set=utf8 

How to configure the encoding in the GUI?
[11 Jul 2013 5:12] Shizuku Tsukishima
Already connected to MySQL server

Traceback (most recent call last):

  File "D:\MySQL Workbench 6.0.3 CE\modules\wb_admin_export.py", line 2221, in start

    self.operation_tab.start()

  File "D:\MySQL Workbench 6.0.3 CE\modules\wb_admin_export.py", line 1646, in start

    if not self.check_mysqldump_version(True):

  File "D:\MySQL Workbench 6.0.3 CE\modules\wb_admin_export.py", line 1524, in check_mysqldump_version

    msg = "Error retrieving version from %s:\n%s (exit %s)"%(path, output, rc)

UnicodeDecodeError: 'ascii' codec can't decode byte 0x8d in position 0: ordinal not in range(128)

Already connected to MySQL server

MySQL Workbench Community (GPL) for Windows version 6.0.3  revision 11035

Configuration Directory: C:\Users\Hanadzi\AppData\Roaming\MySQL\Workbench

Data Directory: D:\MySQL Workbench 6.0.3 CE

Cairo Version: 1.8.8

OS: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 32-bit

CPU: 2x Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz, 2.0 GiB RAM

Active video adapter Intel(R) G33/G31 Express Chipset Family

Installed video RAM: 256 MB

Current video mode: 1440 x 900 x 4294967296 colors

Used bit depth: 32

Driver version: 8.15.10.1930

Installed display drivers: igdumdx32.dll

Current user language: Русский (Россия)
[11 Jul 2013 20:38] Alfredo Kojima
Did you customize the path to mysqldump?
[13 Aug 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".