SyntaxError – Problem Solved
Cant find a way to delete my post.
never mind, i have solved the problem already…
btw: i´ve said it already a couple of times but this is one of the most helpful programs for me!
Hey Guys, sorry it seems that i need some help again…
I just installed Ableton 11.1 but for some reasons it seems that ableton cant see my midi remote script for my main controller.
all other remote scripts that i have are coming up and working perfect.
I can see the Folder with the script in my finder but it´s not coming up inside ableton.
this is the log file that i get everytime i open ableton. even with a fresh install
Traceback (most recent call last):
File “”, line 1, in
File “/Applications/Ableton Live 11 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_final_script_ni_jam/__init__.py”, line 2, in
from .css_final_script_ni_jam import css_final_script_ni_jam
File “/Applications/Ableton Live 11 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_final_script_ni_jam/css_final_script_ni_jam.py”, line 3657
if self.song().tracks[0].devices[0].parameters[0].state undefined:
^
SyntaxError
:
invalid syntax
Traceback (most recent call last):
File “”, line 1, in
File “/Applications/Ableton Live 11 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_final_script_ni_jam/__init__.py”, line 2, in
from .css_final_script_ni_jam import css_final_script_ni_jam
File “/Applications/Ableton Live 11 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_final_script_ni_jam/css_final_script_ni_jam.py”, line 3657
if self.song().tracks[0].devices[0].parameters[0].state undefined:
^
SyntaxError
:
invalid syntax
Thanks for your input in advance!!
I see you’ve already answered your own question but for completeness, it looks like you have a reaction condition which is checking the ‘state’ value of a device parameter. but the device/parameter doesn’t exist at the time it was checked.
This is the code causing the error…
if self.song().tracks[0].devices[0].parameters[0].state undefined:
Sign up
User registration is currently not allowed.