nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

Crash while using the Speen tool #4

Closed nutti closed 4 years ago

nutti commented 5 years ago

System Information

Description about the bug
Crash while using the Speen tool

javimixet commented 5 years ago

Blender 2.8rc crash when using Spin tool:

WARN (bpy.rna): /home/sources/blender-release/source/blender/python/intern/bpy_rna.c:1457 pyrna_enum_to_py: current value '20517' matches no enum in 'Event', '(null)', 'type'
Traceback (most recent call last):
  File "/home/ii/.config/blender/2.80/scripts/addons/screencastkeys/ops.py", line 587, in modal
    event_type = EventType[event.type]
  File "/home/ii/Downloads/blender-2.80rc1-linux-glibc217-x86_64/2.80/python/lib/python3.7/enum.py", line 349, in __getitem__
    return cls._member_map_[name]
KeyError: ''

location: <unknown location>:-1

location: <unknown location>:-1
Writing: /tmp/blender.crash.txt
nutti commented 4 years ago

This is now fixed by #10