Cycles Render Light Paths #89199

Closed
opened 2021-06-16 15:09:15 +02:00 by Martin · 11 comments

System Information
Operating system: Windows 10
Graphics card: Intel UHD Graphics 620

Blender Version
Broken: 2.93
Worked: Not Known

Short description of error
Render Properties/Light Paths/New Preset
Create a new preset results in the following error message:
Error Message: Python: Traceback (most recent call last): File: "C:\Program Files\Blender Foundation\Blender 2.93\2.92\scripts\startup\bl_operators\presets.py" line 171, in execute value=eval(rna_path) Files ", line 1, in AttributeError: 'CylesREnderSettings' object has not attribute 'blur_glossycycles' location:
Following which the New Preset is not set.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

**System Information** Operating system: Windows 10 Graphics card: Intel UHD Graphics 620 **Blender Version** Broken: 2.93 Worked: Not Known **Short description of error** Render Properties/Light Paths/New Preset Create a new preset results in the following error message: Error Message: Python: Traceback (most recent call last): File: "C:\Program Files\Blender Foundation\Blender 2.93\2.92\scripts\startup\bl_operators\presets.py" line 171, in execute value=eval(rna_path) Files "<string>, line 1, in <module> AttributeError: 'CylesREnderSettings' object has not attribute 'blur_glossycycles' location: <unknown> Following which the New Preset is not set. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible).
Author

Added subscriber: @CornishGrandad

Added subscriber: @CornishGrandad
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm. Will bisect that or may be I will try to find solution shortly. (Can replicate in 2.93.0LTS and also with 3.0.0)

Can confirm. Will bisect that or may be I will try to find solution shortly. (Can replicate in 2.93.0LTS and also with 3.0.0)

Added subscriber: @Harvester

Added subscriber: @Harvester

Here on:
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.59

Blender Version
2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8

I can replicate the issue, and I get the same error message related to the attribute "blur_glossycycles" not available for the "CyclesRenderSettings".

Writing Preset: 'D:\Blender_2.93_stable\2.93\scripts\presets\cycles/integrator\TEST_PRESET.py'
Python: Traceback (most recent call last):

File "D:\Blender_2.93_stable\2.93\scripts\startup\bl_operators\presets.py", line 171, in execute
  value = eval(rna_path)
File "<string>", line 1, in <module>

AttributeError: 'CyclesRenderSettings' object has no attribute 'blur_glossycycles'

In effect, the full datapath of the Filter Glossy option is: bpy.data.scenes["Scene"].cycles.blur_glossy.

Furthermore, despite the above error message, the preset is saved but selecting it doesn't seems to work (non changes in the attributes), and I cannot delete it getting this error message, even after having selected another preset in the list:

Traceback (most recent call last):

File "D:\Blender_2.93_stable\2.93\scripts\startup\bl_operators\presets.py", line 205, in execute
  os.remove(filepath)

PermissionError: [WinError 32] Impossibile accedere al file. Il file è utilizzato da un altro processo: 'D:\Blender_2.93_stable\2.93\scripts\presets\cycles/integrator\TEST_PRESET.py'

The message says that the file is being used by another process and it cannot be accessed or deleted in this case. To be able to delete that preset I had to close and restart Blender, then I can delete it.

Here on: **System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.59 **Blender Version** 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` I can replicate the issue, and I get the same error message related to the attribute "blur_glossycycles" not available for the "CyclesRenderSettings". Writing Preset: 'D:\\Blender_2.93_stable\\2.93\\scripts\\presets\\cycles/integrator\\TEST_PRESET.py' Python: Traceback (most recent call last): ``` File "D:\Blender_2.93_stable\2.93\scripts\startup\bl_operators\presets.py", line 171, in execute value = eval(rna_path) File "<string>", line 1, in <module> ``` AttributeError: 'CyclesRenderSettings' object has no attribute 'blur_glossycycles' In effect, the full datapath of the Filter Glossy option is: bpy.data.scenes["Scene"].cycles.blur_glossy. Furthermore, despite the above error message, the preset is saved but selecting it doesn't seems to work (non changes in the attributes), and I cannot delete it getting this error message, even after having selected another preset in the list: Traceback (most recent call last): ``` File "D:\Blender_2.93_stable\2.93\scripts\startup\bl_operators\presets.py", line 205, in execute os.remove(filepath) ``` PermissionError: [WinError 32] Impossibile accedere al file. Il file è utilizzato da un altro processo: 'D:\\Blender_2.93_stable\\2.93\\scripts\\presets\\cycles/integrator\\TEST_PRESET.py' The message says that the file is being used by another process and it cannot be accessed or deleted in this case. To be able to delete that preset I had to close and restart Blender, then I can delete it.

Just a brief update. While this issue is still present in 2.93.7 LTS (and possibly 2.93.8), it's no longer happening in version 3.0.1, nor in 3.1 Alpha, and neither in 3.2 Alpha.

Just a brief update. While this issue is still present in 2.93.7 LTS (and possibly 2.93.8), it's no longer happening in version 3.0.1, nor in 3.1 Alpha, and neither in 3.2 Alpha.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges was assigned by Pratik Borhade 2022-12-09 11:20:53 +01:00
Member

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges
Member

This has been fixed by @ThomasDinges : 1c0be7da4c
Thomas, can we backport this commit to 2.93?

This has been fixed by @ThomasDinges : 1c0be7da4c Thomas, can we backport this commit to 2.93?

Backported to 2.93 dd444323f3

Backported to 2.93 dd444323f3
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#89199
No description provided.