{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/CNTK/issues/257","repository_url":"https://api.github.com/repos/Microsoft/CNTK","labels_url":"https://api.github.com/repos/Microsoft/CNTK/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/CNTK/issues/257/comments","events_url":"https://api.github.com/repos/Microsoft/CNTK/issues/257/events","html_url":"https://github.com/Microsoft/CNTK/issues/257","id":142168070,"number":257,"title":"When we execute the plot action, It shows \"The syntax of the command is incorrect.\"","user":{"login":"BorisJineman","id":3911266,"avatar_url":"https://avatars.githubusercontent.com/u/3911266?v=3","gravatar_id":"","url":"https://api.github.com/users/BorisJineman","html_url":"https://github.com/BorisJineman","followers_url":"https://api.github.com/users/BorisJineman/followers","following_url":"https://api.github.com/users/BorisJineman/following{/other_user}","gists_url":"https://api.github.com/users/BorisJineman/gists{/gist_id}","starred_url":"https://api.github.com/users/BorisJineman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BorisJineman/subscriptions","organizations_url":"https://api.github.com/users/BorisJineman/orgs","repos_url":"https://api.github.com/users/BorisJineman/repos","events_url":"https://api.github.com/users/BorisJineman/events{/privacy}","received_events_url":"https://api.github.com/users/BorisJineman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-20T14:17:38Z","updated_at":"2016-03-29T10:42:04Z","closed_at":"2016-03-29T10:42:04Z","body":"Hi Sir,\r\n\r\nI try to use CNTK 's plot action to render the model to an jpg file, but it always throw the \"The syntax of the command is incorrect.\".\r\n\r\nI try to investigate it, and found an issue about the replace of the renderCmd,\r\nAccording to the function DoTopologyPlot in OtherActions.cpp,\r\nwe want to use bellow code to replace the renderCmd, it will not replace anything,\r\n    msra::strfun::ReplaceAll(renderCmd, wstring(L\"<IN>\"), outputDotFile);\r\n    msra::strfun::ReplaceAll(renderCmd, wstring(L\"<OUT>\"), outputFile);\r\nI will fixed it by bellow code,\r\n    renderCmd = msra::strfun::ReplaceAll(renderCmd, wstring(L\"<IN>\"), outputDotFile);\r\n    renderCmd = msra::strfun::ReplaceAll(renderCmd, wstring(L\"<OUT>\"), outputFile);\r\n\r\nSo should I submit an pull request?\r\n\r\nPeace and Long Life,\r\nBoris"}}