Node Wrangler - Principled Texture Setup error (with Relative Path option and blendfile and textures are on different drives) #77022
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
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#77022
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87
Blender Version
Broken: version: 2.83 (sub 17), branch: master, commit date: 2020-05-22 19:52, hash:
blender/blender@e8dd8c2829
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: Node Wrangler (3, 36)
Author: Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer
Short description of error
Node Wrangler - "Principled Texture Setup"works normally in 2.82 (stable version as right now). But doesn't work in version 2.83Exact steps for others to reproduce the error
When the blend file and texture images are in the same hard drive it works normally. But when they are indifferent hard drives don't work and shows this (pic) error.
Steps:
blend flile and image textures must be in different hard drives
Shader Editor -> Principled BSDF selected -> Ctrl + Shift + T -> Select texture images -> Principled Texture Setup button
I thought not necessary to upload the blend file. Since the error can be reproduced in the default blend file.
Added subscriber: @MunkhsaikhanBoldsaikhan
#98023 was marked as duplicate of this issue
#90436 was marked as duplicate of this issue
#86327 was marked as duplicate of this issue
#76994 was marked as duplicate of this issue
blender/blender#84759 was marked as duplicate of this issue
#84051 was marked as duplicate of this issue
#82411 was marked as duplicate of this issue
blender/blender#82248 was marked as duplicate of this issue
#81742 was marked as duplicate of this issue
blender/blender#80916 was marked as duplicate of this issue
#79183 was marked as duplicate of this issue
#77843 was marked as duplicate of this issue
#77512 was marked as duplicate of this issue
This comment was removed by @MunkhsaikhanBoldsaikhan
Added subscriber: @Calra
Changed status from 'Needs Triage' to: 'Needs User Info'
@MunkhsaikhanBoldsaikhan Please update the task description with description of the error, steps to reproduce and if possible a simple blend file where the error/crash happens.
Principled Texture Setup no longer works in Blender 2.83 betato Node Wrangler - Principled Texture Setup no longer works in Blender 2.83 betaAdded subscriber: @MeshVoid
This comment was removed by @MeshVoid
You are right. I get the same message with the latest build. Win 10 64 bits.
![image.png](https://archive.blender.org/developer/F8550823/image.png)
I'd change the status of this bug to Needs Triage now, since user has provided all the info. That's an interesting bug of Node Wrangler addon, It would be nice if developers could see it. @MunkhsaikhanBoldsaikhan I think you can do it as the author of the report.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Ah my bad, forgot and I haven't split my C: drive yet, will wait for other developers to confirm.
Changed status from 'Needs Developer To Reproduce' to: 'Needs Triage'
This bug is in limbo mode now, I guess...
Added subscribers: @GregZaal, @BartekSkorupa, @sebastian_k
@GregZaal @BartekSkorupa @sebastian_k Terribly sorry to bother you guys, I read that you are authors of that addon in the description. This issue has been reported multiple times (about 4 already in bug reporter). I think it has been overlooked because of a lot of status changes and the duplicate tasks are getting merged. This bug prevents from using Ctrl + Shift + T when textures are on the different drive in 2.83 LTS.
Added subscribers: @Odds57, @Jackie-1
Added subscriber: @GustavoSilva
Added subscriber: @smramsay
I don't have Windows to test this on so I don't feel comfortable submitting a fix, but I'm pretty sure this is the problem:
![relative-path-option.jpg](https://archive.blender.org/developer/F8654277/relative-path-option.jpg)
The error is caused by the 'Relative Path' option being enabled by default.
Python's
os.path.relpath
function, which is ultimately called, doesn't work across drives on Windows.If you don't want to wait for a fix to be commited, disabling 'Relative Path' option each time in the file browser's N-Panel should fix it.
This patch should fix it by falling back to using the absolute path if it fails to get the relative in any situation.
Again though, I can't test it.
Added subscribers: @neail, @Harvester
Added subscriber: @lichtwerk
@smramsay: thx for that code, will double-check that and commit if no complaints.
To all others: You can also just uncheck Relative Path in this situation and it should work. (but agree this should be handled more gracefully)
![image.png](https://archive.blender.org/developer/F8643936/image.png)
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @gyanenmhz
Node Wrangler - Principled Texture Setup no longer works in Blender 2.83 betato Node Wrangler - Principled Texture Setup error (with Relative Path option and blendfile and textures are on different drives)Added subscriber: @cg_petey
Added subscriber: @clarrot
I manage to uncheck the relative paths, but my Ctrl+T for wrangler still doesn't work.
![image.png](https://archive.blender.org/developer/F9117033/image.png)
Added subscriber: @V-prime
That is the one in preferences (not sure this is used in the Addon), but you have the one for the operator as well [sidebar in the file browser]
![image.png](https://archive.blender.org/developer/F9133745/image.png)
If it is hidden, use {key N} or the gear icon to show the sidebar
Added subscriber: @sprawa
Added subscriber: @MacherTV_Peter
Added subscriber: @GrzegorzChrymecki
Added subscriber: @NaouriRedouane
Added subscriber: @ericklestrange
same issue, getting "no matching images found"
Added subscriber: @blitzplayz
Added subscriber: @IyadAhmed
issue still exists, a solution is to use absolute path instead
![image.png](https://archive.blender.org/developer/F10282956/image.png)
This issue was referenced by
e37389de77
This issue was referenced by
cc971e509d
This issue was referenced by
fe12f8b975
Changed status from 'Confirmed' to: 'Resolved'
Added subscribers: @catangus, @rjg