[21.2] No errors when compiling failed OSL script

Forums: [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)

[21.2] No errors when compiling failed OSL script

Postby grimm » Mon Feb 03, 2020 1:22 am

grimm Mon Feb 03, 2020 1:22 am
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 19 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 440.64
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1256
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: [21.2] No errors when compiling failed OSL script

Postby ChrisH » Mon Feb 03, 2020 8:31 pm

ChrisH Mon Feb 03, 2020 8:31 pm
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
ChrisH
Licensed Customer
Licensed Customer
 
Posts: 102
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden

Re: [21.2] No errors when compiling failed OSL script

Postby grimm » Wed Feb 05, 2020 5:04 am

grimm Wed Feb 05, 2020 5:04 am
Thanks Chris, I didn't think of using SA, very nice. :)
Linux Mint 19 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 440.64
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1256
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: [21.2] No errors when compiling failed OSL script

Postby linograndiotoy » Fri Feb 07, 2020 11:22 am

linograndiotoy Fri Feb 07, 2020 11:22 am
Yes, right now debugging in Standalone is the best solution. We'll look into this issue.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 482
Joined: Thu Feb 01, 2018 7:10 pm

Re: [21.2] No errors when compiling failed OSL script

Postby grimm » Fri Feb 07, 2020 7:40 pm

grimm Fri Feb 07, 2020 7:40 pm
Thanks Lino. :)
Linux Mint 19 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 440.64
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1256
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: [21.2] No errors when compiling failed OSL script

Postby davorin » Sat Feb 08, 2020 10:50 am

davorin Sat Feb 08, 2020 10:50 am
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
davorin
Licensed Customer
Licensed Customer
 
Posts: 135
Joined: Tue Oct 09, 2018 1:17 pm

Re: [21.2] No errors when compiling failed OSL script

Postby ChrisH » Sat Feb 08, 2020 4:30 pm

ChrisH Sat Feb 08, 2020 4:30 pm
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/
User avatar
ChrisH
Licensed Customer
Licensed Customer
 
Posts: 102
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden

Re: [21.2] No errors when compiling failed OSL script

Postby davorin » Sat Feb 08, 2020 4:39 pm

davorin Sat Feb 08, 2020 4:39 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
davorin
Licensed Customer
Licensed Customer
 
Posts: 135
Joined: Tue Oct 09, 2018 1:17 pm

Re: [21.2] No errors when compiling failed OSL script

Postby linograndiotoy » Tue Feb 11, 2020 10:41 am

linograndiotoy Tue Feb 11, 2020 10:41 am
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.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 482
Joined: Thu Feb 01, 2018 7:10 pm

Re: [21.2] No errors when compiling failed OSL script

Postby DrawFun » Thu Mar 05, 2020 8:59 am

DrawFun Thu Mar 05, 2020 8:59 am
Thanks for the reports. We will provide these messages in Blender console in the coming version.

Cheers,
DrawFun
DrawFun
OctaneRender Team
OctaneRender Team
 
Posts: 335
Joined: Fri Aug 25, 2017 5:02 am

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 1 guest

Mon Jun 01, 2020 11:10 pm [ UTC ]