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

Traypublisher: Batch publish creator does not work #3

Open
2 tasks done
MustafaJafar opened this issue Jul 11, 2024 · 0 comments
Open
2 tasks done

Traypublisher: Batch publish creator does not work #3

MustafaJafar opened this issue Jul 11, 2024 · 0 comments
Assignees
Labels
type: bug Something isn't working

Comments

@MustafaJafar
Copy link
Contributor

MustafaJafar commented Jul 11, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

Batch publishing in traypublisher did find context of created instances based on asset name in OpenPype. That is not possible in AYON where folder path is source of truth.

client/ayon_core/hosts/traypublisher/plugins/create/create_movie_batch.py
client/ayon_core/hosts/traypublisher/batch_parsing.py

The logic should be validated. It probably does work now only if there are no folder entities with duplicated name.

Expected Behavior:

it should work

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

..

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

I jumped into the creator and brought the piece of code that keep failing.

from ayon_core.hosts.traypublisher.batch_parsing import (
    get_folder_entity_from_filename
)
import re 
file_name = "example"  # file name without the extenstion.
project_name = "Robo"

version_regex = re.compile(r"^(.+)_v([0-9]+)$")
result = get_folder_entity_from_filename(project_name, file_name, version_regex)
print(result)

[cuID:AY-3669]

@MustafaJafar MustafaJafar added the type: bug Something isn't working label Jul 11, 2024
@iLLiCiTiT iLLiCiTiT assigned kalisp and unassigned iLLiCiTiT Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants