Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Manual sync breaks OP project if sync is done prior to prepare project #4410

Closed
BigRoy opened this issue Feb 1, 2023 · 1 comment

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Feb 1, 2023

Running version

3.14.3

Describe the bug

Note: This happens with auto-sync disabled.

Whenever creating a new Ftrack project and having some assets/shots generated when clicking Actions > OpenPype Admin > OpenPype Admin - Sync to Avalon (Local) it syncs the project with fps, frame start, frame end, etc. values set to a None value.

I feel like this only really happens if we Create a new Ftrack project and Sync to Avalon before triggering the Actions > Prepare Project

Because on creating a new project - the project looks like this:

afbeelding

After Prepare project it looks like this:

afbeelding

Which is what I'd need.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new ftrack project
  2. Do not trigger Actions > Prepare Project
  3. Trigger Actions > OpenPype Admin > OpenPype Admin - Sync to Avalon (Local)

The project is now in a broken state in OpenPype since it has fps = None, frameStart = None, etc.

Expected behavior

I feel like we should DISALLOW the project to be synced without Prepare Project having triggered or when having these project values set to None. It should show a pop-up on what to do OR even better should automatically show the "Prepare Project" pop-up.

Screenshots

These are our ftrack defined custom attributes:

ftrack_custom_attributes

I feel like some of these aren't needed, are maybe old? and maybe the issue is that some don't have defaults to begin with?

Additional context

Came up on discord few times:

Workaround

The active workaround to 'fix' it is to run Actions > Prepare Project and then Actions > OpenPype Admin > OpenPype Admin - Sync to Avalon (Local) again.

However I still feel the sync should still not work, or at least warn the user, if the attributes haven't been "prepared" correctly.

[cuID:OP-4870]

@BigRoy BigRoy added type: bug Something isn't working module: Ftrack labels Feb 1, 2023
@BigRoy BigRoy changed the title Ftrack - Sync breaks OpenPype project is manual sync is done prior to prepare project Ftrack: Sync breaks OpenPype project is manual sync is done prior to prepare project Feb 1, 2023
@BigRoy BigRoy changed the title Ftrack: Sync breaks OpenPype project is manual sync is done prior to prepare project Ftrack: Manual sync breaks OP project if sync is done prior to prepare project Feb 1, 2023
@BigRoy
Copy link
Collaborator Author

BigRoy commented Jul 29, 2024

Irrelevant to AYON ftrack integration I believe.

@BigRoy BigRoy closed this as completed Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants