Comments (23)
I manage to find out a solution.
If I use this binary /opt/homebrew/bin/nexrender-cli it does work
from nexrender.
Hello,
I'm having the same issue with Mac mini M2. No log is generated even skipping cleanup parameter.
MACOS : tried with the latest (Somata) and previous (Ventura)
I have tried with the latest release (1.48.4) and previous one (1.48.3), same issue. Seems that there is an issue while forking the aerender process.
If I run the spawn process manually everything goes well.
([d6TJ10yLaZOLniTjOHq0i] spawning aerender process: /Applications/Adobe After Effects 2024/aerender -project /Users/administrator/meteogenerator/public/d6TJ10yLaZOLniTjOHq0i/VIA-METEO-V1-NEX-24.aep -comp VIA-METEO_FINAL_1 -output /Users/a
dministrator/meteogenerator/public/d6TJ10yLaZOLniTjOHq0i/result.mov -OMtemplate PRORESLT -r /Users/administrator/meteogenerator/public/d6TJ10yLaZOLniTjOHq0i/nexrender-d6TJ10yLaZOLniTjOHq0i-script.jsx -mfr ON 90
After Effects is the latest (24.1).
I spent hours trying to find the issue without succeed.
For information, on the first launch of nexrender-cli-macos I had a "Bad CPU" warning, after rosetta 2 installation the message vanished.
Error message :
[chNSevvz_PrLHLaER966C] applying predownload actions...
[chNSevvz_PrLHLaER966C] downloading assets...
[chNSevvz_PrLHLaER966C] applying postdownload actions...
[chNSevvz_PrLHLaER966C] applying prerender actions...
[chNSevvz_PrLHLaER966C] running script assemble...
[chNSevvz_PrLHLaER966C] rendering job...
[chNSevvz_PrLHLaER966C] -- D E P R E C A T I O N: --
nexrender is changing the default aerender log path to the project folder.
This is done to streamline the log management and enable efficient log cleanup.
If you want to keep the old behavior and mute this message, please set the environment variable NEXREN
DER_ENABLE_AELOG_LEGACY_TEMP_FOLDER to true.
If you want to switch to the new behavior, please set the environment variable NEXRENDER_ENABLE_AELOG_
PROJECT_FOLDER to true.
Right now, the old behavior is still the default, but this will change in the next minor releases.
Estimated date of change to the new behavior: 2023-06-01.
catching the error internally
[chNSevvz_PrLHLaER966C] cleaning up...
Error Output:
================
> job rendering failed
Error: aerender.exe failed to render the output into the file due to an unknown reason
at ChildProcess.<anonymous> (/snapshot/nexrender/packages/nexrender-core/src/tasks/render.js)
at ChildProcess.emit (node:events:537:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:537:28)
at Pipe.<anonymous> (node:net:747:14)
Had a try with setting the export : NEXRENDER_ENABLE_AELOG_
PROJECT_FOLDER to true.
Same behaviour
Thanks for your help.
Phil
from nexrender.
It could be indeed related to macOS binaries being built for x64. Let me try uploading custom-built ARM binaries here later today to verify that this is the case. Would you be able to test that?
from nexrender.
Yes, I will test this and give you proper feedbacks.
Thanks so much.
Phil
from nexrender.
Hi again,
Strange thing here if I use this binary : /opt/homebrew/bin/nexrender-cli
it works ...
from nexrender.
Could you share the aerender log related to that render job?
(it should be in this folder: /var/folders/gm/hdxp66557mz7dn415qlccnfw0000gn/T/nexrender/
, with job uid)
from nexrender.
Here is a testing file: https://github.com/inlife/nexrender/releases/download/v1.48.4/nexrender-cli-macos-arm-test
from nexrender.
Hello,
Thanks for the binary but this does not solve the issue. Same Error.
from nexrender.
I see. Another option is getting the Nodejs installed locally and installing nexrender via NPM. That way, you would have a natively running Node.js, which could solve the issue.
from nexrender.
Hi, I have been trying to solve this error for many days but have not been successful. I am using aerender also but it is working correctly This is the error:
starting nexrender-cli
checking After Effects command line renderer patch...
command line patch already is in place
[RIGtcE9g_4Mqg6o-ndcM-] setting up job...
[RIGtcE9g_4Mqg6o-ndcM-] working directory is: /var/folders/t_/tlb6h5cj2zxbwh1bcsgm4bd80000gn/T/nexrender/RIGtcE9g_4Mqg6o-ndcM-
[RIGtcE9g_4Mqg6o-ndcM-] applying predownload actions...
[RIGtcE9g_4Mqg6o-ndcM-] downloading assets...
[RIGtcE9g_4Mqg6o-ndcM-] applying postdownload actions...
[RIGtcE9g_4Mqg6o-ndcM-] applying prerender actions...
[RIGtcE9g_4Mqg6o-ndcM-] running script assemble...
[RIGtcE9g_4Mqg6o-ndcM-] rendering job...
[RIGtcE9g_4Mqg6o-ndcM-] setting aerender log path to project folder: /var/folders/t_/tlb6h5cj2zxbwh1bcsgm4bd80000gn/T/nexrender/RIGtcE9g_4Mqg6o-ndcM-/aerender.log
catching the error internally
[RIGtcE9g_4Mqg6o-ndcM-] cleaning up...
job rendering failed
Error: aerender.exe failed to render the output into the file due to an unknown reason
at ChildProcess. (/snapshot/nexrender/packages/nexrender-core/src/tasks/render.js)
at ChildProcess.emit (node:events:537:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket. (node:internal/child_process:449:11)
at Socket.emit (node:events:537:28)
at Pipe. (node:net:747:14)
from nexrender.
@MuazAshraf could you please provide logs coming from that file: /var/folders/t_/tlb6h5cj2zxbwh1bcsgm4bd80000gn/T/nexrender/RIGtcE9g_4Mqg6o-ndcM-/aerender.log
from nexrender.
I see. Another option is getting the Nodejs installed locally and installing nexrender via NPM. That way, you would have a natively running Node.js, which could solve the issue.
Just as a side note for anyone else running into this issue like I was earlier today, doing this solved it for me.
from nexrender.
@MuazAshraf could you please provide logs coming from that file:
/var/folders/t_/tlb6h5cj2zxbwh1bcsgm4bd80000gn/T/nexrender/RIGtcE9g_4Mqg6o-ndcM-/aerender.log
I have the same issue and log file is totally missing. It's not been created.
from nexrender.
I'm seeing this issue as well. Tried your suggestion @wmwccdd but still getting the same error.
The job was getting accepted, also passed to the worker from the server, but when the rendering process starts, it says some tmp/result.mp4 file is not found. Not sure what is causing this issue.
JSON Request --> http://localhost:3000/api/v1/jobs
from nexrender.
@tommycotter please provide contents of this log file:
from nexrender.
Hey @inlife I think it got removed when I closed the server. Don't have anything here. But I remember the file being empty.
from nexrender.
Hey !
I have the same error after upgrading to After Effects v24.4 on macOS Sonoma 14.5.
When aerender is spawned by nexrender, the rendering process ends immediatly. The job log file is empty.
By debugging I discovered that the exit code on instance close is null
.
If I copy the aerender process command and add quotes around some parameters it runs fine.
@inlife Do you have any idea to get more error logs from the spawned process ?
from nexrender.
@torresf could you share your aeprocess command line both before and after adding quotes?
from nexrender.
@torresf could you share your aeprocess command line both before and after adding quotes?
Of course, here is the log :
[nYsEfcbNSwYgTfVgUsln-] spawning aerender process: /Applications/Adobe After Effects 2024/aerender -project /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/hfqn6xk6z9h..aep -comp LANDSCAPE_COMP -output /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/result.mp4 -RStemplate Auguste Preview -r /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/nexrender-nYsEfcbNSwYgTfVgUsln--script.jsx
And here is the working command line :
"/Applications/Adobe After Effects 2024/aerender" -project /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/hfqn6xk6z9h..aep -comp LANDSCAPE_COMP -output /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/result.mp4 -RStemplate "Auguste Preview" -r /var/folders/7p/mqjfrnb967n28vzl_9p9j0_00000gp/T/nexrender/nYsEfcbNSwYgTfVgUsln-/nexrender-nYsEfcbNSwYgTfVgUsln--script.jsx
Could it be a permission problem ?
from nexrender.
It could be -RStemplate problem, at least judging by the generated line
from nexrender.
I tried without the -RStemplate
option but I get the same result.
Another info that might be useful : I have the same setup on Windows and it runs correctly with After Effects v24.
My guess is that it could come from node not having the right permission to run aerender as a child process on macOS or something like that.
from nexrender.
I fixed it π
I needed to upgrade Node from v14 to v20, now everything works fine on latest macOS and After Effects version !
from nexrender.
Oh, great. Glad to hear that!
from nexrender.
Related Issues (20)
- Allow specifying s3ForcePathStyle for s3 provider. HOT 3
- Bad error logging if asset could not be downloaded
- Assets with duplicate filenames can overwrite/mangle each other during download.
- PNG sequence support HOT 2
- 0kb Image Sequence HOT 1
- AERender Options When Using --file Argument HOT 2
- Error in action-encode module (ffmpeg) Error: spawn UNKNOWN HOT 4
- 502 bad gateway HOT 5
- Windows process AfterFX.exe is not killed when no logging is reported for 60 seconds. HOT 8
- aerender error an existing connection was forced closed by the remote host. : unable to receive at line 502 HOT 3
- Audio replacement HOT 12
- How to just change image path only in comp layer of After effects? HOT 1
- Rendering Failure with aerender.exe on Windows Server on Google Comptue engine HOT 3
- RemoveJob is not working HOT 6
- Error: Couldn't find a result file: result.mp4 HOT 22
- Can we submit job to deadline using nexrender? HOT 3
- too slow rendering since update After Effect to 24 HOT 6
- mac 14.5 permission errors HOT 1
- ζεζ³ζεζΈ²ζηιεΊ¦εοΌ HOT 1
- Composition is not found when converting AE project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nexrender.