Blender 2.82 Beta, deleting Cycles sampling preset cause exception #73354

Closed
opened 2020-01-24 11:06:45 +01:00 by cadtofu · 6 comments

System Information
Operating system: Win 10 x64
Graphics card: Nvidia 310m

Blender Version
Broken: blender-2.82-95200045f312-windows64

Short description of error
When deleting a Cycles sampling preset, an exception popuped, and deleting failed.

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

  1. "Render Properties" panel, change Render engine to Cycles
  2. "Sampling" section, use "+" sign add "New Preset"
  3. press "-" sign right to "New Preset". Here prompt "Add a sampling preset." It should be "Delete a sampling preset."
  4. Exception happen, and deleting fail.
    step_1.jpg
    step_2.jpg
    step_3.jpg
    step_4.jpg

Exception info reads:

Traceback (most recent call last):
  File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\startup\bl_operators\presets.py", line 195, in execute
    if is_path_builtin(filepath):
  File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\modules\bpy\utils\__init__.py", line 485, in is_path_builtin
    _os.path.commonpath([parent_path, path])
  File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\python\lib\ntpath.py", line 621, in commonpath
    raise ValueError("Paths don't have the same drive")
ValueError: Paths don't have the same drive

location: <unknown location>:-1
**System Information** Operating system: Win 10 x64 Graphics card: Nvidia 310m **Blender Version** Broken: blender-2.82-95200045f312-windows64 **Short description of error** When deleting a Cycles sampling preset, an exception popuped, and deleting failed. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. "Render Properties" panel, change Render engine to Cycles 2. "Sampling" section, use "+" sign add "New Preset" 3. press "-" sign right to "New Preset". Here prompt "Add a sampling preset." It should be "Delete a sampling preset." 4. Exception happen, and deleting fail. ![step_1.jpg](https://archive.blender.org/developer/F8299051/step_1.jpg) ![step_2.jpg](https://archive.blender.org/developer/F8299053/step_2.jpg) ![step_3.jpg](https://archive.blender.org/developer/F8299055/step_3.jpg) ![step_4.jpg](https://archive.blender.org/developer/F8299057/step_4.jpg) Exception info reads: ``` Traceback (most recent call last): File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\startup\bl_operators\presets.py", line 195, in execute if is_path_builtin(filepath): File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\modules\bpy\utils\__init__.py", line 485, in is_path_builtin _os.path.commonpath([parent_path, path]) File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\python\lib\ntpath.py", line 621, in commonpath raise ValueError("Paths don't have the same drive") ValueError: Paths don't have the same drive location: <unknown location>:-1 ```
Author

Added subscriber: @cadtofu

Added subscriber: @cadtofu
Author

same issue happened to "Light Paths" preset:
"Add" should be "Delete", and Delete cause exception.
fsc_2020-01-24_191243.jpg
fsc_2020-01-24_191232.jpg

same issue happened to "Light Paths" preset: "Add" should be "Delete", and Delete cause exception. ![fsc_2020-01-24_191243.jpg](https://archive.blender.org/developer/F8299154/fsc_2020-01-24_191243.jpg) ![fsc_2020-01-24_191232.jpg](https://archive.blender.org/developer/F8299159/fsc_2020-01-24_191232.jpg)

Added subscriber: @Pasang

Added subscriber: @Pasang

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

Changed status from 'Needs Triage' to: 'Resolved'
Pasang Bomjan self-assigned this 2020-01-25 14:17:59 +01:00

It looks like it is already fixed as it doesn't happen in the latest master 2.83. So closing.

It looks like it is already fixed as it doesn't happen in the latest master 2.83. So closing.
Author

In #73354#858264, @Pasang wrote:
It looks like it is already fixed as it doesn't happen in the latest master 2.83. So closing.

Sorry to disturb. But I just downloaded and tested 2.82/2.83 latest experimental builds (Jan 25, 2020). Bug is still there.
Tooltip "Add" should be "Delete", and delete operation causes exception and failure.

Tested Builds:
blender-2.82-fc1f5bded46a-windows64.zip
blender-2.83-39cf62607fe5-windows64.zip

> In #73354#858264, @Pasang wrote: > It looks like it is already fixed as it doesn't happen in the latest master 2.83. So closing. Sorry to disturb. But I just downloaded and tested 2.82/2.83 latest experimental builds (Jan 25, 2020). Bug is still there. Tooltip "Add" should be "Delete", and delete operation causes exception and failure. Tested Builds: blender-2.82-fc1f5bded46a-windows64.zip blender-2.83-39cf62607fe5-windows64.zip
Thomas Dinges added this to the 2.82 milestone 2023-02-08 16:41:33 +01:00
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
2 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#73354
No description provided.