Hi,
I succeeded to configure afanasy to execute multiple tasks in parallel on a single renderer (using 'capacity' configurations).
The renderer executes after effects and runs on windows.
For the experiment I set "maxtasks":2 (and I see 2 tasks are starting in parallel on the same renderer).
Now the first task executed successfully while the second task fails (the scenario is easily reproducible).
In order to be sure it is possible to run 2 after effects render processes in parallel I run corresponding task commands manually on the render machine and it successfully executed.
The commands are:
aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 0 -e 49 -i 1 -mp -comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 50 -e 99 -i 1 -mp -comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
In output of failed task (in afanasy watch) I see:
After Effects warning: Invalid menu operation.
After Effects can't continue: unexpected failure during application startup
Please help.
How can I debug what is going on?
Errors when running multiple parallel tasks on renderer with after effects
Re: Errors when running multiple parallel tasks on renderer with after effects
May be no one used to run several AEs within Afanasy.
It seems that afrender and you runs command with various environment if the result is differ.
How did you tested that commands?
Can you open 2 terminals from Keeper (it will be with cgru environment).
And run exact commands from 2 different tasks.
( or may be you already tested it this way )
It seems that afrender and you runs command with various environment if the result is differ.
How did you tested that commands?
Can you open 2 terminals from Keeper (it will be with cgru environment).
And run exact commands from 2 different tasks.
( or may be you already tested it this way )
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Errors when running multiple parallel tasks on renderer with after effects
I run ae in clean command line (without any dependency on afanacy).
When you say "keeper": do you mean renderer?
So. if I understood you correctly, you propose to run ae in the same environment as the keeper (i.e open the command line of the "keeper" and then run ae manually)
When you say "keeper": do you mean renderer?
So. if I understood you correctly, you propose to run ae in the same environment as the keeper (i.e open the command line of the "keeper" and then run ae manually)
Re: Errors when running multiple parallel tasks on renderer with after effects
I mean CGRU Keeper - a system tray icon to run CGRU tools: "cgru\start.cmd".
Or you can open cmd.exe, cd to cgru folder, call setup.cmd and then run command under CGRU environment.
Or you can open cmd.exe, cd to cgru folder, call setup.cmd and then run command under CGRU environment.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Errors when running multiple parallel tasks on renderer with after effects
I did it, and it works fine with cgru env (two ae renders were successfully run in parallel).
I did the following in two windows:
open cmd.exe
cd c:\cgru.2.2.1
setup.cmd
cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files"
then run the following commands:
in window 1: aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 0 -e 49 -i 1 -mp-comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
in window 2: aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 50 -e 99 -i 1 -mp-comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
two ae processed run in parallel and successfully generated 100 frames as expected.
any other thoughts?
how can I debug the from more accurately?
Thx
I did the following in two windows:
open cmd.exe
cd c:\cgru.2.2.1
setup.cmd
cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files"
then run the following commands:
in window 1: aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 0 -e 49 -i 1 -mp-comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
in window 2: aerender -project "c:\rendering-templates\BooingMiss\booing_miss.aep" -mp -s 50 -e 99 -i 1 -mp-comp "Frequent flyer main" -RStemplate "Best Settings" -output "C:\\rendering-outputs\\frames\\frame_[#####].jpg"
two ae processed run in parallel and successfully generated 100 frames as expected.
any other thoughts?
how can I debug the from more accurately?
Thx
Re: Errors when running multiple parallel tasks on renderer with after effects
Hi.
Post move in AfterFX section.
It probably does not play any role, but, why you did:
cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files" ?
Task working folder was in there?
Post move in AfterFX section.
It probably does not play any role, but, why you did:
cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files" ?
Task working folder was in there?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Errors when running multiple parallel tasks on renderer with after effects
No special reson.
I just run this way without afanasy and it works.
Now, I came up with temporary solution.
We normally run afanasy render as a windows services.
When I run it manually (not as a service) it works well
Don't know why
Do you have any idea?
I just run this way without afanasy and it works.
Now, I came up with temporary solution.
We normally run afanasy render as a windows services.
When I run it manually (not as a service) it works well
Don't know why
Do you have any idea?
Re: Errors when running multiple parallel tasks on renderer with after effects
Sometimes we facing this issue on Windows with various soft.
Sometimes display (logged-in session with GUI) is needed.
btw
If you want to run under the same environment you must run commands in the same working folder.
Different working folders can play a major role.
Sometimes display (logged-in session with GUI) is needed.
btw
If you want to run under the same environment you must run commands in the same working folder.
Different working folders can play a major role.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).