Page 1 of 1

Command Line Render.exe Out of License Error

PostPosted: Mon Feb 13, 2017 4:53 pm
by psultan
I brought this up with [email protected] and Bikram mentioned he added it their new feature list database but I was wondering if others are experience the same issue/how they are dealing with it.

Our issue is when running maya's render.exe and the machine does not have a license the processes hangs without throwing a license error. I would expect an error message such as "no licenses found", or "octane is not active", such that our renderfarm manager can catch the error and try to reque the frame on another machine.

The following is our output log....
C:\Progra~1\Autodesk\maya2016\bin\render.exe -r octane -v true octaneTest.ma

Starting "C:\Progra~1\Autodesk\maya2016\bin\mayabatch.exe"
OctaneRender v. 3.05.3 - 9.23
Octane data types are registered...
Octane nodes are registered...
Octane settings store is registered...
Octane settings instance is created...
Octane camera is registered...
Octane tool shelf commands are registered...
Starting Octane engine... **hangs here**

Re: Command Line Render.exe Out of License Error

PostPosted: Tue Apr 18, 2017 4:10 am
by BK
Hi psultan :)


The license error message is already there.

If there is an error with license activation, the Octane Render login dialog should pop up to login ;)

Re: Command Line Render.exe Out of License Error

PostPosted: Tue Apr 18, 2017 5:51 am
by calus
BK wrote:If there is an error with license activation, the Octane Render login dialog should pop up to login ;)

This doesn't solve the issue:
Command Line Render must give some feedback when this event occurs instead of just waiting silently.

Re: Command Line Render.exe Out of License Error

PostPosted: Wed Aug 02, 2017 9:14 am
by DinoMuhic
any update on this?

Re: Command Line Render.exe Out of License Error

PostPosted: Thu Aug 03, 2017 5:46 am
by BK
DinoMuhic wrote:any update on this?



Hi DinoMuhic,

Which Octane for Maya are you currently using? Have you setup the environment variable (viewtopic.php?p=214980#p214980)?

If everything is setup correctly then Octane should bring up the Sign-in dialog, if it does not find any valid license. Please let me know how it goes on this :)

Re: Command Line Render.exe Out of License Error

PostPosted: Thu Jun 28, 2018 7:03 pm
by psultan
BK wrote:
If everything is setup correctly then Octane should bring up the Sign-in dialog, if it does not find any valid license.


That is what currently happens, however that is not a desired process when artists submit to a renderfarm and do not have access to input the account information. All other renderers will throw a "not licensed" error so the render manager knows to terminate the process and allow an alternate render on that machine. In order to solve this problem all you need to do is print out a warning to stdout/stderr that says "not licensed" before poping up the login window.

Re: Command Line Render.exe Out of License Error

PostPosted: Fri Jun 29, 2018 5:35 am
by BK
psultan wrote:
BK wrote:
If everything is setup correctly then Octane should bring up the Sign-in dialog, if it does not find any valid license.


That is what currently happens, however that is not a desired process when artists submit to a renderfarm and do not have access to input the account information. All other renderers will throw a "not licensed" error so the render manager knows to terminate the process and allow an alternate render on that machine. In order to solve this problem all you need to do is print out a warning to stdout/stderr that says "not licensed" before poping up the login window.


Hi Psultan,

Thanks again for the suggestion.
It seems our plugin has no control over the licensing system yet.
So we are checking with our core team if they could help us to resolve this issue.

Cheers

Re: Command Line Render.exe Out of License Error

PostPosted: Fri Jun 29, 2018 1:36 pm
by psultan
OK. For the time being we have the render manager set with a timer to check for inactivity as a work around. I think the log message would be quite beneficial in the future.

Re: Command Line Render.exe Out of License Error

PostPosted: Mon Jul 02, 2018 5:25 am
by BK
psultan wrote:OK. For the time being we have the render manager set with a timer to check for inactivity as a work around. I think the log message would be quite beneficial in the future.


Hi Psultan,

Thank you so much for your patience.
We are having a look into this hopefully will get resolved soon.

Sure, is it okay to share/PM us the log messages?

Re: Command Line Render.exe Out of License Error

PostPosted: Wed Jul 04, 2018 9:56 am
by calus
BK wrote:is it okay to share/PM us the log messages?

Log is in the first post ...