Bug #60276 | Error executing task 'ascii' codec can't decode byte 0xe6 in position 2: ordinal | ||
---|---|---|---|
Submitted: | 28 Feb 2011 9:08 | Modified: | 22 Jul 2013 2:33 |
Reporter: | a a | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench: Administration | Severity: | S1 (Critical) |
Version: | 5.2.33, 5.2.36, 5.2.37, 5.2.40 | OS: | Any (fedora14, Windows) |
Assigned to: | CPU Architecture: | Any | |
Tags: | export to self-contained file |
[28 Feb 2011 9:08]
a a
[9 Mar 2011 3:04]
Alfredo Kojima
can you attach a list of the schema names and objects that are being dumped?
[9 Mar 2011 4:46]
a a
i686 The dbs are default.
[26 Mar 2011 10:13]
Valeriy Kravchuk
Please, check if this problem is still repeatable with a newer version, 5.2.33.
[26 Mar 2011 13:22]
a a
There is still a error
[26 Mar 2011 14:17]
Alfredo Kojima
As requested above, please attach the list of schema names being dumped. Preferably a full dump of schema info, created with mysqldump.
[26 Mar 2011 14:17]
Alfredo Kojima
As requested above, please attach the list of schema names being dumped. Preferably a full dump of schema info, created with mysqldump.
[27 Mar 2011 4:01]
a a
backup files of all the dbs.my fedora14 LANG=zh_CN
Attachment: mysql_back.dbs (application/octet-stream, text), 491.10 KiB.
[4 Aug 2011 11:53]
Valeriy Kravchuk
Please, check if this problem still happens with a newer version, 5.2.34. If it does, please, specify the exact server version used, x.y.z.
[10 Aug 2011 2:22]
Zhu WenQi
i also meet this problem the logs: -------------------------------- 10:18:03 Dumping aajm (veet_t) Error executing task: 'ascii' codec can't decode byte 0xd6 in position 32: ordinal not in range(128) Error executing task [Error 32] : 'c:\\users\\\xd6\xec\xce\xc4\xe7\xf7\\appdata\\local\\temp\\tmp2hdzj4.cnf' 10:18:03 Export of E:\8-8.sql has finished seems that if the task temp folder cotains utf8 character, the execution will fail, and i have no way to change the task temp folder.
[3 Oct 2011 14:13]
MySQL Verification Team
Please check version 5.2.35. Thanks.
[4 Nov 2011 0: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".
[17 Dec 2011 1:53]
Xiong Zhou
09:53:17 Restoring C:\Users\实验室\Desktop\zhao\zhao.sql Error executing task: 'ascii' codec can't decode byte 0xca in position 32: ordinal not in range(128) Error executing task [Error 32] : 'c:\\users\\\xca\xb5\xd1\xe9\xca\xd2\\appdata\\local\\temp\\tmpfxju01.cnf' 09:53:18 Import of C:\Users\实验室\Desktop\zhao\zhao.sql has finished 5.2.36
[17 Dec 2011 1:57]
Xiong Zhou
The self-contained file is exported on a Win 7 machine it's OK to import it on a Win 7 machine, but when I try to import it on my vista machine , I encounter this error
[4 Jan 2012 19:27]
MySQL Verification Team
Please try version 5.2.37. Thanks.
[5 Feb 2012 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".
[6 Feb 2012 14:12]
ljhjason 1999630
still get error Error executing task: 'ascii' codec can't decode byte 0xd6 in position 34: ordinal not in range(128) mysql workbench 5.2.37 win 7 my windows is chinese
[10 Feb 2012 22:22]
Sergio Andres De La Cruz Rodriguez
Hi: We are unable to reproduce this bug in WB 5.2.37. Can you give us more details so we can work on this? We have tried both exporting and importing with non-ASCII paths and everything works normally. Can you paste here whatever is shown in the output window (View -> Output in main menu)? Other than your OS being in Chinese, can you think of any other thing language related or unusual that might be triggering this behavior?
[13 Mar 2012 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".
[13 Jun 2012 20:08]
Brian Wengel
Workbench: 5.2.40 CE Rev. 8790, running on XP Pro SP3 (eng) MySQL: 5.1.61-0+squeeze1 21:54:08 Dumping XXXXXXXXXXX (comment) Running: mysqldump.exe --defaults-extra-file="c:\docume~1\admini~1\locals~1\temp\tmp4qlari.cnf" --max_allowed_packet=1G --host=XXXXXXXXX --flush-logs=TRUE --user=XXXXXX --port=3306 --default-character-set=utf8 "XXXXXXXX" "comment" Error executing task: 'ascii' codec can't encode character u'\xa4' in position 9: ordinal not in range(128) Error executing task [Error 32] The process cannot access the file because it is being used by another process: 'c:\\docume~1\\admini~1\\locals~1\\temp\\tmp4qlari.cnf' 21:54:09 Export of c:\temp\dp2 has finished I'm running my Workbench on a vmware virtual machine....I can put it on my server for you to download to reproduce the problem ;-) ?
[14 Aug 2012 19:13]
Alfredo Kojima
Does the schema or object names you're dumping have any non-ascii character? What are they?
[31 Aug 2012 1:24]
MySQL Verification Team
See prior question.
[1 Sep 2012 17:08]
Rayson Lee
I have the same problem using MySQL Workbench 5.2.42 win32 and MySQL Server 5.5.27 x64 on Windows 7 x64 SP1 Chinese. All object names (schema name, table names, field names and export path) are English, only some field contents are UTF-8. The original dump file was exported from Workbench 5.2.35 and MySQL Server 5.5.16 running on XP SP3. It can be imported to Win 7 machine without problem. Error reported when exporting: Unhandled exception: 'ascii' codec can't decode byte 0xa4 in position 10: ordinal not in range(128)
[4 Sep 2012 3:24]
Rayson Lee
Tried upgrade Workbench on XP Chinese to 5.2.42, it can successfully export data (remotely) from MySQL Server 5.5.27 running on Windows 7 x64 Chinese. That means the problem only occurs when Workbench win32 running on Windows 7 x64 Chinese OS. Just select the option "Data Export" will produce the error, nothing to do with a particular schema.
[11 Sep 2012 4:54]
Alfredo Kojima
Rayson, does your username contain chinese chars? Anything in your program files or users folder paths?
[11 Sep 2012 6:53]
Rayson Lee
Alfredo, thanks for your reply! The user name and all folder names (all default path) are English. However the user's home folder path (such as Users and Documents) are displayed in Chinese characters when viewing under Windows Explorer. Using command line interface, I can cd C:\Users\username\Documents\Dumps directly. The display of Chinese characters should be Explorer's own feature under Chinese Windows 7 rather than the actual path.
[12 Sep 2012 1:58]
Alfredo Kojima
Rayson, what about time values? Do they show with hour/min/sec captions in chinese?
[12 Sep 2012 2:02]
Alfredo Kojima
Also, what if you change the date format in Windows Control panel to English instead of Chinese? Does the problem still occur?
[12 Sep 2012 4:31]
Rayson Lee
Changed date and time format to UK (English) and reboot. Same error message returned.
[12 Sep 2012 4:57]
Rayson Lee
Alfredo, I followed your line of thought and changed Non Unicode Program Language to UK English. The error message on clicking Data Export was gone. Seems like the code page information for Workbench is causing the problem. You can try change it to Unicode. However, another error pop up after I selected a schema and run the export: Error Checking mysqldump.exe Version Could not parse version number from mysqldump.exe: 'cmd.exe' is not recognized as an internal or external command, operable program or batch file. I can still go to command prompt by entering "cmd" from Start though.
[16 Dec 2012 2:34]
Rayson Lee
Any fix available?
[19 Feb 2013 16:07]
MySQL Verification Team
Please try version 5.2.47. Thanks.
[23 Feb 2013 14:07]
Mark Welburn
I had this same error when importing into workbench. My database password (the one it asks for when your start import) contained a "£" character, I removed it and import worked fine. So if your MySQL password has these type of characters try changing or removing it. Thanks Mark www.assertdesign.co.uk
[23 Feb 2013 16:05]
Rayson Lee
I don't have special character in password. Tried 5.2.47, problem fixed. Thanks!
[22 Jun 2013 2:33]
Alfredo Kojima
Original reporter, can you confirm whether it's working in 5.2.47, as Rayson has reported?
[23 Jul 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".