shotmanager icon indicating copy to clipboard operation
shotmanager copied to clipboard

Error when adding Video Editing Tab

Open j2l opened this issue 2 years ago • 1 comments

Infos on the context

  • Add-on version: 2.0.102
  • Blender version, from installer or from zip: 2.93.3
  • OS: Ubuntu 21.10
  • Bug was also on previous versions (I don't know / No / Yes, seen on version x.x): IDK

Describe the bug Error panel popping out when adding the Video Editing tab in Blender.

-------------------------------------------------------

New file loaded

Initializing Shot Manager in the current scene (Scene)...                                                                                    [./config/sm_logging.py:222]

Initializing Shot Manager Preferences...

Initializing new take with name Main Take...

REFRESH JIGGLE LIST
anim drop
Python: [ERROR] mpfb.init ..............................: Unhandled crash 
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:

local variable 'event_handled' referenced before assignment

Traceback (most recent call last):
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:
UnboundLocalError: local variable 'event_handled' referenced before assignment

location: <unknown location>:-1
Error: Python: [ERROR] mpfb.init ..............................: Unhandled crash 
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:

local variable 'event_handled' referenced before assignment

Traceback (most recent call last):
  File "/home/pm/.config/blender/2.93/scripts/addons/shotmanager/overlay_tools/interact_shots_stack/shots_stack.py", line 248, in modal
    if config.gRedrawShotStack or event_handled:
UnboundLocalError: local variable 'event_handled' referenced before assignment

location: <unknown location>:-1

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior no error :smile:

Screenshots Screenshot from 2022-06-22 10-01-56

j2l avatar Jun 22 '22 08:06 j2l

Can you check with this version please? I believe it is the same issue than the other one you repported: V2.0.225

werwack avatar Sep 05 '22 20:09 werwack