Render.exe stops without error message

392 views
Skip to first unread message

Julian Oberbeck

unread,
Feb 1, 2019, 7:20:10 PM2/1/19
to maya_he3d
I encountered a super strange issue today which I can not find an explanation for maybe someone else knows the solution to this, I just can't wrap my head around it.
Yesterday I rendered a maya file happily through a batch script. Today I wanted to render the next version of this file, but instead the cmd shell jumps straight ahead to my echo-pause render complete line. Even when I try to call render.exe -help (with the full path) nothing happens at all.

On a different machine the bat file works.
What is going on?! Any ideas? Thx for your input

desig...@gmail.com

unread,
Feb 1, 2019, 9:26:09 PM2/1/19
to maya...@googlegroups.com
Can you post your bat script?

I'm assuming you were rendering on the same machine both times.

Ryan

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julian Oberbeck

unread,
Feb 4, 2019, 4:56:58 PM2/4/19
to maya_he3d
sure, of course, but you will be underwhelmed by the one line which already well does nothing^^

(just to be clear Render.exe -help should list a bunch of commands, but it doesn't)
Capture.PNG

desig...@gmail.com

unread,
Feb 5, 2019, 2:09:14 AM2/5/19
to maya...@googlegroups.com
You just really have to rule out that you are writing the bat script wrong. Is the Render.exe in the system path?
You should be able to just type Render -help 
(Not lower case render.exe)

I noticed that you have program files in quotes because of the space. Maybe try it without quotes?

"C:\Program Files\Autodesk\Maya<version>\bin\Render.exe" -r sw <filename>.

Assuming that this is all setup correctly, you likely will get errors in the script editor when rendering interactively. Maybe show some of those errors?

R

fleity

unread,
Feb 5, 2019, 9:59:01 AM2/5/19
to maya_he3d
thanks I appreciate your help :)

I can render interactively without any errors (some warning depending on the scene, but a cube on a plane, render interactively as it should).
yes the maya bin folder is part of the PATH variable Render -help yields the same (none) result. I tried removing it and readding it too, no difference. Same applies for "C:\PROGRA~1\Autodesk\Maya2018\bin\Render.exe -help" (without quotes).

As a sanity check, calling Renderq.exe actually returns system cannot find the path specified.

desig...@gmail.com

unread,
Feb 5, 2019, 1:15:47 PM2/5/19
to maya...@googlegroups.com
Aha. Ok, so have you tried renaming your prefs folder to rule that out? 
And the batch script won't work on a simple test scene like a cube on a plane, as you described? I'm betting on something in the prefs.

R
Message has been deleted

fleity

unread,
Feb 5, 2019, 1:57:33 PM2/5/19
to maya_he3d

I renamed prefs but nothing changed. I copied the Render.exe from another machine, nothing changed. I finally gave up and just plainly and entirely uninstalled maya, rebooted, reinstalled maya and what do we have there Render -help finally responds again. However my batch script still refuses to render:


render.bat
C:\"Program Files"\Autodesk\Maya2018\bin\Render.exe -r "file" "Q:\X1818_Project-QFW\060_SHOTS\a020\070_a020_LIGHT\a020_LIGHT_WORK\a020_LIGHT_v037_jo.ma"

echo render complete
pause

fleity

unread,
Feb 5, 2019, 2:18:11 PM2/5/19
to maya_he3d
C:\Program Files\Autodesk\Maya2018\bin>Render -listRenderers
Cannot locate executable Render, please run using the full path

-help only works if I navigate to the folder and just run Render.exe using the full path as wanted above again returns nothing at all (same goes for any other command)

C:\Program Files\Autodesk\Maya2018\bin>C:\"Program Files"\Autodesk\Maya2018\bin\Render.exe -r Redshift -help
  
C:\Program Files\Autodesk\Maya2018\bin>C:\"Program Files"\Autodesk\Maya2018\bin\Render.exe -help


Anthony Enos

unread,
Feb 5, 2019, 3:30:26 PM2/5/19
to maya...@googlegroups.com
"mayaRenderLog.txt" should be here:  "C:\Users\(USER)\Documents\maya"
Check to see if you can get some details if the render actually tried to run, and crashed. You may have done this already.

One other thing to try if you can: Use the text exactly as below as your ".bat" file, and place the ".bat" into the same location as your scene file, so the render can run relative to the path of the file, in case there's something going on with the path, like a missing drive mapping or a typo in the path itself.

"C:\Program Files\Autodesk\Maya2018\bin\render.exe" -r redshift a020_LIGHT_v037_jo.ma

I often do this (sometimes just up a directory or two so I can access all of the scenes) just to keep the lines shorter and easier to check for errors visually.

fleity

unread,
Feb 5, 2019, 3:54:37 PM2/5/19
to maya_he3d
ok so new bat file, both files are located on the harddisk D:\
C:\"Program Files"\Autodesk\Maya2018\bin\Render.exe -r "file" "test.ma"
(test.ma is a file of a rotating cube, nothing fancy going on there, with animation set to render from frame 1 to 10)

still same behaviour as before


entire mayaLog file (I did reinstall maya earlier this evening but only one line is weird):
Maya Message Log starting Tuesday, February 05, 2019


there is no dedicated mayaRenderLog.txt

Anthony Enos

unread,
Feb 5, 2019, 4:34:54 PM2/5/19
to maya...@googlegroups.com
I can use your exact syntax and get a render to start. I'm wondering if somehow your maya.env for your current user is screwed up, even though you did reinstall... If you don't have anything too custom going on, maybe back yours up and try to copy the text below into it if it's not already there. I think the only thing I've added is legacy viewport at the bottom... if that doesn't work, maybe permissions accessing the scene file or render location, or a firewall issue preventing the render app from starting? If that doesn't work, try running your test scene from the same drive as your Maya install as well, so you're only dealing with one drive location while you debug, as well as setting the scene up to render with the old Maya Software renderer to eliminate a redshift specific problem. All just guesses, but based on some things that have bitten me at some point. Here's the text from my maya.env in any case:

REDSHIFT_COREDATAPATH = C:\ProgramData\Redshift
REDSHIFT_PLUG_IN_PATH = %REDSHIFT_COREDATAPATH%\Plugins\Maya\2018\nt-x86-64
REDSHIFT_SCRIPT_PATH = %REDSHIFT_COREDATAPATH%\Plugins\Maya\Common\scripts
REDSHIFT_XBMLANGPATH = %REDSHIFT_COREDATAPATH%\Plugins\Maya\Common\icons
REDSHIFT_RENDER_DESC_PATH = %REDSHIFT_COREDATAPATH%\Plugins\Maya\Common\rendererDesc
REDSHIFT_CUSTOM_TEMPLATE_PATH = %REDSHIFT_COREDATAPATH%\Plugins\Maya\Common\scripts\NETemplates
REDSHIFT_MAYAEXTENSIONSPATH = %REDSHIFT_PLUG_IN_PATH%\extensions
REDSHIFT_PROCEDURALSPATH = %REDSHIFT_COREDATAPATH%\Procedurals
MAYA_PLUG_IN_PATH = %REDSHIFT_PLUG_IN_PATH%
MAYA_SCRIPT_PATH = %REDSHIFT_SCRIPT_PATH%
PYTHONPATH = %REDSHIFT_SCRIPT_PATH%
XBMLANGPATH = %REDSHIFT_XBMLANGPATH%
MAYA_RENDER_DESC_PATH = %REDSHIFT_RENDER_DESC_PATH%
MAYA_CUSTOM_TEMPLATE_PATH = %REDSHIFT_CUSTOM_TEMPLATE_PATH%
PATH = %REDSHIFT_COREDATAPATH%\bin
MAYA_ENABLE_LEGACY_VIEWPORT=1


--

fleity

unread,
Feb 6, 2019, 5:40:22 AM2/6/19
to maya_he3d
my maya.env looks exactly the same, reinstalled and recreated the redshift lines anyway to be sure. I didn't know about the enable legacy viewport variable, thanks good to know.

tried putting the render.bat and test.ma file (which render with sw) in C:\ and starting it with an admin cmd with firewall disabled for domain, public, private networks.
still no change, still not working. I consider giving up on the machine, the job will be finished in two days anyway. Maybe reinstalling windows helps, maybe the graphics card and I just need to move to a different computer.

(I added exceptions for Render.exe, maya.exe and mayabatch.exe and allow through the firewall on all 3 network types just to be sure this isn't an issue for further tests)



SEQUENZ | Gerstenmaier

unread,
Feb 6, 2019, 5:52:39 AM2/6/19
to maya_he3d

Strange behavior. Seems something totally screwed up the PC. Would make a clean Windows + Maya install. Balky hardware is such a waste of time and vital force.

All the best 
Lars 


elvis75k

unread,
Apr 10, 2019, 4:01:54 PM4/10/19
to maya_he3d
Hello, do you have some "free" plugin installed? I know that the free lic of ngSkinTool may cause the render.exe to fail.

bye

desig...@gmail.com

unread,
Apr 11, 2019, 6:00:10 PM4/11/19
to maya...@googlegroups.com

Can we see what your path looks like?
Just open a command prompt and type "path"
The last entry here is the autodesk bin directory that contains the render.exe
Here's mine.

C:\Users\desig>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\desig\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Autodesk\Maya2018\bin;


Ryan

On Wed, Apr 10, 2019 at 4:01 PM elvis75k <elvi...@gmail.com> wrote:
Hello, do you have some "free" plugin installed? I know that the free lic of ngSkinTool may cause the render.exe to fail.

bye

fleity

unread,
Apr 16, 2019, 3:25:27 PM4/16/19
to maya_he3d
sorry everyone the computer is already gone. like seq said: Balky hardware is such a waste of time and vital force.
Reply all
Reply to author
Forward
0 new messages