Page 1 of 1

Schema and Data export fail :: MySQL Workbench verion 6.2

Posted: Sun Mar 08, 2015 1:19 pm
by dzcadii
If you get the error:
"Error Unhandled exception: 'builtin_function_or_method' object has no attribute '__getitem__'"

You can work around this by:
  1. wb_admin_export.py -- This might be in C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.1.7\modules
  2. Copy it to your desktop and edit with a text editor. I would recommend Notepad++
  3. Go to about line number 1711 and change the following: args.append['--skip-triggers'] and args.append['--no-create-info']. See code area of this post for more information.
  4. After changing just put the edited file back into place and reload MYSQL Workbench

Code: Select all

if not dump_triggers:
                            #args.append['--skip-triggers']
			    args.append('--skip-triggers')
                            
                        if skip_table_structure:
                            #args.append['--no-create-info']
			   args.append('--no-create-info')

this is a reported bug to MYSQL Bug #74967