Traceback (most recent call last):
File "/cache/dev/OpenPype/.venv/lib/python3.9/site-packages/pyblish/plugin.py", line 522, in __explicit_process
runner(*args)
File "/cache/dev/OpenPype/openpype/plugins/publish/integrate.py", line 187, in process
six.reraise(*sys.exc_info())
File "/usr/local/python3.7/lib/python3.7/site-packages/six.py", line 719, in reraise
raise value
File "/cache/dev/OpenPype/openpype/plugins/publish/integrate.py", line 174, in process
self.register(instance, file_transactions, filtered_repres)
File "/cache/dev/OpenPype/openpype/plugins/publish/integrate.py", line 270, in register
instance)
File "/cache/dev/OpenPype/openpype/plugins/publish/integrate.py", line 596, in prepare_representation
publish_template_category = anatomy.templates[template_name]
KeyError: 'render'
Is this failing due to ‘Render’ not existing in the Anatomy (this is the default anatomy), like here:
Please change settings in core/tools/publish/template_name_profiles. Each template name except publish must have prefix publish_. So render → publish_render.
EDITED:
The same is for hero templates but there should be prefix hero_.
Ok cool, did that. Would I then add ‘render’ here in a project anatomy?
well if I try that I get
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/cache/dev/OpenPype/openpype/pipeline/anatomy.py", line 439, in __init__
project_doc = self.get_project_doc_from_cache(project_name)
File "/cache/dev/OpenPype/openpype/pipeline/anatomy.py", line 448, in get_project_doc_from_cache
project_cache.update_data(get_project(project_name))
File "/cache/dev/OpenPype/openpype/client/server/entities.py", line 50, in get_project
return convert_v4_project_to_v3(
File "/cache/dev/OpenPype/openpype/client/server/conversion_utils.py", line 205, in convert_v4_project_to_v3
_fill_template_category(templates, cat_templates, key)
File "/cache/dev/OpenPype/openpype/client/server/conversion_utils.py", line 141, in _fill_template_category
default_template_name = _get_default_template_name(cat_templates)
File "/cache/dev/OpenPype/openpype/client/server/conversion_utils.py", line 128, in _get_default_template_name
default_template = template["name"]
KeyError: 'name'