IOError event on render when adding job via CLI

13 views
Skip to first unread message

bac...@gmail.com

unread,
Feb 5, 2015, 1:19:53 PM2/5/15
to swfre...@googlegroups.com
Have one remaining issue when using curl commands to add new jobs. Whenever I try and render jobs added via CLI I get an IOError event thrown.


If I instead MANUALLY drag the same swf to the render queue, it renders without issue.


Also, if I check the render settings for both swfs, they are identical, including the paths!
What gives?

Message has been deleted

karim beyrouti

unread,
Feb 6, 2015, 4:48:11 AM2/6/15
to swfre...@googlegroups.com, bac...@gmail.com

For reference (we have been emailing) - you are getting the IOError because you are not using the full path to the SWF. 

file=/anim.swf

should be something like:

file=/Users/username/documents/work/stuff/apps/swf/renderer/test/osxcli/anim.swf

and

exportPath is the full path to the folder where you would like to save the sequence to. 

This command worked for me: 

curl -d 'command=render,file=/Users/username/documents/work/stuff/apps/swf/renderer/test/osxcli/anim.swf,exportPath=/Users/username/documents/work/stuff/apps/swf/renderer/test/osxcli/,stopMode=0,stopTime=5,fileName=anim,exportFormat=MP4Exporter' http://192.168.0.7:8888/

curl -d 'command=startRender' http://192.168.0.7:8888/

Also note:

I used: stopMode=0 <--- to stop after a specified amount of time has elapsed ( instead of last frame as your SWF is 1 frame long )
and, stopTime=5 <--- for 5 seconds of rendering

Please let me know if this helped. 

Reply all
Reply to author
Forward
0 new messages