Bug #99

sendjob does not work with blender files

Added by david johnson about 8 years ago. Updated almost 8 years ago.

Status:FixedStart date:03/29/2010
Priority:NormalDue date:
Assignee:Jorge Daza Garcia-Blanes% Done:

100%

Category:tools
Target version:0.64.4

Description

The sendjob application has not been updated to reflect the changes in the libdrqueue blendersg library and as a result fails to send blender jobs to the renderfarm.

The following is a suggested patch which means that that jobfile now needs to include a rendertype (which is what the libdrqueue would be expecting)

struct blendersgi blenderSgi;
std::string jobName;
int frameStart,frameEnd,frameStep,render_type;
std::string scenePath;
char *pathToScript;
infile >> frameStart;
infile >> frameEnd;
infile >> frameStep;
infile >> render_type;
getline(infile,scenePath); //
getline(infile,scenePath); // Get two times because '>>' leaves the pointer before \n
strncpy(blenderSgi.scene,scenePath.c_str(),BUFFERLEN-1);
snprintf(blenderSgi.scriptdir,BUFFERLEN,"%s/tmp/",getenv("DRQUEUE_ROOT"));
blenderSgi.render_type = render_type;
job.autoRequeue = 1;
if (!(pathToScript = blendersg_create(&blenderSgi))) {

Once this change is made to the sendjob.cpp file the jobs are submitted to the renderfarm without issues.

History

#1 Updated by Jorge Daza Garcia-Blanes almost 8 years ago

  • Category set to tools
  • Assignee set to Jorge Daza Garcia-Blanes
  • Target version set to 0.64.4

#2 Updated by Jorge Daza Garcia-Blanes almost 8 years ago

Could you attach the patch file to the message so it can be downloaded on our side ?

Thanks in advance,
Jorge

#3 Updated by Jorge Daza Garcia-Blanes almost 8 years ago

  • Status changed from New to Feedback

#4 Updated by Jorge Daza Garcia-Blanes almost 8 years ago

  • Status changed from Feedback to In progress
  • % Done changed from 0 to 70

#5 Updated by Jorge Daza Garcia-Blanes almost 8 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 70 to 100
  • Resolution set to fixed

Solved in branch 0.64.x

Also available in: Atom PDF