{"action":"created","issue":{"url":"https://api.github.com/repos/docToolchain/docToolchain/issues/231","repository_url":"https://api.github.com/repos/docToolchain/docToolchain","labels_url":"https://api.github.com/repos/docToolchain/docToolchain/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/docToolchain/docToolchain/issues/231/comments","events_url":"https://api.github.com/repos/docToolchain/docToolchain/issues/231/events","html_url":"https://github.com/docToolchain/docToolchain/issues/231","id":379463642,"node_id":"MDU6SXNzdWUzNzk0NjM2NDI=","number":231,"title":"exportPPT fails with exception on Linux","user":{"login":"ghp-dev","id":41126650,"node_id":"MDQ6VXNlcjQxMTI2NjUw","avatar_url":"https://avatars1.githubusercontent.com/u/41126650?v=4","gravatar_id":"","url":"https://api.github.com/users/ghp-dev","html_url":"https://github.com/ghp-dev","followers_url":"https://api.github.com/users/ghp-dev/followers","following_url":"https://api.github.com/users/ghp-dev/following{/other_user}","gists_url":"https://api.github.com/users/ghp-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/ghp-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghp-dev/subscriptions","organizations_url":"https://api.github.com/users/ghp-dev/orgs","repos_url":"https://api.github.com/users/ghp-dev/repos","events_url":"https://api.github.com/users/ghp-dev/events{/privacy}","received_events_url":"https://api.github.com/users/ghp-dev/received_events","type":"User","site_admin":false},"labels":[{"id":403443339,"node_id":"MDU6TGFiZWw0MDM0NDMzMzk=","url":"https://api.github.com/repos/docToolchain/docToolchain/labels/%E2%9A%99%20enhancement","name":"⚙ enhancement","color":"84b6eb","default":false},{"id":753434689,"node_id":"MDU6TGFiZWw3NTM0MzQ2ODk=","url":"https://api.github.com/repos/docToolchain/docToolchain/labels/%F0%9F%93%96%20docs","name":"📖 docs","color":"9ba8f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-11-10T21:34:29Z","updated_at":"2018-11-25T01:00:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Expected behavior and actual behavior.\r\nExpected: \r\n\r\nExtract asciidoc from ppt when using task exportPPT on Linux.\r\nIf this task is not supported, clearly state so in the documentation.\r\n\r\nActual:\r\n\r\n[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > java.io.IOException: Cannot run program \"cmd\": error=2, Datei oder Verzeichnis nicht gefunden\r\n\r\n\r\n\r\n## Steps to reproduce the problem.\r\nrun `doctoolchain . generatePPT` on linux from a directory containing the attached pptx file in folder src/docs. \r\n[InputSlides.pptx](https://github.com/docToolchain/docToolchain/files/2568803/InputSlides.pptx)\r\n\r\n## Specifications like the version of the project, operating system, or hardware.\r\nOS: Ubuntu 18.04.1 LTS\r\n\r\nVersions: arc42 and doctoolchain from november, 7th\r\n\r\n\r\nJava:\r\n\r\nopenjdk 10.0.2 2018-07-17\r\nOpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)\r\nOpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)\r\n"},"comment":{"url":"https://api.github.com/repos/docToolchain/docToolchain/issues/comments/441407226","html_url":"https://github.com/docToolchain/docToolchain/issues/231#issuecomment-441407226","issue_url":"https://api.github.com/repos/docToolchain/docToolchain/issues/231","id":441407226,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQwNzIyNg==","user":{"login":"ghp-dev","id":41126650,"node_id":"MDQ6VXNlcjQxMTI2NjUw","avatar_url":"https://avatars1.githubusercontent.com/u/41126650?v=4","gravatar_id":"","url":"https://api.github.com/users/ghp-dev","html_url":"https://github.com/ghp-dev","followers_url":"https://api.github.com/users/ghp-dev/followers","following_url":"https://api.github.com/users/ghp-dev/following{/other_user}","gists_url":"https://api.github.com/users/ghp-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/ghp-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghp-dev/subscriptions","organizations_url":"https://api.github.com/users/ghp-dev/orgs","repos_url":"https://api.github.com/users/ghp-dev/repos","events_url":"https://api.github.com/users/ghp-dev/events{/privacy}","received_events_url":"https://api.github.com/users/ghp-dev/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T01:00:02Z","updated_at":"2018-11-25T01:00:02Z","author_association":"CONTRIBUTOR","body":"> I wonder if it would make sense for the time being to add switches to the config on which implementation to use... ?\r\n\r\nI don't think that's necessary yet: the existing VBScript task is called exportPPT and this one could be called exportPPTX\r\n\r\n> I think it makes sense to call it just from a groovy task as java/groovy code.\r\nACK\r\n>  The exportToExcel task already uses the POI dependency.\r\n\r\nOK, but we would need to bump up that dependency to 4.0.0 then\r\n\r\n> A call like `PPTX2PNG.main(['./sample.pptx'])` should do the trick, shouldn't it?\r\n\r\nI think so, yes. Could not yet check it. Don't have the doctoolchain environment running yetin IDEA (unresolved symbols)\r\n\r\n> BTW: One requirement for my code was that the {slide}-tag in the notes gets replaced with the `image::slidename.png[]` pattern. \r\n> I don't know if we can achieve this with the `PPTX2PNG` out of the box or if we have to add the notes export...\r\n\r\nWell, notes export is out of scope for the PPTX2PNG utility.\r\nBut since we'll be calling the utility from code, it should be easy to add notes export to the groovy task.\r\nEach note should has a page ID which should be corresponding to the index of the slide image  we exported.\r\n\r\nOff-by-one, I guess ;-)\r\n\r\n"}}
{"actor":{"display_login":"ghp-dev"}}