Blender Kitsu: Asset Index code needs to be removed #333

Closed
opened 2024-10-21 03:58:37 +02:00 by JM-15 · 2 comments
Contributor

System Information
Operating system: Linux

Blender Version: 4.2 LTS
Add-on Name & Version: Blender Kitsu v0.1.6

Short description of error

When the New Asset Tagging System was introduced, my understanding was that the asset_index.json was no longer necessary. However, if asset_index.json is missing when building a shot, it silently fails to import the shot's assets. The asset_index var populated here doesn't seem to be used, and I'm wondering if this is code that was overlooked and needs to be removed.

Exact steps for others to reproduce the error

Build a new shot with no asset_index.json file and assets configured correctly with collection and filepath columns in Kitsu, as well as shot breakdown configured correctly. Shot file will be generated with no linked assets and no logs indicating why. Adding an empty asset_index.json file is a workaround.

**System Information** Operating system: Linux Blender Version: 4.2 LTS Add-on Name & Version: Blender Kitsu v0.1.6 **Short description of error** When the [New Asset Tagging System was introduced](https://projects.blender.org/studio/blender-studio-pipeline/commit/ee7e3b9d8eb37a06a154d48dae933fcc23ff04e1), my understanding was that the `asset_index.json` was no longer necessary. However, if `asset_index.json` is missing when building a shot, it silently fails to import the shot's assets. The `asset_index` var populated [here]( https://projects.blender.org/studio/blender-studio-pipeline/src/branch/main/scripts-blender/addons/blender_kitsu/shot_builder/assets.py#L37) doesn't seem to be used, and I'm wondering if this is code that was overlooked and needs to be removed. **Exact steps for others to reproduce the error** Build a new shot with no `asset_index.json` file and assets configured correctly with collection and filepath columns in Kitsu, as well as shot breakdown configured correctly. Shot file will be generated with no linked assets and no logs indicating why. Adding an empty `asset_index.json` file is a workaround.

Yes, the asset index should be removed. Could you help with this?

Yes, the asset index should be removed. Could you help with this?
Author
Contributor

@fsiddi, I tested and confirmed this was fixed in your recent commit. Thank you!

@fsiddi, I tested and confirmed this was fixed in [your recent commit](https://projects.blender.org/studio/blender-studio-pipeline/commit/33c4903deda61ca4a4bd95d7485f979038f4304c). Thank you!
JM-15 closed this issue 2024-10-23 05:39:40 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#333
No description provided.