fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

HTML to EPUB 3 not all image files copied #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. get sample content from me

2. run ./dp2 html-to-epub3 --x-html ~/Downloads/Daisy_202_audioFullText/rayzz\ 
perspectives\ on\ nationalism-2.html --x-output-dir /tmp/dpout

3. get this error:

[WS] INFO(317) - Message:Writing in-memory document to EPUB/package.opf
[WS] INFO(318) - Message:Writing in-memory document to META-INF/container.xml
[WS] ERROR(319) - java.io.FileNotFoundException: 
/tmp/dpout/epub/EPUB/images/part1/weblink.jpg (No such file or directory)
[WS] ERROR(320) - java.io.FileNotFoundException: 
/tmp/dpout/epub/EPUB/images/part1/weblink.jpg (No such file or directory)
[WS] ERROR(321) - java.io.FileNotFoundException: 
/tmp/dpout/epub/EPUB/images/part1/weblink.jpg (No such file or directory)
[DP2] ERROR

4. notice that the weblink.jpg file exists in the source:

➜ ~/Downloads/Daisy_202_audioFullText/images/part1  ls weblink.jpg
weblink.jpg

5. But it doesn't exist in /tmp/dpout/epub/EPUB/images/part1

Actually, there are 130 files in the source directory images/part1, but only 
127 in the EPUB/images/part1 directory produced by the Pipeline.

Original issue reported on code.google.com by marisa.d...@gmail.com on 25 Apr 2013 at 2:50

GoogleCodeExporter commented 9 years ago

Original comment by rdeltour@gmail.com on 7 May 2013 at 11:49

GoogleCodeExporter commented 9 years ago
see https://github.com/daisy-consortium/pipeline-scripts-utils/pull/10

Original comment by rdeltour@gmail.com on 17 May 2013 at 1:35

GoogleCodeExporter commented 9 years ago

Original comment by rdeltour@gmail.com on 18 May 2013 at 6:57