PDF publishing errors after upgrade to 24

Post here questions and problems related to editing and publishing DITA content.
Jesse
Posts: 12
Joined: Fri Nov 13, 2020 9:24 pm

PDF publishing errors after upgrade to 24

Post by Jesse »

Hello!

We recently upgraded to Oxygen 24 and our PDF transformations are failing with the following error:

"You don't have permission to save in the location: '${homedir}/DITA-output/pdf'. Please edit the 'Output directory' option in the transformation scenario."

This is happening in both Mac and PC environments. We're just using our same .xpr file that we always used and have many PDF transforms saved to.

Changing the output directory works, but it was convenient to set it up to the homedir.

Thanks!
Jesse
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF publishing errors after upgrade to 24

Post by Radu »

Hi Jesse,

Oxygen editor variables are case sensitive and the variable you want to use should be written as ${homeDir}:
https://www.oxygenxml.com/doc/versions/ ... ables.html
What I did on my side was to open a small DITA Map in the Oxygen DITA Maps Manager view, duplicated an existing DITA Map to PDF transformation scenario and in the Output tab set the "Output directory" value to be "${homeDir}/DITA-output/pdf", and this worked for me. If instead I use ${homedir} it fails as Oxygen does not recognize the editor variable and fails to expand it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Jesse
Posts: 12
Joined: Fri Nov 13, 2020 9:24 pm

Re: PDF publishing errors after upgrade to 24

Post by Jesse »

Thanks, Radu, that worked!
Post Reply