Temp directory must be an absolute path error

Post here questions and problems related to editing and publishing DITA content.
Posts: 18
Joined: Wed Feb 22, 2017 8:04 pm

Temp directory must be an absolute path error

Post by kwriter »

We are getting the following PDF with XSL-FO transformation error using Oxygen 23.1 with the DITA-OT3x that is bundled with it:
"Transformation failed. C:\Users\username\OneDrive - Varex Imaging\Documents\Oxygen XML Editor 23\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\build_init.xml:64: dita.temp.dir property must be an absolute path: C:\New folder"

The transformation runs fine on my PC (same version of Oxygen, but installed in program files), but results in the above error when run on a colleague's PC. Oxygen 23.1 is installed in her Documents directory which is automatically backed up to our company's OneDrive. We installed it in her Documents directory because of an access issue to the C drive that doesn't allow her to install the software there. She originally had the temp directory set to ${cfd}/temp/pdf, so it would write to the directory where her ditamap files are in her Documents directory, but that failed with the same error.

Her transformation worked yesterday, but then started to fail with this error. She says she didn't change anything other than trying a different directory and everything looks as it should to me.

Any ideas?
Posts: 8395
Joined: Fri Jul 09, 2004 5:18 pm

Re: Temp directory must be an absolute path error

Post by Radu »


Does the folder "C:\New folder" exist on disk? What are the read/write access rights to that folder? The problem might be that in case of folders placed directly on the "c:\" drive applications like Oxygen may not be able to make changes or create them. Could you for example try to point to a folder in the user home? Maybe point to some subfolder of the "C:\Users\your_user_name\Documents\tempDOT"?

Radu Coravu
<oXygen/> XML Editor
Post Reply