Auto-resolve ayon settings with service username field to force perforce syn with render jobs. #7

Closed
opened 2024-07-31 13:49:21 +02:00 by kaamaurice · 1 comment
kaamaurice commented 2024-07-31 13:49:21 +02:00 (Migrated from github.com)

For ayon server add new setting : "auto-resolve" :

  • When this setting is True, any files with the warning: "unable to update modified file...." are automatically resolved
For ayon server add new setting : "auto-resolve" : - When this setting is True, any files with the warning: "unable to update modified file...." are automatically resolved
kaamaurice commented 2024-10-03 10:47:47 +02:00 (Migrated from github.com)

Done with environment variable P4BATCH=True in ayon-perforce-loops:

if self.data["env"].get("P4BATCH"):
    if process.returncode != 0:
        self.log.error(
            "Perforce sync process return non-zero code: "
            f"{process.returncode}",
        )
    if complete_log:
        PerforceResolver(complete_log).resolve()
Done with environment variable `P4BATCH=True` in [ayon-perforce-loops](https://github.com/LoopsCreativeStudio/ayon-perforce-loops): ```python if self.data["env"].get("P4BATCH"): if process.returncode != 0: self.log.error( "Perforce sync process return non-zero code: " f"{process.returncode}", ) if complete_log: PerforceResolver(complete_log).resolve() ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: external/ayon-perforce#7