pyrna_enum_to_py: current value '20517' matches no enum in 'Event' #94658
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94658
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-10.13.6-x86_64-i386-64bit 64 Bits
Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash:
f1cca30557
Short description of error
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '20517' matches no enum in 'Event', '(null)', 'type'
Exact steps for others to reproduce the error
idea is: have mesh with attributes on vertices, have tool to select vertex and with gizmo manipulate said attributes (mostly custom rotation and scale that is later used in geometry nodes, maybe moving them around as well)
to replicate:
Tool
from toolbarthis result in many warnings in console:
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '20517' matches no enum in 'Event', '(null)', 'type'
Added subscriber: @JakubUhlik
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm, will check
Will have to concentrate on triaging for a while (and step down).
#85606 ("event.type" prints warning when accessing unknown key types (e.g. UNKNOWNKEY)) is probably related.
Added subscriber: @z01ks
Hello, I'm developing my own add-on that involves a Modal Operators and Gizmos and them running at the same time. I am getting the same error, after I use my gizmo for the second time. I am wondering if this error can be avoided? Or is this a known issue in blender that hasn't been fixed in this instance? Thanks.
Added subscriber: @1029910278
I have this issue in 3.3 while develop my own custom gizmo but not in 3.2
Added subscriber: @chaos-4
I also have those errors in 3.3 with my addons when trying to access the Event object from a gizmo. This didn't happen to me in 3.2.
I can't simply get the values of event.type or event.value without being flooded with lots of these error messages.
In my case, I have these codes coming from source/blender/python/intern/bpy_rna.c:1334:
Similar problem - when moving gizmo, that target geometry nodes modifier input 'Input_2' - throws lots of : '20517' matches no enum in 'Event' - in console (operation works though ok).