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

Ftrack: Sync sets assets data as None #3797

Closed
BigRoy opened this issue Sep 6, 2022 · 1 comment
Closed

Ftrack: Sync sets assets data as None #3797

BigRoy opened this issue Sep 6, 2022 · 1 comment

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Sep 6, 2022

Describe the bug

I created a new Mongo database, created a new Project in Ftrack, synced a project from Ftrack, launched Maya then tried to publish a model. It failed.

It fails on Validate Maya Units with Scene must be None FPS (now is 25.0).

Repair errors on:

Traceback (most recent call last):
  File "S:\openpype\OpenPype\.venv\lib\site-packages\pyblish\plugin.py", line 522, in __explicit_process
    runner(*args)
  File "S:\openpype\OpenPype\openpype\action.py", line 90, in process
    plugin.repair(context)
  File "S:\openpype\OpenPype\openpype\hosts\maya\plugins\publish\validate_maya_units.py", line 99, in repair
  File "S:\openpype\OpenPype\openpype\hosts\maya\api\lib.py", line 2087, in set_scene_fps
    dec, ipart = math.modf(fps)
TypeError: must be real number, not NoneType

It seems the Asset has synced with the following data as None.
The syncing reported no errors.

afbeelding


Likely the issue is related to not having pressed "Ftrack > Actions > Prepare Project" because doing:

  1. Prepare Project
  2. Sync to OpenPype
  3. Now data is synced.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new project in Ftrack
  2. Add an asset + task
  3. Right click on the project, Admin Actions -> Sync to OpenPype

Expected behavior

Syncing should error and tell me how to solve it - e.g. highlight that I should be doing Prepare Project instead of syncing broken assets.

[cuID:OP-3912]

@BigRoy
Copy link
Collaborator Author

BigRoy commented Jul 29, 2024

Not relevant for AYON afaik.

@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