ID 311781 - Katana picks up Temporary resolution.xml~ files

Follow

Problem summary

When editing the 'resolution.xml' file, some programs such as 'Kate' or 'Gedit' will create temporary files within the same folder location.  ( resolution.xml~ )

The problem with this is Katana will sometimes read the temporary file as well as the main .xml file.

This confuses the tools that use the resolution tables because they see Duplicate names but they have different resolution values.

 

Steps to reproduce

Linux Only

1) Find your FoundryResolultions.xml' file within ' ${KATANA_ROOT}/plugins/Resources/Core/Resolutions'

    For example, if you are using Katana2.6v3, your path will be: '/Katana2.6v3/plugins/Resources/Core/Resolutions'


    For more information you can checkout this link to our online help:

    http://help.thefoundry.co.uk/katana/Default.html#tg/custom_render_resolutions/modifying_resolutions.html


2) Open the FoundryResolutions.xml file with Gedit.

3) Edit the resolution value for one of the defaults, save the file.

4) Test out a few resolution scripts, you will see duplicate resolutions (With your edited value)

Note) Don't forget to set your resolution back to your preferred values and remove the XML backup file

 

Workaround

Currently there is no workaround inside Katana to avoid the files, but you can easily remove the backup files or turn the application setting off.

Gedit

If you do not want backup files, you can turn off the option in Gedit via 'Edit -> Preferences -> Editor' :

 

Reproduced by support
Katana2.6v3 - CentOS6.9
Katana2.6v1 - CentOS6.9
Katana2.5v7 - CentOS6.9
Katana2.5v1 - CentOS6.9
Katana2.1v6 - CentOS6.9

 

Earliest version tested
Katana1v6

 

Expected behaviour
Katana should only read the proper XML files instead of the backup files.

 

Actual behaviour
Katana currently reads the backup XML files which messes with the opScripts

    We're sorry to hear that

    Please tell us why