generated from ynput/ayon-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
communityIssues and PRs coming from the community membersIssues and PRs coming from the community memberstype: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues and added correct labels.
Description
Current Behavior
currently sets first and/or last to None if the version attributes frameStart or frameEnd aren't set, which then leads to an error in the following calculation, which tries to add/subtract a number to/from None.
Expected Behavior
Should fail gracefully or have a fallback
Steps To Reproduce:
Load a version without frameStart set using Load Clip.
Loading via the Ayon Loader leads to a cryptic error, loading via a workfile template will fail to resolve the corresponding placeholder.
Additional context:
No response
Relevant log output:
TypeError: unsupported operand type(s) for -=: 'NoneType' and 'int'Metadata
Metadata
Assignees
Labels
communityIssues and PRs coming from the community membersIssues and PRs coming from the community memberstype: bugSomething isn't workingSomething isn't working