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

No such file or directory #17

Open
makoto-yamashita opened this issue Apr 12, 2022 · 1 comment
Open

No such file or directory #17

makoto-yamashita opened this issue Apr 12, 2022 · 1 comment

Comments

@makoto-yamashita
Copy link

Thank you very much for developing a useful script.
I am trying to use this script, but unfortunately, it does not work well.
It seems that the directories are not generated properly.

$ ./pdf2pptx.sh test.pdf
Doing test.pdf
Extraction succ!
cp: cannot stat '/home/???/tmp/template': No such file or directory
mkdir: cannot create directory 'test.pdf.pptx.base/ppt/media': No such file or directory
cp: target 'test.pdf.pptx.base/ppt/media/' is not a directory
./pdf2pptx.sh: line 99: pushd: test.pdf.pptx.base/ppt/media/: No such file or directory
Processing 3
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-3.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 2
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-2.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 1
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-1.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
Processing 0
cp: cannot stat '../slides/slide1.xml': No such file or directory
./pdf2pptx.sh: line 95: ../slides/_rels/slide-0.xml.rels: No such file or directory
cat: ../slides/_rels/slide1.xml.rels: No such file or directory
sed: can't read ../_rels/presentation.xml.rels: No such file or directory
sed: can't read ../../[Content_Types].xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
sed: can't read ../presentation.xml: No such file or directory
./pdf2pptx.sh: line 112: popd: directory stack empty
./pdf2pptx.sh: line 114: pushd: test.pdf.pptx.base: No such file or directory
./pdf2pptx.sh: line 117: popd: directory stack empty

@davebulaval
Copy link

I got the same problem; by reading the first error, you can see that you need to have the repo Template directory to process the output. So, just put the directory next to your Tex presentation, and it should work.

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