nutti / Screencast-Keys

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

Crash when opening a new file from compositing workspace #167

Closed Febulix closed 1 year ago

Febulix commented 1 year ago

System Information

Description about the bug

Blender always crashes when I open a new, empty "General" scene under the following circumstances: You have to have the attached scene open where only compositing is being done in the "compositing" workspace. Nothing else is necessary. Screencast Keys must be enabled, even if it is not used in this particular case.

Steps to reproduce the bug

  1. Open the attached .blend file
  2. Go to "File" → "New" → "General"

Actual behavior

Blender crashes with the following traceback:

Traceback (most recent call last):
  File "/Users/felix/Library/Application Support/Blender/3.5/scripts/addons/screencast_keys/ops.py", line 2069, in intialization_callback
    bpy.types.SpaceView3D.draw_handler_remove(
ValueError: callback_remove(handler): NULL handler given, invalid or already removed

There is no information in the blender.crash.txt file.

Expected behavior

No crash ;)

Files

Report.zip

nutti commented 1 year ago

Thanks for the report. This issue is now fixed.