Closed trentm closed 4 years ago
E.g. when running a job that outputs a webm video file
[trent.mick@manta /trent.mick/stor/tmp]$ job /manta/public/examples/kart/2012-08-03_0011.mov ^ ffmpeg -nostdin -i $MANTA_INPUT_FILE -an out.webm && mpipe -p -H "content-type: video/webm" -f out.webm "/trent.mick/public/tmp/kart/$(basename $MANTA_INPUT_OBJECT .mov).webm" ... binary webm content ... mantash: ERROR: [Errno 35] Resource temporarily unavailable (/Users/trentm/joy/python-manta/bin/mantash:1719 in do_job) ... more binary webm content ... Traceback (most recent call last): File "/Users/trentm/joy/python-manta/bin/mantash", line 1895, in <module> retval = main(sys.argv) File "/Users/trentm/joy/python-manta/bin/mantash", line 1889, in main return shell.main(argv, loop=cmdln.LOOP_IF_EMPTY) File "/Users/trentm/joy/python-manta/manta/cmdln.py", line 268, in main return self.cmdloop() File "/Users/trentm/joy/python-manta/manta/cmdln.py", line 358, in cmdloop retval = self.onecmd(argv) File "/Users/trentm/joy/python-manta/manta/cmdln.py", line 422, in onecmd return self._dispatch_cmd(handler, argv) File "/Users/trentm/joy/python-manta/manta/cmdln.py", line 1109, in _dispatch_cmd return handler(argv) File "/Users/trentm/joy/python-manta/bin/mantash", line 1719, in do_job sys.stdout.write(content) IOError: [Errno 35] Resource temporarily unavailable
Should perhaps have a '-o' option on mantash job ... (a la mjob create -o) to have it dump the output. Backward incompat change, though.
mantash job ...
mjob create -o
E.g. when running a job that outputs a webm video file
Should perhaps have a '-o' option on
mantash job ...
(a lamjob create -o
) to have it dump the output. Backward incompat change, though.