How do I change the path to Nuke/Maya/Photoshop (or any DCC)?

Note: This document describes functionality only available if you have taken control over a Toolkit configuration. Please refer to the [Shotgun Integrations User Guide](https://support.shotgunsoftware.com/hc/en-us/articles/115000067493#Configuring%20the%20software%20in%20Shotgun%20Desktop) for details.

To set or update the path to a software package like Nuke, Maya, or Photoshop, you need to locate the paths.yml file in your project's configuration. Your project configuration should have a structure that looks like this:

Screen_Shot_2016-01-11_at_3.57.35_PM.png

As you can see, the paths.yml file lives inside the includes directory within the config's top-level env directory. This file is used by Toolkit to identify the path to all of the project's software packages on the various operating systems in use. Each software package typically has 3 entries, one each for windows, linux, and mac. Here's an example of the default configuration for maya:

Screen_Shot_2016-01-11_at_4.05.04_PM.png

To change the path to a particular piece of software, locate the collection of paths that correspond to that package and update the path or paths for the operating systems in use. Save the file and Toolkit will use your updated path the next time you launch the software. 

For reference, you can see the default state of the paths.yml file in the tk-config-default repository here

Follow

3 Comments

  • 0
    Avatar
    Eugeniy Kostenko

    I changed path of photoshop to CC2015, but there are a couple of errors in console and photoshop not launch.

    There are no support for CC2015?

     

    Log:

    2016-03-29 09:45:58,000 [ ERROR] [PROXY] Error executing engine bootstrap script.
    Traceback (most recent call last):
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 765, in prepare_photoshop_launch
    photoshop_environment_setup.setup(self, context)
    File "\192.168.1.2\shotgun\config\install\engines\app_store\tk-photoshop\v0.3.3\bootstrap\photoshop_environment_setup.py", line 29, in setup
    "Shotgun Pipeline Toolkit Photoshop Settings. Error Reported: %s" % e)
    TankError: Could not run the Adobe Extension Manager. Please double check your Shotgun Pipeline Toolkit Photoshop Settings. Error Reported: Could not figure out extension manager version: C:\Program Files (x86)\Adobe\Adobe Extension Manager CS6\XManCommand.exe
     
    2016-03-29 09:45:58,002 [ ERROR] [PROXY] Error calling __commands::launch_photoshop((), {}):
    Traceback (most recent call last):
    File "\192.168.1.2\shotgun\config\install\engines\app_store\tk-desktop\v2.0.10\python\tk_desktop\desktop_engine_project_implementation.py", line 109, in trigger_callback
    callback(*args, **kwargs)
    File "\192.168.1.2\shotgun\config\install\core\python\tank\platform\engine.py", line 698, in callback_wrapper
    return callback(*args, **kwargs)
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 112, in launch_version
    self.launch_from_entity(version)
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 188, in launch_from_entity
    self._launch_app(self.context, version=version)
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 256, in _launch_app
    self._launch_app_internal(context, file_to_open, version)
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 310, in _launch_app_internal
    self.prepare_photoshop_launch(context)
    File "\192.168.1.2\shotgun\config\install\apps\app_store\tk-multi-launchapp\v0.7.3\app.py", line 768, in prepare_photoshop_launch
    raise TankError("Error executing bootstrap script. Please see log for details.")
    TankError: Error executing bootstrap script. Please see log for details.

  • 0
    Avatar
    Eugeniy Kostenko

    After that I installed Photoshop CS6, change path and the same errors in logs again

  • 0
    Avatar
    Eugeniy Kostenko

    Ok, I installed Adobe Extension Manager CS6 and it now works.

    But In Extension Manager CC there are no XManCommand.exe . What I must to do?

Please sign in to leave a comment.