Node Presets addon missing GeometryNodeGroup definition to work with geometry nodes #96022
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#96022
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: macOS-12.2.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.7.103
Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-04 23:51, hash:
blender/blender@713d59bcaf
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: Node Presets (1, 1)
Author: Campbell Barton
Short description of error
I have a blend file with a geometry node node_group into the folder used by the Node Presets addons
The addon failed to load the geometry node group preset -with this error message
Error: Python: Traceback (most recent call last):
KeyError: 'GeometryNodeTree'
location: :-1
Quick fix:
Looking at node_presets.py code, it appears that it is missing GeometryNodeTree/GeometryNodeGroup definition
After editing node_type_string dictionary in {F12886248}node_presets.py (in the release 3.1/scripts/addons folder) as shown below, the preset loads fine
Added GeometryNodeGroup to this declaration
Exact steps for others to reproduce the error
Attached below is blend file containing the node group - Put this file in the folder parsed by the addon
Open blender, create a plane mesh, add a modifier
In modifier panel, Shift-A to bring menu, and select CameraToEdgeTriangle node group
That's where it failed (before editing node_presets.py)
Added subscriber: @aplus
In modifier panel, Shift-A to bring menu, and select CameraToEdgeTriangle node group - shown in Template submenu
Added subscriber: @PratikPB2123
Thanks for the report, but this has been fixed already-
e56895f5e4
Please test again on fresh 3.1.0/3.2.0 builds: https://builder.blender.org/download/daily
Closed as duplicate of #90845
Thanks Patrick for your response.
Did no think about the daily builds.
Addon works in blender-3.2.0-alpha+master.7d7dd66ba78f