This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Harmony: Added new style validations for New Publisher #2434
Merged
kalisp
merged 1 commit into
feature/validation_exceptions
from
feature/validation_exceptions_harmony
Dec 23, 2021
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
openpype/hosts/harmony/plugins/publish/help/validate_audio.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<root> | ||
<error id="main"> | ||
<title>Missing audio file</title> | ||
<description> | ||
## Cannot locate linked audio file | ||
|
||
Audio file at {audio_url} cannot be found. | ||
|
||
### How to repair? | ||
|
||
Copy audio file to the highlighted location or remove audio link in the workfile. | ||
</description> | ||
</error> | ||
</root> |
25 changes: 25 additions & 0 deletions
25
openpype/hosts/harmony/plugins/publish/help/validate_instances.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<root> | ||
<error id="main"> | ||
<title>Subset context</title> | ||
<description> | ||
## Invalid subset context | ||
|
||
Asset name found '{found}' in subsets, expected '{expected}'. | ||
|
||
### How to repair? | ||
|
||
You can fix this with `Repair` button on the right. This will use '{expected}' asset name and overwrite '{found}' asset name in scene metadata. | ||
|
||
After that restart `Publish` with a `Reload button`. | ||
|
||
If this is unwanted, close workfile and open again, that way different asset value would be used for context information. | ||
</description> | ||
<detail> | ||
### __Detailed Info__ (optional) | ||
|
||
This might happen if you are reuse old workfile and open it in different context. | ||
(Eg. you created subset "renderCompositingDefault" from asset "Robot' in "your_project_Robot_compositing.aep", now you opened this workfile in a context "Sloth" but existing subset for "Robot" asset stayed in the workfile.) | ||
</detail> | ||
</error> | ||
</root> |
35 changes: 35 additions & 0 deletions
35
openpype/hosts/harmony/plugins/publish/help/validate_scene_settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<root> | ||
<error id="main"> | ||
<title>Scene setting</title> | ||
<description> | ||
## Invalid scene setting found | ||
|
||
One of the settings in a scene doesn't match to asset settings in database. | ||
|
||
{invalid_setting_str} | ||
|
||
### How to repair? | ||
|
||
Change values for {invalid_keys_str} in the scene OR change them in the asset database if they are wrong there. | ||
</description> | ||
<detail> | ||
### __Detailed Info__ (optional) | ||
|
||
This error is shown when for example resolution in the scene doesn't match to resolution set on the asset in the database. | ||
Either value in the database or in the scene is wrong. | ||
</detail> | ||
</error> | ||
<error id="file_not_found"> | ||
<title>Scene file doesn't exist</title> | ||
<description> | ||
## Scene file doesn't exist | ||
|
||
Collected scene {scene_url} doesn't exist. | ||
|
||
### How to repair? | ||
|
||
Re-save file, start publish from the beginning again. | ||
</description> | ||
</error> | ||
</root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line at end of file