Comments (3)
how can you what ?
from nexrender.
I'm using this code for render node...
api.get().then(function(results) {
// console.log(results);
// iterate, find queued
console.log(typeof results);
for (let project in results) {
// console.log(results);
if (results[project].state === 'queued') {
console.log(typeof results[project]);
var worker = cluster.fork();
// console.log(results[project]);
worker.send(project);
}
}
});
But after sending the project to the cluster fork...It changes its structure ....to
{ uid: 'shivy8r828dfjg6s4u02',
state: 'queued',
template: 'PROJECT_TEST_05.aepx',
composition: 'PROJECT_TEST_05',
type: 'default',
assets:
[ { type: 'project',
src: '//MAC_05/share/assets/PROJECT_TEST_05.aepx',
name: 'PROJECT_TEST_05.aepx' },
{ type: 'image',
src: '//MAC_05/share/assets/001.jpg',
name: '001.jpg' }............
But the original was before sending to fork was this...
Project {
uid: 'shivy8r828dfjg6s4u02',
state: 'queued',
template: 'PROJECT_TEST_05.aepx',
composition: 'PROJECT_TEST_05',
type: 'default',
assets:
[ { type: 'project',
src: '//MAC_05/share/assets/PROJECT_TEST_05.aepx',
name: 'PROJECT_TEST_05.aepx' },
{ type: 'image',
src: '//MAC_05/share/assets/001.jpg',
name: '001.jpg' },
{ type: 'image',.....
...So how can I revert it to previous state ...the state in which whole object in wrapped under name Project...Even if the original object is converted in JSON then parsed back in to js object it removes Project at the beginning thus my render is failing....
from nexrender.
seems like it is loosing the object form, cuz actually its a instance of Project class. Maybe you can try to recreate it somehow ?
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
- Some statuses not working
- Rendering gets stuck sometimes
- Error: aerender.exe failed to render the output into the file due to an unknown reason HOT 3
- Error with Special Characters in Layer Names Causing Nexrender CLI to Fail HOT 1
- 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.