[Fixed] I haven’t been able to get any script to show up in preferences.

1.77K viewsCSS Questions
0

at first they wouldn’t show up in the remote scripts folder, then for some reason they were there. But NOTHING shows up in preferences still. and i keep getting a “with” will be reversed in python 2.6 message.
first i tried to make one for my MPK2, then i tried to make one with as little features as possible, just a play button, with the midimix controller template in CSS, to see if it was something i was doing with the mpk controller template i made. Nothing shows up in any case.

idk which log files matter, so i’ll attache the ableton one and copy paste the one in CSS

CSS

C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk2__init__.py”, line 1, in
from css_mpk2 import css_mpk2
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk_tooo__init__.py”, line 1, in
from css_mpk_tooo import css_mpk_tooo
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk2__init__.py”, line 1, in
from css_mpk2 import css_mpk2
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk_tooo__init__.py”, line 1, in
from css_mpk_tooo import css_mpk_tooo
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk2__init__.py”, line 1, in
from css_mpk2 import css_mpk2
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk_tooo__init__.py”, line 1, in
from css_mpk_tooo import css_mpk_tooo
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_my_first_script__init__.py”, line 1, in
from css_my_first_script import css_my_first_script
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk2__init__.py”, line 1, in
from css_mpk2 import css_mpk2
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk2css_mpk2.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_mpk_tooo__init__.py”, line 1, in
from css_mpk_tooo import css_mpk_tooo
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_mpk_tooocss_mpk_tooo.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py:23: Warning: ‘with’ will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File “”, line 1, in
File “MIDI Remote Scriptscss_my_first_script__init__.py”, line 1, in
from css_my_first_script import css_my_first_script
File “
C:ProgramDataAbletonLive 9 SuiteResourcesMIDI Remote Scriptscss_my_first_scriptcss_my_first_script.py
“, line
23
with self.component_guard():
^
SyntaxError
:
invalid syntax

admin Changed status to publish May 22, 2024
Attached Files:
0

Hi Simon,
Great news that your scripts are now working, thank you for your updates.
So that we can implement the correct fix, can you confirm that the following changes are the ones that have fixed your script in Ableton Live 9.2.3:
1. Add to the very top of the script.py file: from __future__ import with_statement
2. Remove the following lines from script.py file:
try:
from user import *
except ImportError:
from user import *

admin Changed status to publish May 22, 2024
Attached Files:
You are viewing 1 out of 24 answers, click here to view all answers.