PROBLEM WITH GENERATE EPUB
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
PROBLEM WITH GENERATE EPUB
Hi,
I use oXygen version XML Editor 14.2, when i generate Dita Map EPUB i obtains F[DITA-OT] Transformation failed
Generate DITA Map PDF and DITA Map WebHelp are OK
thank you for help
Best regards
I use oXygen version XML Editor 14.2, when i generate Dita Map EPUB i obtains F[DITA-OT] Transformation failed
Generate DITA Map PDF and DITA Map WebHelp are OK
thank you for help
Best regards
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PROBLEM WITH GENERATE EPUB
Hi,
The EPUB is produced using the DITA For Publishers plugins for the DITA Open Toolkit. Also, you are using an older version of the DITA OT and DITA For Publishers plugin so you may be encountering problems which have already been fixed.
I would need more details to see if I could help you further. After you receive the Transformation failed, there should be another tab at the bottom of the editor called something like DITA OT which should have all the output received from the ANT process. You should try to paste that entire output in a code block in a reply on the forum and I will try to find some time to look into this.
Regards,
Radu
The EPUB is produced using the DITA For Publishers plugins for the DITA Open Toolkit. Also, you are using an older version of the DITA OT and DITA For Publishers plugin so you may be encountering problems which have already been fixed.
I would need more details to see if I could help you further. After you receive the Transformation failed, there should be another tab at the bottom of the editor called something like DITA OT which should have all the output received from the ANT process. You should try to paste that entire output in a code block in a reply on the forum and I will try to find some time to look into this.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
Re: PROBLEM WITH GENERATE EPUB
Code: Select all
[xslt] ==========================================
[xslt] Plugin version: 0.9.16 - build 747 at 2011-03-21
[xslt]
[xslt] Parameters:
[xslt]
[xslt] + coverGraphicUri = ""
[xslt] + cssOutputDir = "topics"
[xslt] + generateIndex = "no
[xslt] + imagesOutputDir = "images"
[xslt] + outdir = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/"
[xslt] + tempdir = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/"
[xslt] + titleOnlyTopicClassSpec = "- topic/topic "
[xslt] + titleOnlyTopicTitleClassSpec = "- topic/title "
[xslt] + topicsOutputDir = "topics"
[xslt]
[xslt] + DITAEXT = ".xml"
[xslt] + WORKDIR = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/"
[xslt] + PATH2PROJ = ""
[xslt] + KEYREF-FILE = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/keydef.xml"
[xslt] + CSS = "epubStyles.css"
[xslt] + CSSPATH = ""
[xslt] + debug = "false"
[xslt]
[xslt] Global Variables:
[xslt]
[xslt] + cssOutputPath = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/topics"
[xslt] + effectiveCoverGraphicUri = ""
[xslt] + topicsOutputPath = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/topics"
[xslt] + imagesOutputPath = "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/images"
[xslt] + platform = "windows"
[xslt] + debugBoolean = "false"
[xslt]
[xslt] ==========================================
[xslt]
[xslt] + [INFO] Generating graphic input-to-output map...
[xslt] + [INFO] Found 24 graphic references.
[xslt] + [INFO] Found 24 unique graphic references.
[xslt] + [INFO] Graphic input-to-output map generated.
[xslt] + [INFO] Gathering index terms...
[xslt] + [INFO] Generating content...
[xslt] + [INFO] Writing topic to HTML file "topics/to_descriptionGenerale_d52.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_VueGenerale_d53.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_InterfaceAppli_d55.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_Profils_d56.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_MenuPrincipal_d57.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_MenuSpecifique_d58.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_EtatDuSysteme_d59.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_BandeauIcones_d60.html"...
[xslt] + [INFO] Writing topic to HTML file "topics/to_Navigation_d61.html"...
[xslt] + [INFO] Generating title-only topics for topicheads...
[xslt] + [INFO] Content generated.
[xslt] + [INFO] Constructing effective ToC structure...
[xslt] + [INFO] Generating ToC (NCX) file "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/toc.ncx"...
[xslt] + [INFO] ToC generation done.
[xslt] + [INFO] Generating OPF manifest file...
[xslt] - [WARNING] dc:language required in epub file; please add xml:lang attribute to map element. Using en-US.
[xslt]
[xslt] + [INFO] Generating OPF file "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/content.opf"...
[xslt] + [INFO] OPF file generation done.
[xslt] + [INFO] Generating Ant graphic copying script as file "file:/D:/projets/XXX/temp/epub/oxygen_dita_temp/epub_temp/copy-graphics.xml"...
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig1.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig1.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig2.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig2.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig3.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig3.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico1.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico1.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig4.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig4.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig5.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig5.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig6.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig6.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig7.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig7.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico2.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico2.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico3.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico3.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico4.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico4.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico5.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico5.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico6.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico6.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/clavier.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\clavier.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico7.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico7.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/souris.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\souris.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico8.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico8.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ecran.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ecran.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/ico9.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\ico9.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig8.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig8.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig9.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig9.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig10.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig10.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig11.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig11.gif
[xslt] + [INFO] Mapping input graphic
[xslt] + [INFO] Input URL: file:/D:/projets/XXX/images/fig12.gif
[xslt] + [INFO] Target File: D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\images\fig12.gif
[xslt] + [INFO] Ant graphic copying script generation done.
epub.copy.graphics:
copy-graphics:
[echo] Doing copy graphics...
BUILD FAILED
D:\produits\Oxygen XML Editor 14.2\frameworks\dita\DITA-OT\build.xml:56: The following error occurred while executing this line:
D:\produits\Oxygen XML Editor 14.2\frameworks\dita\DITA-OT\plugins\net.sourceforge.dita4publishers.epub\build_transtype-epub.xml:122: The following error occurred while executing this line:
D:\produits\Oxygen XML Editor 14.2\frameworks\dita\DITA-OT\plugins\net.sourceforge.dita4publishers.epub\build_transtype-epub.xml:127: The following error occurred while executing this line:
D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\copy-graphics.xml:6: Cannot perform operation from directory to file.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PROBLEM WITH GENERATE EPUB
Hi,
I'm afraid I still don't have enough details to help you.
It seems that an ANT build file is created in the temporary files folder:
D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\copy-graphics.xml
When ANT runs that build file, it fails at line 6, it seems that the ANT build file tries to copy a folder to a file. What does that line look like? Could you find in the DITA sources the reference to the image which is copied? Does that reference look different than others? Maybe it has an extra "/" at the end?
Regards,
Radu
I'm afraid I still don't have enough details to help you.
It seems that an ANT build file is created in the temporary files folder:
D:\projets\XXX\temp\epub\oxygen_dita_temp\epub_temp\copy-graphics.xml
When ANT runs that build file, it fails at line 6, it seems that the ANT build file tries to copy a folder to a file. What does that line look like? Could you find in the DITA sources the reference to the image which is copied? Does that reference look different than others? Maybe it has an extra "/" at the end?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service