Bug #50246 In configuration tab throws exception
Submitted: 11 Jan 2010 17:30 Modified: 11 Jan 2010 20:26
Reporter: jose juarez Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.11 rev 4842 OS:Windows (windows 7)
Assigned to: CPU Architecture:Any
Tags: configuration exception

[11 Jan 2010 17:30] jose juarez
Description:
When I go to "configuration" tab throws exception "unhandled exception: global name 'tempfile' is not defined.

In the logs i see:
Traceback (most recent call last):
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_configuration.py", line 187, in tab_changed
    panel.page_activated()
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 21, in page_activated
    self.create_ui()
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 163, in create_ui
    self.load_options_from_cfg()
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 512, in load_options_from_cfg
    self.cfg_be.parse_file(self.file_name_ctrl.get_string_value())
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 294, in parse_file
    self.file_name = self.read_mysql_cfg_file(file_name)
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 251, in read_mysql_cfg_file
    local_file_name = self.ctrl_be.fetch_file(file_name)
  File "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 434, in fetch_file
    temp_file = tempfile.mkstemp()
NameError: global name 'tempfile' is not defined

The target system is openSUSE mysql server from default repo (5.0.67-12.16.1).

Sorry for my english!! :)

How to repeat:
Install and configure the last workbench to connect from windows 7 to opensuse in ssh-tunnel and go to configuration tab in workbench.
[11 Jan 2010 20:26] Johannes Taxacher
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release (5.2.12).