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

Error generating pdf documents. ./run_docker_masvs_generation_on_local.sh: No such file or directory #531

Closed
fgalves opened this issue May 13, 2021 · 4 comments

Comments

@fgalves
Copy link
Contributor

fgalves commented May 13, 2021

I am trying to execute the commands according to README.md file (Create new PDF, Epub, Mobi, and Word document) to generate the PDF Documents, but the run_docker_masvs_generation_on_local.sh script does not exist:

juice-sh:/opt # git clone https://github.com/OWASP/owasp-masvs/
Cloning into 'owasp-masvs'...
remote: Enumerating objects: 14303, done.
remote: Counting objects: 100% (930/930), done.
remote: Compressing objects: 100% (280/280), done.
remote: Total 14303 (delta 628), reused 911 (delta 618), pack-reused 13373
Receiving objects: 100% (14303/14303), 102.57 MiB | 1.29 MiB/s, done.
Resolving deltas: 100% (10421/10421), done.
juice-sh:/opt # cd owasp-masvs/tools/docker
juice-sh:/opt/owasp-masvs/tools/docker # ./run_docker_masvs_generation_on_local.sh LATEST
**bash: ./run_docker_masvs_generation_on_local.sh: No such file or directory**
juice-sh:/opt/owasp-masvs/tools/docker #

To do a double check, I have executed the ls command on the tools/docker folder, but the script run_docker_masvs_generation_on_local.sh is not there:

juice-sh:/opt/owasp-masvs # cd tools/docker/
juice-sh:/opt/owasp-masvs/tools/docker # ls
Dockerfile SourceSansPro-It.otf first_page.tex latex-header.tex
README.md cover.tex imagereplace.sed pandoc_makedocs.sh
juice-sh:/opt/owasp-masvs/tools/docker #

@sushi2k sushi2k mentioned this issue May 13, 2021
4 tasks
@sushi2k
Copy link
Collaborator

sushi2k commented May 13, 2021

Thanks for raising! This was not updated yet. Please see the PR for the fix #534

@sushi2k
Copy link
Collaborator

sushi2k commented May 13, 2021

@fgalves
Copy link
Contributor Author

fgalves commented May 16, 2021

Now, I have received another error. The instructions oriented me to run the file ./tools/docker/pandoc_makedocs_local.sh, but this file does not exist:

juice-sh:/opt # git clone https://github.com/OWASP/owasp-masvs/`
Cloning into 'owasp-masvs'...
remote: Enumerating objects: 14377, done.
remote: Counting objects: 100% (1004/1004), done.
remote: Compressing objects: 100% (325/325), done.
remote: Total 14377 (delta 675), reused 955 (delta 647), pack-reused 13373
Receiving objects: 100% (14377/14377), 102.59 MiB | 9.91 MiB/s, done.
Resolving deltas: 100% (10468/10468), done.

juice-sh:/opt # cd owasp-masvs
juice-sh:/opt/owasp-masvs # ./tools/docker/pandoc_makedocs_local.sh Document-de LATEST
bash: ./tools/docker/pandoc_makedocs_local.sh: No such file or directory

juice-sh:/opt/owasp-masvs # cd tools/docker/
juice-sh:/opt/owasp-masvs/tools/docker # ls
README.md SourceSansPro-It.otf cover.tex first_page.tex imagereplace.sed latex-header.tex pandoc_makedocs.sh

I think the pandoc_makedocs_local.sh file should be pandoc_makedocs.sh

@sushi2k
Copy link
Collaborator

sushi2k commented May 23, 2021

You are absolutely right. We will merge the PR once approved: #548

@sushi2k sushi2k closed this as completed Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants