Syntax Error in Texture:

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
Magog
Posts: 69
Joined: Fri Apr 20, 2018 3:18 pm
Location: Italy
Contact:

Syntax Error in Texture:

Post by Magog »

Hi guys.
I was working on a scene and suddenly Blender gave me this error "Syntax Error ... "
Each time the error code is different.
So far I haven't had any problems.
I searched the Forum but it doesn't report this kind of error to me.
I hope you can help me.

Thanks in advance.
Attachments
Desktop Screenshot 2019.09.22 - 18.22.45.35.jpg
Desktop Screenshot 2019.09.22 - 18.28.58.77.jpg
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: Syntax Error in Texture:

Post by wasd »

Do you have any non-ASCII symbols in path to texture?
CPU Bidir + Metropolis | Core i5-4570
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Syntax Error in Texture:

Post by B.Y.O.B. »

Which version of the addon are you using?
Can you upload the scene? Or send it to me via PM?
User avatar
Magog
Posts: 69
Joined: Fri Apr 20, 2018 3:18 pm
Location: Italy
Contact:

Re: Syntax Error in Texture:

Post by Magog »

In the end I managed to solve ..
Going by exclusion, I noticed that if I turned off the Collection in which the offending object was inserted, I could make the Render Preview.
Once in Viewport I had the possibility to activate the other collections without receiving errors.
The collection in which there was the object with the incorrect material, however, was not displayed.
So I started searching in that section until I found the shader with a diffuse node inserted in the color of the Principled node.
I hope it can help someone in the future.
Attachments
Desktop Screenshot 2019.09.22 - 19.21.16.21.jpg
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Syntax Error in Texture:

Post by B.Y.O.B. »

Magog wrote: Sun Sep 22, 2019 5:28 pm So I started searching in that section until I found the shader with a diffuse node inserted in the color of the Principled node.
I hope it can help someone in the future.
Thanks for the investigation, I can reproduce the error here.
For now I'll not consider it a bug since it's clearly a malformed node setup, but in the future it would be good to match Cycles behaviour in the handling of such setups.
User avatar
Magog
Posts: 69
Joined: Fri Apr 20, 2018 3:18 pm
Location: Italy
Contact:

Re: Syntax Error in Texture:

Post by Magog »

I started working with Lux for these fast and uncomplicated scenes.
For a matter of time I took part of furniture from my library. Although Lux supports most of the Cycles materials, I'm trying to convert them all, even to practice with nodes and to have greater homogeneity. Besides, I noticed that nodes like RGB Curve, Color Ramp and someone else reports them as an error.
Experience is built above all on errors and problems.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Syntax Error in Texture:

Post by B.Y.O.B. »

Magog wrote: Sun Sep 22, 2019 9:56 pm Besides, I noticed that nodes like RGB Curve, Color Ramp and someone else reports them as an error.
What exactly do they report as an error?

You can check which nodes are supported and which are not at this issue: https://github.com/LuxCoreRender/BlendL ... issues/272
Post Reply