Bug #49525 | WbAdmin.openSecurityManager: unhandled exception (type std::exception) | ||
---|---|---|---|
Submitted: | 8 Dec 2009 6:31 | Modified: | 12 Mar 2010 23:26 |
Reporter: | Carl Karsten (Silver Quality Contributor) | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench: Administration | Severity: | S2 (Serious) |
Version: | 5.2.10 beta | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[8 Dec 2009 6:31]
Carl Karsten
[8 Dec 2009 9:22]
Johannes Taxacher
hi carl, what ubuntu are you working on and what 5.2 beta.
[8 Dec 2009 15:50]
Carl Karsten
mysql-workbench-oss-5.2.10-1ubu904-amd64.deb Ubuntu 9.10 karmic Python 2.6.4 (r264:75706, Nov 2 2009, 14:44:17)
[8 Dec 2009 16:40]
MySQL Verification Team
I couldn't repeat on Ubuntu 9.10 X86_64.
[8 Dec 2009 17:25]
Carl Karsten
I see the problem: it is using "hostname" to determine if ssh is being used, but hostname can be set even if "enable ssh login based administration" is not. lines from my ~/.mysql/workbench/server_instances.xml: <value type="string" key="ssh.hostName">dhcp216</value> <value type="int" key="remoteAdmin">0</value> This causes .is_local_server() to return true, which causes this to else: if self.is_local_server(): result = run_cmd(script, sudo, password) else: 567: result = self.ssh.run_cmd(self.wrap_command(script, sudo), sudo, password) def is_local_server(self): if self.is_local is None: host = self.settings.loginInfo['ssh.hostName'].strip(" \n\r\t") print host self.is_local = host == "localhost" or host == "" or host == "127.0.0.1" or host == "0" return self.is_local I added print host to confirm, and it does indeed print 'dhcp216'. I have no idea how hostname got set. it is the hostname of the server I am connecting to. I am assuming you can't repo because hostname is blank. if so, check "enable ssh login based administration", fill in a hostname, uncheck "enable ssh...", close and 3.0 click "Server administration" 3.1 pick "lappy db" 3.2 click "OK"
[10 Dec 2009 14:00]
Susanne Ebrecht
I am not able to follow you here. Please, can you give a step by step description what is necessary to do to repeat this.
[10 Dec 2009 16:01]
Susanne Ebrecht
I wasn't able to repeat the crash but taking the computer name here and remote connection instead of localhost will occur some mad stuff. In my personal eyes this is not a bug at all because when you create a new server instance then the first window that opens is asking if you want to connect remote or local. If you click localhost here, you won't get asked again for a hostname. Anyway, after long discussion with our development here, they said they want to do some magic here that the crash won't happen in future.
[18 Jan 2010 21:04]
C F
* bump * I can verify this still occurs on 5.2.11 Rev 4842 on Win5.1 (XP)
[11 Feb 2010 18:20]
Alfredo Kojima
Please try again with latest version to see if this issue is still present.
[19 Feb 2010 16:45]
Joakim Lundborg
I still have this problem on 5.2.16
[13 Mar 2010 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".
[20 May 2010 18:06]
Dinesh Kotian
I am using workbench 5.2.21 OSS. I am getting the same error