eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rivergold opened this issue · comments

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?

I find this error is causes by

section   = "\\NodeTree\\"

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

Same issue here.

Blender version: 4.1
OS: MacOS