gluon / AbletonLive11_MIDIRemoteScripts

https://structure-void.com/ableton-live-midi-remote-scripts/
279 stars 68 forks source link

Failed code section in channel strip component #6

Open kmontag opened 2 years ago

kmontag commented 2 years ago

There appears to be a decompilation error in the 11.1 channel strip component, which results in broken syntax.

A long stack trace appears in the file, beginning with:

    def _arm_value--- This code section failed: ---

 L. 412         0  LOAD_FAST                'self'
                2  LOAD_METHOD              is_enabled
                4  CALL_METHOD_0         0  '0 positional arguments'
                6  POP_JUMP_IF_FALSE   202  'to 202'

 L. 413         8  LOAD_GLOBAL              liveobj_valid
               10  LOAD_FAST                'self'
               12  LOAD_ATTR                _track
               14  CALL_FUNCTION_1       1  '1 positional argument'
               16  POP_JUMP_IF_FALSE   202  'to 202'
               18  LOAD_FAST                'self'
               20  LOAD_ATTR                _track
               22  LOAD_ATTR                can_be_armed
               24  POP_JUMP_IF_FALSE   202  'to 202'

The full error is here: https://github.com/gluon/AbletonLive11_MIDIRemoteScripts/blob/b28d806ee359002b9d0f1cd58ea55a869e42371a/ableton/v2/control_surface/components/channel_strip.py#L336

Thanks!