Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unhashable Type #17

Open
edlgm opened this issue Sep 8, 2021 · 1 comment
Open

Error: Unhashable Type #17

edlgm opened this issue Sep 8, 2021 · 1 comment

Comments

@edlgm
Copy link

edlgm commented Sep 8, 2021

After merging all the ymls and trying to run the tank cache_apps command I get the following error:

ERROR: A general error was reported: unhashable type
Traceback (most recent call last):
File "C:\Volumes\project\6_ShotgunConfig\install\core\scripts\tank_cmd.py", line 1860, in
pipeline_config_root, ctx_list, cmd_name, using_cwd, cmd_args
File "C:\Volumes\project\6_ShotgunConfig\install\core\scripts\tank_cmd.py", line 1510, in run_engine_cmd
return run_action(logger, tk, ctx, command, args)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\commands\tank_command.py", line 563, in run_action
return found_action.run_interactive(log, args)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\commands\cache_apps.py", line 63, in run_interactive
return self._run(log)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\commands\cache_apps.py", line 81, in _run
env = self.tk.pipeline_configuration.get_environment(env_name)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\pipelineconfig.py", line 1149, in get_environment
env_obj = EnvClass(env_file, self, context)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment.py", line 762, in init
super(InstalledEnvironment, self).init(env_path, context)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment.py", line 63, in init
self._refresh()
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment.py", line 77, in _refresh
self._env_path, data, self.__context
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment_includes.py", line 186, in process_includes
data, _ = _process_includes_r(file_name, data, context)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment_includes.py", line 210, in _process_includes_r
include_files = _resolve_includes(file_name, data, context)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\platform\environment_includes.py", line 118, in _resolve_includes
path = resolve_include(file_name, include)
File "C:\Volumes\project\6_ShotgunConfig\install\core\python\tank\util\includes.py", line 72, in resolve_include
path = os.path.expanduser(os.path.expandvars(include))
File "C:\Program Files\Shotgun\Python\lib\ntpath.py", line 289, in expanduser
if path[:1] != '~':
TypeError: unhashable type

Do you know what the issue might be?

@MoisMoshev
Copy link

It could be a wrong include in the yml of a non-existent yml fie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants