OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

Blender command -o can't end with backslash

Open nyqvistatwork opened this issue 2 years ago • 5 comments

Describe the bug If the -o argument is a network path and wrapped with quotation marks Blender just quits with no rendered output.

image

On screenshot I'm running Blender and loads the .blender file from the local computer 2 and want to render it to computer 1. If path to output is wrapped with quotation marks the Blender command stops after reading the .blend file. With no quotation marks the command executes as it should.

nyqvistatwork avatar Feb 17 '23 15:02 nyqvistatwork

This is prob a Blender issue tho but I still wanted to highlight it here when I found out about it in the frame log.

image

nyqvistatwork avatar Feb 17 '23 15:02 nyqvistatwork

I did some more testing and apparently this problem occurs when the value for the "-o" argument to Blender ends with a backslash. This should imo be handled in OpenCue. A quick and easy fix would be to replace the last character of the value for "-o" if it's a backslash with a slash since that seems to work.

nyqvistatwork avatar Feb 21 '23 10:02 nyqvistatwork

@n-jay If you're interested, this might make a good issue for you to look at.

bcipriano avatar Apr 12 '23 17:04 bcipriano

@bcipriano noted. I'm currently working on finishing up an initial prototype for the Blender addon. If this isn't urgent I can give it a shot as soon as I get that under control.

n-jay avatar Apr 12 '23 18:04 n-jay

If this isn't urgent I can give it a shot as soon as I get that under control.

@bcipriano I've started working on this. correct me if I'm wrong, ideally, this should be addressed from within pyoutline and not cuesubmit, yes?

n-jay avatar Jun 25 '23 08:06 n-jay