Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeckTape cannot add JPG/PNG exports on Windows #381

Open
ysb33r opened this issue May 20, 2019 · 0 comments
Open

DeckTape cannot add JPG/PNG exports on Windows #381

ysb33r opened this issue May 20, 2019 · 0 comments
Assignees
Labels
3.x Issues related to the 3.x bug has-external-block

Comments

@ysb33r
Copy link
Member

ysb33r commented May 20, 2019

Currently add screenshot exports with DeckTape fails on Windows.

Consider this line where the command was executed

C:\Path\To\node.exe \
  C:\OtherPath\To\node_modules\decktape\decktape.js \
   --screenshots \
   --screenshots-directory ..\..\..\..\..\..\..\..\..\.. 
   --screenshots-format jpg \
   --screenshots-size 1024x768 \
   reveal \
   file:/C:/Users/appveyor/AppData/Local/Temp/1/junit8625998783273610388/build/docs/asciidocRevealJs/index.html \
  C:\Users\appveyor\AppData\Local\Temp\1\junit8625998783273610388\build\generic\index.pdf

It fails with

Error: ENOENT: no such file or directory, open 'C:\C:\Users\appveyor\AppData\Local\Temp\1\junit8625998783273610388\build\generic\index_1_1024x768.jpg'

Note the double use of C:\C:. This could potentially be an issue with how DeckTape resolves paths that touches the root of a Windows filesystem.

See: astefanutti/decktape#181

@ysb33r ysb33r added bug 3.x Issues related to the 3.x has-external-block labels May 20, 2019
@ysb33r ysb33r added this to the 3.0.0 milestone May 20, 2019
@ysb33r ysb33r self-assigned this May 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue May 20, 2019
@ysb33r ysb33r mentioned this issue May 20, 2019
24 tasks
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue May 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue May 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Jan 18, 2020
@ysb33r ysb33r modified the milestones: 3.0.0, 3.1.0 Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues related to the 3.x bug has-external-block
Projects
None yet
Development

No branches or pull requests

1 participant