Bug #52981 unhandled exception: local variable 'tables' referenced before assignment
Submitted: 20 Apr 2010 12:34 Modified: 28 Apr 2010 10:53
Reporter: Mike McLoughlin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S1 (Critical)
Version:5.2.19 beta OS:Any (XP SP3)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: Administration, Unhandled exception, workbench

[20 Apr 2010 12:34] Mike McLoughlin
Description:
I only want to do backup/restore operation at present so I have decided. not to configure the connection to the server via SSH.

When using Data Dump tab and Export to Disk. I choose more than one schema to export and immediately and dialog box occurs with the message: unhandled exception: local variable 'tables' referenced before assignment.

It works fine selecting a single schema.

How to repeat:
Go to Data Dump tab and Export to Disk then select the following options:
- Export to Self-Contained file
- Create Dump in a Single Transaction
- Dump Views
- Dump stored routines
[20 Apr 2010 13:20] Valeriy Kravchuk
Thank you for the bug report. Verified just as described. As soon as 2 schemata with one or more tables are dumped, I've got this exception. Workaround is to dump one by one...
[27 Apr 2010 19:36] Johannes Taxacher
fix confirmed in repository
[28 Apr 2010 10:53] Tony Bedford
An entry has been added to the 5.2.20 changelog:

In the Export to Disk tab of the Administrator's Data Dump facility, selecting multiple schemata for export to a self-contained file resulted in the following exception:

unhandled exception: local variable
'tables' referenced before assignment.