Broken Script

Solved563 viewsCSS Controller TemplatesGeneration Error Script error
0

I have a cursed script where the same errors always occur after generating the script. Even if i go to the scripts python file in ableton and fix them, after pressing Generate script in css3 the same error is in the .py again. What’s wierd too is , that those errors aren’t in the json files either. I tried everything but nothing is helping an i REALLY don’t want to give up that script.

I tried so many things to fix this, including exporting the Mappings and Importing it in a new Script, but nothing worked.

One of the Erorrs always occuring is this one:

Traceback (most recent call last):

File “”, line 1, in

File “/Applications/Ableton Live 12 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_dj_control_new_gpt/__init__.py”, line 2, in

from .css_dj_control_new_gpt import css_dj_control_new_gpt

File “/Applications/Ableton Live 12 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_dj_control_new_gpt/css_dj_control_new_gpt.py”, line 133

self.global_feedback_active =

^

SyntaxError

:

All that happened after i pressed save while css was lagging and i just shut it down and opened it again. That caused my script to dissapear and i imported it from the Ableton Remote Scripts Folder.

I can’t upload the script because the file size is too big, but has anyone had the same issue?

JohnC Selected answer as best
1

From the error I can see you have a missing value which needs to be set for:
self.global_feedback_active
This is the toggle which enables/disables global feedback.

In the Script Editor, open the script settings, set global feedback to custom then choose an option for turn global feedback on/off (probably on is best).

JohnC Selected answer as best

Thx a lot, it worked