stufisher / LiveOSC2

New version of LiveOSC for Live 9
99 stars 31 forks source link

AttributeError 'NoneType' object has no attribute 'canonical_parent' #20

Open Themitchell opened 6 years ago

Themitchell commented 6 years ago

Placing the script inside /Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI\ Remote\ Scripts on Live version 9.7.5 build 2017_10_02_f6342e73ec 64bit allows the script to be compiled but when the script is loaded an error occurs as follows. Any ideas? I'm slightly confused by the path refs to /Users/versonator/Jenkins. Id be hugely ppreciative of some help with this.

16236 ms. RemoteScriptError: Traceback (most recent call last):

16236 ms. RemoteScriptError:   File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/ControlSurface.py", line 653, in call_listeners

16236 ms. RemoteScriptError:   File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/DeviceComponent.py", line 143, in __on_appointed_device_changed

16236 ms. RemoteScriptError:   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/LiveOSC2/LO2DeviceComponent.py", line 42, in set_device

16236 ms. RemoteScriptError:     
16236 ms. RemoteScriptError: self._track_id, self._type = self.track_id_type(device.canonical_parent)

16237 ms. RemoteScriptError: AttributeError
16237 ms. RemoteScriptError: : 
16237 ms. RemoteScriptError: 'NoneType' object has no attribute 'canonical_parent'
16237 ms. RemoteScriptError: