Hi there,
We are using the CSV ingest in the Tray Publisher for our plates. Before the “Product Type” column was enough to register the Loader in Nuke. After an upgrade, the plate no longer seems to have a Clip Loader in Nuke. I see there is now a Product Base Type, does that need to be used somehow ?
It can, but there should be no need. It may be that you’re on an older core and server version that somehow they misbehave. But on a Loader plug-in the product type should currently filter the product base type if product base type is not set on loaders, so they are backwards compatible.
And aside of that, what used to be product type is becoming product base type - and product type is what will start acting as a studio overridable name/alias with much less affect on how pipeline behaves. The base types then start defining the pipeline behavior.
As such, this should not be the case - but I’d love more details on what’s failing for you exactly.
Thanks for the reply -
Core - 1.7.1
Server - 1.13.6
I have a product type column set to “plate” -
In the attached image - the green arrow is pubbed with the csv_ingest method and the red arrow with the regular tray publisher method.
so I think I get it now. Seems like a bug in CSV Ingest Creator we need to fix - it changes the product_type to plate but it is not touching product_base_type that is initialized somewhere to be the same value as product_type.
Hi @BigRoy
We have updated to TrayPublisher 0.3.10 - but now I am getting this error -
Creator: CSV Ingest (io.ayon.creators.traypublisher.csv_ingest)
Error: string indices must be integers
Traceback (most recent call last):
File "/home/rory.mark/.local/share/AYON/addons/core_1.7.2/ayon_core/pipeline/create/context.py", line 2330, in _create_with_unified_error
result = creator.create(*args, **kwargs)
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.10/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 358, in create
self._process_csv_file(
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.10/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 424, in _process_csv_file
instances = self._create_instances_from_csv_data(
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.10/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 998, in _create_instances_from_csv_data
folder_paths_by_id = {
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.10/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 999, in <dictcomp>
f["id"]: f["path"]
TypeError: string indices must be integers
Hi @BigRoy -
A further error has popped up
Creator: CSV Ingest (io.ayon.creators.traypublisher.csv_ingest)
Error: ‘name’
Traceback (most recent call last):
File "/home/rory.mark/.local/share/AYON/addons/core_1.7.2/ayon_core/pipeline/create/context.py", line 2330, in _create_with_unified_error
result = creator.create(*args, **kwargs)
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.11/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 358, in create
self._process_csv_file(
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.11/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 424, in _process_csv_file
instances = self._create_instances_from_csv_data(
File "/home/rory.mark/.local/share/AYON/addons/traypublisher_0.3.11/ayon_traypublisher/plugins/create/create_csv_ingest.py", line 1066, in _create_instances_from_csv_data
product_name: str = get_product_name(
File "/home/rory.mark/.local/share/AYON/addons/core_1.7.2/ayon_core/pipeline/create/product_name.py", line 221, in inner
return func(*args, **kwargs)
File "/home/rory.mark/.local/share/AYON/addons/core_1.7.2/ayon_core/pipeline/create/product_name.py", line 471, in get_product_name
"name": folder_entity["name"],
KeyError: 'name'