prman-pixar / RenderManForBlender

RenderMan for Blender render addon
MIT License
803 stars 134 forks source link

Freezes if Renderman license in invalid #688

Closed erjiang closed 11 months ago

erjiang commented 11 months ago

Renderman for Blender freezes when trying to render if the rman license is invalid.

To reproduce:

Expected:

An error should be displayed somewhere in Blender with the Renderman error.

Actual:

Blender hangs

Renderman for Blender 25.2.0 Blender 3.6.2 OS: Linux

prman-pixar commented 11 months ago

@erjiang

This is a known issue. We currently don't have python bindings to specify an error handler when the renderer exits because of a license issue.

Is there a reason why you're trying to directly modify the license file?

erjiang commented 11 months ago

Is there a reason why you're trying to directly modify the license file?

I wasn't modifying the license file. I was trying to figure out why Renderman was not working even though I had a license. The issue was that having Docker installed will change the Renderman license node ID every reboot, but I didn't get an error message about the license in the Blender UI.

prman-pixar commented 11 months ago

OK, thanks for clarifying. At the moment, there's nothing I can do on the python side to verify your nodelocked license that is valid with respect to the host ID, unfortunately.