Command Line Render.exe Out of License Error

Forums: Command Line Render.exe Out of License Error
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Command Line Render.exe Out of License Error

Postby psultan » Mon Feb 13, 2017 4:53 pm

psultan Mon Feb 13, 2017 4:53 pm
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**
psultan
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Mon Jan 30, 2017 8:16 pm

Re: Command Line Render.exe Out of License Error

Postby BK » Tue Apr 18, 2017 4:10 am

BK Tue Apr 18, 2017 4:10 am
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 ;)
Attachments
2017-04-18 11_12_12-File Explorer.png
C:\Users\bikram.kshetrimayum\Documents\Screenshots
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1309
Joined: Mon Oct 31, 2016 7:54 pm

Re: Command Line Render.exe Out of License Error

Postby calus » Tue Apr 18, 2017 5:51 am

calus Tue Apr 18, 2017 5:51 am
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.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Command Line Render.exe Out of License Error

Postby DinoMuhic » Wed Aug 02, 2017 9:14 am

DinoMuhic Wed Aug 02, 2017 9:14 am
any update on this?
DinoMuhic
Licensed Customer
Licensed Customer
 
Posts: 143
Joined: Wed Mar 25, 2015 10:24 pm

Re: Command Line Render.exe Out of License Error

Postby BK » Thu Aug 03, 2017 5:46 am

BK Thu Aug 03, 2017 5:46 am
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 :)
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1309
Joined: Mon Oct 31, 2016 7:54 pm

Re: Command Line Render.exe Out of License Error

Postby psultan » Thu Jun 28, 2018 7:03 pm

psultan Thu Jun 28, 2018 7:03 pm
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.
psultan
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Mon Jan 30, 2017 8:16 pm

Re: Command Line Render.exe Out of License Error

Postby BK » Fri Jun 29, 2018 5:35 am

BK Fri Jun 29, 2018 5:35 am
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
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1309
Joined: Mon Oct 31, 2016 7:54 pm

Re: Command Line Render.exe Out of License Error

Postby psultan » Fri Jun 29, 2018 1:36 pm

psultan Fri Jun 29, 2018 1:36 pm
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.
psultan
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Mon Jan 30, 2017 8:16 pm

Re: Command Line Render.exe Out of License Error

Postby BK » Mon Jul 02, 2018 5:25 am

BK Mon Jul 02, 2018 5:25 am
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?
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1309
Joined: Mon Oct 31, 2016 7:54 pm

Re: Command Line Render.exe Out of License Error

Postby calus » Wed Jul 04, 2018 9:56 am

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

Log is in the first post ...
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Return to Autodesk Maya


Who is online

Users browsing this forum: Bing [Bot] and 4 guests

Thu Mar 28, 2024 11:28 pm [ UTC ]