{"action":"created","issue":{"url":"https://api.github.com/repos/altmany/export_fig/issues/74","labels_url":"https://api.github.com/repos/altmany/export_fig/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/altmany/export_fig/issues/74/comments","events_url":"https://api.github.com/repos/altmany/export_fig/issues/74/events","html_url":"https://github.com/altmany/export_fig/issues/74","id":82327948,"number":74,"title":"'\"\"' is not recognized as an internal or external command,  operable program or batch file.","user":{"login":"jakobrdl","id":11570618,"avatar_url":"https://avatars.githubusercontent.com/u/11570618?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobrdl","html_url":"https://github.com/jakobrdl","followers_url":"https://api.github.com/users/jakobrdl/followers","following_url":"https://api.github.com/users/jakobrdl/following{/other_user}","gists_url":"https://api.github.com/users/jakobrdl/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobrdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobrdl/subscriptions","organizations_url":"https://api.github.com/users/jakobrdl/orgs","repos_url":"https://api.github.com/users/jakobrdl/repos","events_url":"https://api.github.com/users/jakobrdl/events{/privacy}","received_events_url":"https://api.github.com/users/jakobrdl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T08:20:56Z","updated_at":"2015-05-29T09:29:05Z","closed_at":"2015-05-29T09:29:05Z","body":"Yesterday I updated to the latest version of export_fig (used in Matlab 2014a), and since then I've had the following problem: I manage to export one figure (after updating the export_fig files) before getting an error. After that, I get an error whenever I try to export a figure. If I remove export_fig, remove it from the Matlab path, put the files back again and re-add it to the Matlab path, the pattern resumes: One figure is exported, then I get an error. Below, I show an example, where I make a simple plot, export it to Test9.pdf, and straight after I try to export it again - but get the error.\r\n\r\nWhat works right now is to remove this version of export_fig and use an older version (that I initially installed in August 2014).\r\n\r\nAm I doing something wrong with the new version, or is there a bug? Thanks in advance.\r\n\r\n    >> x = linspace(0,2*pi,300);\r\n    >> plot(x,sin(x),'--r')\r\n    >> export_fig 'Test9.pdf' -p10\r\n    Warning: Path to ghostscript installation could not be saved in C:\\Program\r\n    Files\\MATLAB\\R2014a\\myadded\\export_fig\\.ignore\\ghostscript.txt (perhaps a permissions issue).     You can manually create this file and set\r\n    its contents to gswin64c.exe, to improve performance in future invocations (this warning is safe to    ignore). \r\n    > In ghostscript>check_store_gs_path at 160\r\n      In ghostscript>gs_path at 84\r\n      In ghostscript at 45\r\n      In eps2pdf at 130\r\n      In export_fig at 604 \r\n    >> export_fig 'Test10.pdf' -p10\r\n    '\"\"' is not recognized as an internal or external command, \r\n    operable program or batch file. \r\n    Ghostscript error: perhaps     C:\\Users\\jrdl\\AppData\\Local\\Temp\\tp88792cbe_e289_49a6_8dda_5e3c8e08de8c.pdf is open by     some other application\r\n    export_fig error. Please ensure:\r\n      that you are using the latest version of export_fig\r\n      and that you have Ghostscript installed\r\n      and that you do not have multiple versions of export_fig installed by mistake\r\n      and that you did not made a mistake in the expected input arguments\r\n\r\n    If the problem persists, then please report a new issue.\r\n\r\n    Error using eps2pdf (line 149)\r\n    '\"\"' is not recognized as an internal or external command,\r\n    operable program or batch file.\r\n\r\n\r\n    Error in export_fig (line 604)\r\n                    eps2pdf(tmp_nam, pdf_nam_tmp, 1, options.append, options.colourspace==2,     options.quality, options.gs_options);"},"comment":{"url":"https://api.github.com/repos/altmany/export_fig/issues/comments/106757215","html_url":"https://github.com/altmany/export_fig/issues/74#issuecomment-106757215","issue_url":"https://api.github.com/repos/altmany/export_fig/issues/74","id":106757215,"user":{"login":"altmany","id":10243182,"avatar_url":"https://avatars.githubusercontent.com/u/10243182?v=3","gravatar_id":"","url":"https://api.github.com/users/altmany","html_url":"https://github.com/altmany","followers_url":"https://api.github.com/users/altmany/followers","following_url":"https://api.github.com/users/altmany/following{/other_user}","gists_url":"https://api.github.com/users/altmany/gists{/gist_id}","starred_url":"https://api.github.com/users/altmany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altmany/subscriptions","organizations_url":"https://api.github.com/users/altmany/orgs","repos_url":"https://api.github.com/users/altmany/repos","events_url":"https://api.github.com/users/altmany/events{/privacy}","received_events_url":"https://api.github.com/users/altmany/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T09:29:05Z","updated_at":"2015-05-29T09:29:05Z","body":"Fixed"}}