Hey there,
I just discovered TD and TDAbleton and it’s my favorite new toy already, so thanks heaps for that
I just wanted to report a few issues I had before I could get properly started, in the hopes it might be useful to anyone encountering the same problems. Sorry if these have been reported before, I did a quick search but couldn’t find them.
-
TDAbleton won’t connect when it encounters some particular devices on some tracks, e.g. disabled (unavailable) M4L patches, and some Native Istruments VSTs in some circumstances (I had the issue with Battery 4, and Massive on some tracks - but not when it’s in a rack, weirdly). In these cases the following error appears in the Textport :
# TDA Remote Script Error #
Traceback (most recent call last):
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 652, in __init__
self.handle()
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1797, in handle
self._unbundle(decoded)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1779, in _unbundle
self.replies += self.server.dispatchMessage(decoded[0], decoded[1][1:], decoded[2:], self.client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1741, in dispatchMessage
reply = self.callbacks[addr](pattern, tags, data, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\TDA.py", line 332, in onMsgCommand
self.sendConnectInfo(client)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\TDA.py", line 437, in sendConnectInfo
self.sendSongInfo(client)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\TDA.py", line 487, in sendSongInfo
'tracks[' + str(tIndex) +']')
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\TDA.py", line 557, in getTrackOrChainInfo
if device.parameters[1].name == 'ID_TDA_Ignore':
IndexError: Index out of range
# End TDA Remote Script Error #
I was able to figure out what tracks were causing the issue by adding some logging commands to TDA.py, but it’s been tedious
- When I was able to bounce/remove the offending devices, the auto-renaming process for devices with duplicate names failed when it encountered tracks with duplicate names (yes, my project was messy). In that case the errors in the textport were :
# TDA Remote Script Error #
Traceback (most recent call last):
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\Python\lib\SocketServer.py", line 652, in __init__
self.handle()
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1797, in handle
self._unbundle(decoded)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1779, in _unbundle
self.replies += self.server.dispatchMessage(decoded[0], decoded[1][1:], decoded[2:], self.client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\OSC.py", line 1741, in dispatchMessage
reply = self.callbacks[addr](pattern, tags, data, client_address)
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\TDA.py", line 310, in onMsgListener
msg[4] if len(msg) > 4 else '')
File "C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\TouchDesigner\Listeners.py", line 70, in add
exec(fullCode, context)
File "<string>", line 3, in <module>
AttributeError: 'Track' object has no attribute 'add_value_listener'
# End TDA Remote Script Error #
python >>>
Traceback (most recent call last):
File "/sys/TDResources/popDialog/button2/panelexec1", line 14, in onToOff
File "/sys/TDResources/popDialog/PopDialogExt", line 160, in OnButtonClicked
File "/sys/TDResources/popDialog/CallbacksExt", line 186, in DoCallback
File "/project1/tdAbletonPackage/tdAbleton/TDAbletonExt", line 670, in onDuplicateNamesPopup
File "/project1/tdAbletonPackage/tdAbleton/TDAbletonExt", line 690, in autoFixDuplicateNames
TypeError: 'NoneType' object is not subscriptable
Fortunately that was easy to fix, I just renamed the tracks manually.
Anyway, now I’m all set and and ready to mess around with TDAbleton, thanks again for this incredible tool!