use different help file for integrate review

This commit is contained in:
Jakub Trllo 2025-12-08 16:39:44 +01:00
parent fb2df33970
commit f0bd2b7e98
3 changed files with 25 additions and 21 deletions

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<error id="main">
<title>{upload_type} upload timed out</title>
<description>
## {upload_type} upload failed after retries
The connection to the AYON server timed out while uploading a file.
### How to resolve?
1. Try publishing again. Intermittent network hiccups often resolve on retry.
2. Ensure your network/VPN is stable and large uploads are allowed.
3. If it keeps failing, try again later or contact your admin.
<pre>File: {file}
Error: {error}</pre>
</description>
</error>
</root>

View file

@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<error id="upload_timeout">
<title>Review upload timed out</title>
<description>
## Review upload failed after retries
The connection to the AYON server timed out while uploading a reviewable file.
### How to repair?
1. Try publishing again. Intermittent network hiccups often resolve on retry.
2. Ensure your network/VPN is stable and large uploads are allowed.
3. If it keeps failing, try again later or contact your admin.
<pre>File: {file}
Error: {error}</pre>
</description>
</error>
<error id="main">
<title>Source directory not collected</title>
<description>

View file

@ -158,12 +158,13 @@ class IntegrateAYONReview(pyblish.api.InstancePlugin):
raise PublishXmlValidationError(
self,
(
"Upload of reviewable timed out or failed after multiple attempts."
" Please try publishing again."
"Upload of reviewable timed out or failed after multiple"
" attempts. Please try publishing again."
),
key="upload_timeout",
formatting_data={
"upload_type": "Review",
"file": repre_path,
"error": str(last_error),
},
help_filename="upload_file.xml",
)