[21.2] No errors when compiling failed OSL script

Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Post Reply
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

I was trying to get Vectron to work with the old versions of the scripts. I understand that they need to be updated, the issue I'm having is that when the compile fails it doesn't spit out any error messages. When I click on the "Script Node Update" button, I get the following error...

Code: Select all

OSL script compilation failed, see console for errors
So I go to the console (I always run both OctaneServer and Blender in a console) and all I see is this...

Code: Select all

Error: 
Error: OSL script compilation failed, see console for errors
It looks like the error is not getting to the console for some reason. Also are we going to get some documentation on Vectron and Spectron at some point? Thanks,

Jason
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
ChrisH
Licensed Customer
Posts: 103
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden
Contact:

Sorry grimm, I have no solution just chiming in to say that I think this needs to be fixed (maybe not high priority, but it can be really annoying when you run into problems with OSL scripts)

The OSL-script handling is a bit lacking in BO, especially if you write your own scripts. Trying to debug in BO is nearly impossible (since it doesn't show any errors.

Sometimes I've had to copy the script to SA, try to compile it there to see the error messages, fix the problem, copy it back to BO and so on.
Windows 10 Pro - AMD Ryzen 7 2100X 8 core 3.70GHz - 32GB RAM - GeForce GTX 1080 8GB
Octane Prime - Blender Plugin user

Metal IOR values for Octane (with .blend library): https://chris.hindefjord.se/resources/rgb-ior-metals/
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Thanks Chris, I didn't think of using SA, very nice. :)
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
linograndiotoy
OctaneRender Team
Posts: 1355
Joined: Thu Feb 01, 2018 7:10 pm

Yes, right now debugging in Standalone is the best solution. We'll look into this issue.
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Thanks Lino. :)
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
davorin
Licensed Customer
Posts: 150
Joined: Tue Oct 09, 2018 1:17 pm

Apparently this hasn't been fixed by now....

Still see this on the console:

Code: Select all

Error: 
Error: OSL script compilation failed, see console for errors

nothing else is shown in the console...

This is with 2020.1.XB3 - 21.3 on Debian 10.2.
Debian 10.2 on AMD 1950X, 64GB RAM, 2 * RTX2080Ti
Octane Blender Studio 2020.1-XB3-21.3
Blender 2.83 E_Cycles
User avatar
ChrisH
Licensed Customer
Posts: 103
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden
Contact:

davorin wrote:Apparently this hasn't been fixed by now....
Well.. I's been less than a week since the thread started, and Lino only responded yesterday.
I don't doubt that it will be fixed, maybe even soon, but give the devs some time to do it. :D
Windows 10 Pro - AMD Ryzen 7 2100X 8 core 3.70GHz - 32GB RAM - GeForce GTX 1080 8GB
Octane Prime - Blender Plugin user

Metal IOR values for Octane (with .blend library): https://chris.hindefjord.se/resources/rgb-ior-metals/
davorin
Licensed Customer
Posts: 150
Joined: Tue Oct 09, 2018 1:17 pm

Oops..missed the thread start date (o;

Well...in SA I can see the console when compiling....but even if it is successful it doesn't mean it won't crash Blender and OctaneServer together (o;
Debian 10.2 on AMD 1950X, 64GB RAM, 2 * RTX2080Ti
Octane Blender Studio 2020.1-XB3-21.3
Blender 2.83 E_Cycles
linograndiotoy
OctaneRender Team
Posts: 1355
Joined: Thu Feb 01, 2018 7:10 pm

If the script works fine in Standalone, it should work in Blender as well.
Please report any script which works fine in Standalone and not in Blender.
DrawFun
OctaneRender Team
Posts: 379
Joined: Fri Aug 25, 2017 5:02 am

Thanks for the reports. We will provide these messages in Blender console in the coming version.

Cheers,
DrawFun
Post Reply

Return to “Bug Reports”