Node Wrangler: No matching images found #104573

Closed
opened 2023-04-26 20:14:12 +02:00 by Noobowski · 12 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: AMD Radeon RX 6600 XT ATI Technologies Inc. 4.5.0 Core Profile Context 22.11.2.221130

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Node Wrangler (3, 43)
Author: Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer

Short description of error
I can't import 1 texture for material (if I Import more than 1 texture it's working fine)
It says "No matching images found". Names are right ( I tested in blender 3.3 and it's working fine)
If I put into newer verison (3.5) older addon files (3.3 to 3.5) it's working fine.

Exact steps for others to reproduce the error
Select any mesh -> Select material -> ctrl shift T -> select only one texture (if you select more than one it's working fine)

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: AMD Radeon RX 6600 XT ATI Technologies Inc. 4.5.0 Core Profile Context 22.11.2.221130 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Node Wrangler (3, 43) Author: Bartek Skorupa, Greg Zaal, Sebastian Koenig, Christian Brinkmann, Florian Meyer **Short description of error** I can't import 1 texture for material (if I Import more than 1 texture it's working fine) It says "No matching images found". Names are right ( I tested in blender 3.3 and it's working fine) If I put into newer verison (3.5) older addon files (3.3 to 3.5) it's working fine. **Exact steps for others to reproduce the error** Select any mesh -> Select material -> ctrl shift T -> select only one texture (if you select more than one it's working fine)
Noobowski added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-04-26 20:14:12 +02:00
Noobowski changed title from Node wrangller addon not working 3.43 (addon version) to Node wrangller addon not working 3.43 (addon version) in blender 3.5.1 2023-04-26 20:15:02 +02:00

This message appears when the file name does not match any of the tags for automatic texture type detection (Base, Subsurface, Metallic...).

Make sure you have correctly configured the tags in the addon preferences to detect a texture type by name.

Ref: https://docs.blender.org/manual/en/3.6/addons/node/node_wrangler.html#add-principled-texture-setup

This message appears when the file name does not match any of the tags for automatic texture type detection (Base, Subsurface, Metallic...). Make sure you have correctly configured the tags in the addon preferences to detect a texture type by name. Ref: https://docs.blender.org/manual/en/3.6/addons/node/node_wrangler.html#add-principled-texture-setup
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-26 22:43:23 +02:00
Author

I show in this video issue and how can fix that. Check this
https://www.youtube.com/watch?v=UmZT_FF9lSI

I show in this video issue and how can fix that. Check this https://www.youtube.com/watch?v=UmZT_FF9lSI

Well you forgot to show the "tags" as requested.
image

But the texture that has "color" in the name should probably work.
So confirming.

Well you forgot to show the "tags" as requested. ![image](/attachments/a6248b33-135f-406b-bd32-3f8062f946ee) But the texture that has "color" in the name should probably work. So confirming.
107 KiB
Germano Cavalcante changed title from Node wrangller addon not working 3.43 (addon version) in blender 3.5.1 to Node Wrangler: No matching images found 2023-04-27 15:32:19 +02:00
Author

Tags for version blender 3.5.1
image

Tags for version blender 3.5.1 ![image](/attachments/49ea1cf0-9692-4edb-baf4-b06215e72ae1)
Member

Introduced in c0a678d36, @wannes.malfait

Not sure I understand the issue but it looks like these lines may cause it?

        something_changed |= remove_common_prefix(names_to_tag_lists)
        something_changed |= remove_common_suffix(names_to_tag_lists)

The list comes up empty after these calls.

Introduced in c0a678d36, @wannes.malfait Not sure I understand the issue but it looks like these lines may cause it? ```python something_changed |= remove_common_prefix(names_to_tag_lists) something_changed |= remove_common_suffix(names_to_tag_lists) ``` The list comes up empty after these calls.
Member

Wait I tagged @wannes.malfait but it looks like you had nothing to do with it? If so, sorry about this.

Wait I tagged @wannes.malfait but it looks like you had nothing to do with it? If so, sorry about this.
Member

No problem, looks like the author of that commit doesn't have an account on gitea yet? I'm not familiar with the logic here either

No problem, looks like the author of that commit doesn't have an account on gitea yet? I'm not familiar with the logic here either
Member

In fact it’s simply @Walles but it doesn’t pop up in the tag selector.

In fact it’s simply @Walles but it doesn’t pop up in the tag selector.
Contributor

If you have the exact file name for what you're trying to import it should be rather straight forward to add another test case for this at the bottom of this file and fix it:

https://projects.blender.org/blender/blender-addons/src/branch/main/node_wrangler/utils/paths_test.py

If you have the exact file name for what you're trying to import it should be rather straight forward to add another test case for this at the bottom of this file and fix it: https://projects.blender.org/blender/blender-addons/src/branch/main/node_wrangler/utils/paths_test.py
Contributor

Here's a fix: #104582

Test case added for picking a single file banana-color.webp.

Before the fix it failed, after the fix it passes (together with the other tests).

Here's a fix: https://projects.blender.org/blender/blender-addons/pulls/104582 Test case added for picking a single file `banana-color.webp`. Before the fix it failed, after the fix it passes (together with the other tests).

Johan or anyone reading... I downloaded Blender 3.5.1 I followed the steps to make sure that while in the NODE section of the SHADING section with PRINCIPLE BSDF node selected and mouse cursor hovering INSIDE the node area but not over the BSDF node, I press CONTROL-SHIFT-T and it does bring up a window to navigate to my textures. I go into a folder that has properly named JPG and PNG files and Blender instantly leaves the navigation window with a message "no matching images found". However. earlier, I tried it and managed to get it to work (I only tried selected 4 files and hitting the blue button to import them).

So, I have all my tags right and doing the process right and it still will not work. Why it worked once and then not is a mystery. It still works for the higher level folder but when I go into a SECOND LEVEL folder, it bombs. I haven't tried to see if it will work if I just put all my textures into the higher level folder but I assume it would. Why is it not allowing me to go one more folder lower? Do I just need to download an earlier Blender version or can I import old Blender python scripts from the 3.3 for node wrangler and overwrite the 3.5.1 ones? Anyway, if I can't do the cntrl-shift-T shortcut, I don't know how to grab multiple textures so that node wrangler will auto link all the proper nodes. Thank you! Tim

Johan or anyone reading... I downloaded Blender 3.5.1 I followed the steps to make sure that while in the NODE section of the SHADING section with PRINCIPLE BSDF node selected and mouse cursor hovering INSIDE the node area but not over the BSDF node, I press CONTROL-SHIFT-T and it does bring up a window to navigate to my textures. I go into a folder that has properly named JPG and PNG files and Blender instantly leaves the navigation window with a message "no matching images found". However. earlier, I tried it and managed to get it to work (I only tried selected 4 files and hitting the blue button to import them). So, I have all my tags right and doing the process right and it still will not work. Why it worked once and then not is a mystery. It still works for the higher level folder but when I go into a SECOND LEVEL folder, it bombs. I haven't tried to see if it will work if I just put all my textures into the higher level folder but I assume it would. Why is it not allowing me to go one more folder lower? Do I just need to download an earlier Blender version or can I import old Blender python scripts from the 3.3 for node wrangler and overwrite the 3.5.1 ones? Anyway, if I can't do the cntrl-shift-T shortcut, I don't know how to grab multiple textures so that node wrangler will auto link all the proper nodes. Thank you! Tim

@Walles I have no idea what your replies mean BUT I found out why I cannot succeed at control-shift-T. If I navigate into my TEXTURES folder using my Wacom Intuos Pro pen, it will not go into the folder for a ms then Blender says no matching images (which I know is false). BUT..... if I go into the TEXTURES folder by hitting ENTER on my keyboard, it enters the folder perfectly and all the images and files are sitting there in the nav window. I tried 3.3.6 and 3.5.1 and my pen will not navigate properly inside the control-shift-T navigation window at right where your folders show up. Should I enter this as a bug report? Everything else seems to be working with my graphics pen. I've only been using Blender for about a week so I'm not a developer, just a user. Thanks! Tim

@Walles I have no idea what your replies mean BUT I found out why I cannot succeed at control-shift-T. If I navigate into my TEXTURES folder using my Wacom Intuos Pro pen, it will not go into the folder for a ms then Blender says no matching images (which I know is false). BUT..... if I go into the TEXTURES folder by hitting ENTER on my keyboard, it enters the folder perfectly and all the images and files are sitting there in the nav window. I tried 3.3.6 and 3.5.1 and my pen will not navigate properly inside the control-shift-T navigation window at right where your folders show up. Should I enter this as a bug report? Everything else seems to be working with my graphics pen. I've only been using Blender for about a week so I'm not a developer, just a user. Thanks! Tim
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-06-27 10:14:17 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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-addons#104573
No description provided.