Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'bpy_prop_collection[key]: key "GroundHdri" not found' #245

Open
rivergold opened this issue Mar 13, 2024 · 4 comments
Open

KeyError: 'bpy_prop_collection[key]: key "GroundHdri" not found' #245

rivergold opened this issue Mar 13, 2024 · 4 comments

Comments

@rivergold
Copy link

rivergold commented Mar 13, 2024

When run "Import from clipboard",occur error

Traceback (most recent call last):
  File "/home/xxx/.config/blender/4.0/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/frontend.py", line 382, in execute
    world = data.createWorld()
  File "/home/xxx/.config/blender/4.0/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/CyclesWorldData.py", line 70, in createWorld
    ground_hdri_node.node_tree = getGroundHdriNodeGroup()
  File "/home/xxx/.config/blender/4.0/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/CyclesWorldData.py", line 31, in getGroundHdriNodeGroup
    return bpy.data.node_groups["GroundHdri"]
KeyError: 'bpy_prop_collection[key]: key "GroundHdri" not found'
  • Version of LilySurfaceScrapper: master
  • Version of Blender: 4.0.2
  • Operating System: Linux

Did I do something wrong somewhere? How can i solve the problem?

@rivergold
Copy link
Author

I find this error is causes by

section   = "\\NodeTree\\"

This is for Windows to set the path, but is not suit for Linux.

@Toby-Cheung
Copy link

Same issue here.

Blender version: 4.1
OS: MacOS

@lmurta
Copy link

lmurta commented Jul 15, 2024

Same here
Blender 4.1
Linux

@valentindiehl
Copy link

Same here
Blender 4.2
MacOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants