When importing a .PDB or .XYZ file, it tells me the following: " KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found' " #104107

Closed
opened 2023-01-23 22:57:22 +01:00 by Yessica Robayo · 10 comments

System Information
Operating system: macOS-12.6-x86_64-i386-64bit 64 Bits
Graphics card: Intel(R) HD Graphics 6000 Intel Inc. 4.1 INTEL-18.8.5

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: blender/blender@55485cb379
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Atomic Blender PDB/XYZ (1, 8)
Author: Clemens Barth

Short description of error
When importing a .PDB or .XYZ file, it tells me the following

Python: Traceback (most recent call last):
File "/Applications/Blender.app/Contents/Resources/3.4/scripts/addons/io_mesh_atomic/pdb_gui.py", line 198, in execute
  import_pdb(self.ball,
File "/Applications/Blender.app/Contents/Resources/3.4/scripts/addons/io_mesh_atomic/pdb_import.py", line 1335, in import_pdb
  mat_P_BSDF = material.node_tree.nodes['Principled BSDF']
KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found'

Hex.pdb

Attached file that I have used

Exact steps for others to reproduce the error
import a .PDB or .XYZ file
Thank

**System Information** Operating system: macOS-12.6-x86_64-i386-64bit 64 Bits Graphics card: Intel(R) HD Graphics 6000 Intel Inc. 4.1 INTEL-18.8.5 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `blender/blender@55485cb379` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Atomic Blender PDB/XYZ (1, 8) Author: Clemens Barth **Short description of error** When importing a .PDB or .XYZ file, it tells me the following ``` Python: Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.4/scripts/addons/io_mesh_atomic/pdb_gui.py", line 198, in execute import_pdb(self.ball, File "/Applications/Blender.app/Contents/Resources/3.4/scripts/addons/io_mesh_atomic/pdb_import.py", line 1335, in import_pdb mat_P_BSDF = material.node_tree.nodes['Principled BSDF'] KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found' ``` [Hex.pdb](https://archive.blender.org/developer/F14189757/Hex.pdb) Attached file that I have used **Exact steps for others to reproduce the error** import a .PDB or .XYZ file Thank
Author

Added subscriber: @YessiRobayo

Added subscriber: @YessiRobayo

#103788 was marked as duplicate of this issue

#103788 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I tried with the attached .pdb file, but I cannot reproduce this with either the latest stable or current development versions of Blender:

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings, enable the addon and then import your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

I tried with the attached .pdb file, but I cannot reproduce this with either the latest stable or current development versions of Blender: Please try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings, enable the addon and then import your file to see if you still can reproduce this issue. If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

Added subscriber: @rxzh

Added subscriber: @rxzh
Author

The file opens correctly up to version 3.3.3

But in version 3.4.1 it did not open

So I better use version 3.3.3

Thanks

The file opens correctly up to version 3.3.3 But in version 3.4.1 it did not open So I better use version 3.3.3 Thanks

I really can't replicate the bug. Either in 3.4.1 or 3.5.0

Can you try Blender 3.5.0? (from https://builder.blender.org/download/)

Captura de Tela 2023-01-25 às 13.09.54.png

I really can't replicate the bug. Either in 3.4.1 or 3.5.0 Can you try `Blender 3.5.0`? (from https://builder.blender.org/download/) ![Captura de Tela 2023-01-25 às 13.09.54.png](https://archive.blender.org/developer/F14197649/Captura_de_Tela_2023-01-25_a_s_13.09.54.png)
Member

@YessiRobayo, are you using Blender in a language other than English?

This could be related to blender/blender#104145.
If so, there is a proposed fix at !104403.

@YessiRobayo, are you using Blender in a language other than English? This could be related to blender/blender#104145. If so, there is a proposed fix at !104403.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-02-24 17:47:36 +01:00
Sign in to join this conversation.
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-addons#104107
No description provided.