| Bug #59638 | Start Command Line Client | ||
|---|---|---|---|
| Submitted: | 20 Jan 2011 17:13 | Modified: | 4 Mar 2011 15:53 |
| Reporter: | RW Hornbaker | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench | Severity: | S2 (Serious) |
| Version: | 5.2.31 CE | OS: | Windows (Vista Enterprise SP2) |
| Assigned to: | Johannes Taxacher | CPU Architecture: | Any |
| Tags: | Command Line Client, PyWbUtils | ||
[28 Jan 2011 22:19]
Johannes Taxacher
happens for connection entries where following key is missing in the xml-connection-definition: <value type="string" key="schema"></value> as workaround you can open the "Manage connections" dialog and select the corresponding connection once - this rewrites the settings-entry in the file and adds the missing xml-tag.
[3 Mar 2011 13:43]
Johannes Taxacher
fix confirmed in repository
[4 Mar 2011 15:53]
Tony Bedford
An entry has been added to the 5.2.32 changelog:
On the Home screen, when a connection was right-clicked and
<guimenu>Start Command Line Client</guimenu> selected, the
following error was generated:
Error calling
PyWbUtils.startCommandLineClientForConnection: see
output for details
output:
Message: Error executing plugin wb.tools.comdlineClient:
error calling wb.tools.cmdlineClient
Traceback:
File "C:\Program Files\MySQL\MySQL Workbench 5.2 CE\modules
\wb_utils_grt.py", line 96, in
startCommandLineClientForConnection
schema = conn.parameterValues["schema"].replace("\\",
"\\\\").replace('"', '\\"')
AttributeError: 'NoneType' object has no attribute 'replace'
[4 Mar 2011 19:06]
Joerg Bruehe
Not my work area ...

Description: DID: Right clicked on previously set up Connection Selected "Start Command Line Client" WHAT HAPPENED: error calling PyWbUtils.startCommandLineClientForConnection: see output for details output: Message: Error executing plugin wb.tools.comdlineClient: error calling wb.tools.cmdlineClient Traceback: File "C:\Program Files\MySQL\MySQL Workbench 5.2 CE\modules \wb_utils_grt.py", line 96, in startCommandLineClientForConnection schema = conn.parameterValues["schema"].replace("\\", "\\\\").replace('"', '\\"') AttributeError: 'NoneType' object has no attribute 'replace' How to repeat: OBVIOUSLY: Right click on previously set up Connection Selected "Start Command Line Client" HOWEVER: This feature worked right after the Workbench was installed. AND this system is patched every night with the latest security patches every night AND group policies get pushed at random times