Comments (3)
Hey,
The problem is that when "output file had a different extension then the default" fs.stat
throws an error, which is later handled by first if
substatement.
fs.stat( path.join(
project.workpath,
project.resultname
), (err, stats) => {
if (err || !stats || stats.size < 1) {
getLogs(project, (logs) => {
return reject(logs);
})
...
The intention of this piece of code, was to verify that outputted file is the one which we were expecting at the beginning (setting outputExt
in project).
But now, i'm thinking: maybe this validation part don't even needed...I don't know.
I was looking how to implement this on my own and provide a changeset
Might be something looking like that:
if (err) {
return reject(err);
} else if (!stats || stats.size < 1) {
getLogs(project, (logs) => {
return reject(logs);
})
}
from nexrender.
Indeed, that might probably be the best way to handle it and provide the user with a more clear error message. Great. Btw, your framework is pretty cool! Thank you for all the effort that you put into it!
from nexrender.
Implemented this changed in the project, and pushed new version to npm.
And thank you for the feedback. I really appreciate it! ❤️
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.
- Error in new version(worker, core); HOT 2
- Apostrophe in file name are not escaped HOT 1
- How to pass the filter to get content from other websites API?
- Image Sequence not properly loaded when name is not defined HOT 3
- 502 bad gateway HOT 5
- Windows process AfterFX.exe is not killed when no logging is reported for 60 seconds. HOT 7
- 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.