Blender Kitsu: Update Output Collection Fails #66

Closed
opened 2023-06-01 18:30:11 +02:00 by Nick Alberelli · 1 comment
Member

from @SimonThommes

Broken by studio/blender-studio-pipeline#59


Traceback (most recent call last):
  File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/ops.py", line 399, in execute
    asset_colls = opsdata.find_asset_collections_in_scene(context.scene)
  File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/opsdata.py", line 157, in find_asset_collections_in_scene
    if not coll.name.startswith(prefix):
TypeError: startswith first arg must be str or a tuple of str, not list
Error: Python: Traceback (most recent call last):
  File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/ops.py", line 399, in execute
    asset_colls = opsdata.find_asset_collections_in_scene(context.scene)
  File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/opsdata.py", line 157, in find_asset_collections_in_scene
    if not coll.name.startswith(prefix):
TypeError: startswith first arg must be str or a tuple of str, not list


from @SimonThommes Broken by https://projects.blender.org/studio/blender-studio-pipeline/pulls/59 ``` Traceback (most recent call last): File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/ops.py", line 399, in execute asset_colls = opsdata.find_asset_collections_in_scene(context.scene) File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/opsdata.py", line 157, in find_asset_collections_in_scene if not coll.name.startswith(prefix): TypeError: startswith first arg must be str or a tuple of str, not list Error: Python: Traceback (most recent call last): File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/ops.py", line 399, in execute asset_colls = opsdata.find_asset_collections_in_scene(context.scene) File "/home/guest/git/blender-studio-pipeline/scripts-blender/addons/blender_kitsu/anim/opsdata.py", line 157, in find_asset_collections_in_scene if not coll.name.startswith(prefix): TypeError: startswith first arg must be str or a tuple of str, not list ```
Nick Alberelli added the
Kind
Bug
Kind
Breaking
Kind
Studio Request
labels 2023-06-01 18:30:12 +02:00
Author
Member

Fixed by 2c4f430236

Fixed by https://projects.blender.org/studio/blender-studio-pipeline/commit/2c4f430236b8946c883a4c6beda2e07f1d1f2878
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#66
No description provided.