Node wrangler principled texture setup fails if textures are on a different drive than the project #84051
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#84051
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30
Blender Version
Broken: version:
blender/blender@0e85d701c6
blender/blender@0f45cab862
Worked: ?
Addon Information
Name: Node Wrangler (3, 37)
Author: Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer
Short description of error
When using
bpy.ops.node.nw_add_textures_for_principled
{key Ctrl Shift T} to setup textures for the Principled BSDF and the texture files are located on a different drive than the project file, it fails with an exception when clicking Principled Texture Setup in the file browser. This happens when relative paths are used.Exact steps for others to reproduce the error
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\node_wrangler.py", line 3022, in execute
import_path = bpy.path.relpath(self.directory)
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\bpy\path.py", line 114, in relpath
return "//" + _os.path.relpath(path, start)
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\python\lib\ntpath.py", line 562, in relpath
path_drive, start_drive))
Added subscriber: @Jackie-1
node wranglerto Node wrangler principled texture setup fails if textures are on a different drive than the projectClosed as duplicate of #77022