ERROR when converting pdb to 3d model #103788

Closed
opened 2023-01-10 17:59:40 +01:00 by ruoxi zhang · 2 comments

System Information
Operating system: win11
Graphics card:

Blender Version
Broken: 3.4.0
Worked: (optional)

Short description of error
After enable the Atomic Blender add-on, when I was trying to convert pdb file to 3d model in Blender, it told me error. It seems that something wrong has happened to "Principled BSDF".

Python: Traceback (most recent call last):

File "D:\Software\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_mesh_atomic\pdb_gui.py", line 198, in execute
  import_pdb(self.ball,
File "D:\Software\Blender Foundation\Blender 3.4\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'

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

**System Information** Operating system: win11 Graphics card: **Blender Version** Broken: 3.4.0 Worked: (optional) **Short description of error** After enable the Atomic Blender add-on, when I was trying to convert pdb file to 3d model in Blender, it told me error. It seems that something wrong has happened to "Principled BSDF". Python: Traceback (most recent call last): ``` File "D:\Software\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_mesh_atomic\pdb_gui.py", line 198, in execute import_pdb(self.ball, File "D:\Software\Blender Foundation\Blender 3.4\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' **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible).
Author

Added subscriber: @rxzh

Added subscriber: @rxzh

Closed as duplicate of #104107

Closed as duplicate of #104107
Sign in to join this conversation.
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-addons#103788
No description provided.