Unable to install User Remote Script

Discuss Live-ready controllers other than Push.
Post Reply
RDP
Posts: 22
Joined: Fri Jul 31, 2009 8:51 am

Unable to install User Remote Script

Post by RDP » Fri May 16, 2025 2:48 pm

Hello all,

On MacOS, and using Live 12.

Due to updates to main version of Live my previous "fixed" Mackie Control scripts (for use with my Tascam US-2400) got overwritten, and now I need to create a custom modification again to get back my touch sensitive faders. So far this is all fine, I know the command I need to add, and to which .py file, therefore all should be good, except:

I wanted to follow the new style of having custom remote scripts remain installed even with updates to Ableton, and I understand that is a thing now since Live 10, to use the Remote Scripts folder in the user directory to achieve this. The problem is, nothing ever shows up in the drop down, and even if I then try to install the folder to the legacy MIDI Remote Scripts folder it still doesn't show up.

After a bunch of comparison to the uncompiled Mackie Control scripts for Live 12 from Github and the Ableton standard installed Mackie Control scripts I notice a strange behavior, and maybe this is why I don't see anything?

1. Folder called US2400 contains the Mackie Control .py files downloaded from Github.
2. I run Live 12, and the __pycache__ folder is created, and two files are created there, __init__.cpython-311.pyc , and , MackieControl.cpython-311.pyc
3. (this is probably the issue) In the parent folder (US2400), the files remain the same, as .py files, not compiled .pyc files.

Any direction would be appreciated!

thanks,
RDP

[jur]
Site Admin
Posts: 6152
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Unable to install User Remote Script

Post by [jur] » Fri May 16, 2025 3:49 pm

Since you're already aware of the "new" Remote Scripts folder, then your issue might be the Python version.
Since L11 (or was it already L10?) you need to compile with a more recent Python version 3.
Did you check the Knowledge Base?
Ableton Forum Moderator

RDP
Posts: 22
Joined: Fri Jul 31, 2009 8:51 am

Re: Unable to install User Remote Script

Post by RDP » Sat May 17, 2025 1:59 am

Yes, the KB is where I actually found out about the User Directory!

A couple of KB note that Python 3 is from Live 11, and customs scripts need to be updated, however I'm simply downloading the uncompiled version of the Live 12 midi scripts from github and trying to install that first (in the User folder) as a basis for me to make my custom version, and so far I cannot even get the raw script files downloaded from Github to compile when opening Live 12. Just to confirm, I understand Live compiles on startup (hence the __pycache__ sub-folder creation), if I need to manually compile I would be surprised as I don't think it is mentioned anywhere by Ableton or others that I've been able to find.

thanks,
RDP

RobrechtV
Posts: 123
Joined: Sat Feb 18, 2017 1:32 pm

Re: Unable to install User Remote Script

Post by RobrechtV » Mon May 19, 2025 3:18 pm

RDP wrote:
Fri May 16, 2025 2:48 pm
3. (this is probably the issue) In the parent folder (US2400), the files remain the same, as .py files, not compiled .pyc files.
No, that's normal. The compiled files appear in __pycache__, the originals stay where they are – that way you can keep editing them if something doesn't work as expected.

So it appears Live finds your modified scripts and compiles them (you're right in thinking you don't need to do that manually), but for some reason runs into an error and therefore refuses to show them in the list. To find out what that error is, close Live again and take a look at the log.txt file. I usually scroll all the way down, then scroll up again until I find an error report – you'll recognize it because the text becomes a lot less dense than the usual activity logging.

The error message should normally give you an idea of the reason the script couldn't be loaded. It's probably a Python syntax thing, since Live won't even show the script in the list.

Now, since you're encountering an error with the unmodified MackieControl script, which should in theory load just fine, I've taken a look at (I think) the latest version posted on Github, because I've noticed some of the scripts there have "parse errors" in them, where I suppose the decompiling process failed for some reason. And sure enough, the MackieControl script has three of them in the ChannelStripController.py file.

Check Live's log.txt to make sure, but if that's the version of the script you downloaded, those parse errors are likely the culprit. In that case, your best option is probably to look for another version. I've done a search for "parse error" in the Live 11 version and found none in the Mackie Control script there. However, there are Github merge conflicts (the <<<<<< HEAD, ===== and >>>>>> d4a7b269eef325b60d6e8b8cc6298fd52c04fa34 markers), so I'm afraid those won't work out of the box either.
Colored scribble strips on the Behringer Xtouch!
download scripts | forum posts

RDP
Posts: 22
Joined: Fri Jul 31, 2009 8:51 am

Re: Unable to install User Remote Script

Post by RDP » Wed May 21, 2025 2:33 pm

Progress!

1. GOOD: I found that if I populate my custom named folder with the factory bytecode Mackie Control folder contents I can get it to show up in the drop down menu, and I can even do this within the Live version agnostic User Preferences folder where my customs scripts really should be (according to the manual). Excellent!

2. GOOD: I also found the log, and what a nightmare to navigate. This was until I realised that the log was culmative, and by deleting the log each time I re-opened Live that the file was much more manageable to look at.

3. NOT GOOD: Using your suggestion I checked the now clean and easy to navigate log, and boom, there it was, RemoteScriptErrors for the Github downloaded decompiled scripts. Given that more than once on the site they say "BE CAREFUL, WE CANNOT PROVIDE ANY SUPPORT ABOUT ALL OF THIS BELOW !", and "===> NO support given, ONLY source files !" it seems strange they are not interested in knowing that their dump has issues. I certinally don't know how else to go about obtaining a proper version! Can AI decompile these days???

I'm glad I know what the issue is now, but too bad there doesn't seem to be a solution unless I learn how to decompile Python or create one from zero/scratch using Remotify Contol Surface Studio. Seems a lot just to enable a feature (select track when touch sensitive fader is touched).


thanks!
RDP

RobrechtV
Posts: 123
Joined: Sat Feb 18, 2017 1:32 pm

Re: Unable to install User Remote Script

Post by RobrechtV » Wed May 21, 2025 8:37 pm

Give this a shot. It's the Live 11 version, but with the Github merge conflicts resolved. It might just work!
Colored scribble strips on the Behringer Xtouch!
download scripts | forum posts

RDP
Posts: 22
Joined: Fri Jul 31, 2009 8:51 am

Re: Unable to install User Remote Script

Post by RDP » Thu May 22, 2025 12:28 pm

You are very generous, thank you!

What happens is now different:

1. XT is only two files, it loads, but a look at the log show there are many errors.

2. Main Mackie Control after a second or two after selecting it will freeze (beach ball) Abelton, and I have to force quit. The log doesn't show anything because of the hard crash, but on application restart it offers me the .zip crash report, but the funny thing is, I cannot seem to unzip it!

Here is some of the XT errors from the log:

2025-05-22T21:26:32.808200: error: RemoteScriptError:
2025-05-22T21:26:32.808214: error: RemoteScriptError: Traceback (most recent call last):

2025-05-22T21:26:32.808219: error: RemoteScriptError:
2025-05-22T21:26:32.808225: error: RemoteScriptError: File "/Users/REDACTED/Music/Ableton/User Library/Remote Scripts/US2400XT/__init__.py", line 11, in create_instance

2025-05-22T21:26:32.808271: error: RemoteScriptError:
2025-05-22T21:26:32.808278: error: RemoteScriptError:
2025-05-22T21:26:32.808283: error: RemoteScriptError: return MackieControlXT(c_instance)
2025-05-22T21:26:32.808293: error: RemoteScriptError:

2025-05-22T21:26:32.808306: error: RemoteScriptError:
2025-05-22T21:26:32.808311: error: RemoteScriptError:
2025-05-22T21:26:32.808314: error: RemoteScriptError:
2025-05-22T21:26:32.808317: error: RemoteScriptError:
2025-05-22T21:26:32.808320: error: RemoteScriptError:
2025-05-22T21:26:32.808323: error: RemoteScriptError:
2025-05-22T21:26:32.808326: error: RemoteScriptError:
2025-05-22T21:26:32.808329: error: RemoteScriptError:
2025-05-22T21:26:32.808332: error: RemoteScriptError:
2025-05-22T21:26:32.808335: error: RemoteScriptError:
2025-05-22T21:26:32.808338: error: RemoteScriptError:
2025-05-22T21:26:32.808341: error: RemoteScriptError:
2025-05-22T21:26:32.808344: error: RemoteScriptError: ^
2025-05-22T21:26:32.808347: error: RemoteScriptError: ^
2025-05-22T21:26:32.808349: error: RemoteScriptError: ^
2025-05-22T21:26:32.808352: error: RemoteScriptError: ^
2025-05-22T21:26:32.808355: error: RemoteScriptError: ^
2025-05-22T21:26:32.808358: error: RemoteScriptError: ^
2025-05-22T21:26:32.808361: error: RemoteScriptError: ^
2025-05-22T21:26:32.808364: error: RemoteScriptError: ^
2025-05-22T21:26:32.808367: error: RemoteScriptError: ^
2025-05-22T21:26:32.808370: error: RemoteScriptError: ^
2025-05-22T21:26:32.808373: error: RemoteScriptError: ^
2025-05-22T21:26:32.808375: error: RemoteScriptError: ^
2025-05-22T21:26:32.808378: error: RemoteScriptError: ^
2025-05-22T21:26:32.808381: error: RemoteScriptError: ^
2025-05-22T21:26:32.808384: error: RemoteScriptError: ^
2025-05-22T21:26:32.808387: error: RemoteScriptError: ^
2025-05-22T21:26:32.808389: error: RemoteScriptError: ^
2025-05-22T21:26:32.808392: error: RemoteScriptError: ^
2025-05-22T21:26:32.808395: error: RemoteScriptError: ^
2025-05-22T21:26:32.808398: error: RemoteScriptError: ^
2025-05-22T21:26:32.808401: error: RemoteScriptError: ^
2025-05-22T21:26:32.808404: error: RemoteScriptError: ^
2025-05-22T21:26:32.808407: error: RemoteScriptError: ^
2025-05-22T21:26:32.808409: error: RemoteScriptError: ^
2025-05-22T21:26:32.808412: error: RemoteScriptError: ^
2025-05-22T21:26:32.808415: error: RemoteScriptError: ^
2025-05-22T21:26:32.808418: error: RemoteScriptError: ^
2025-05-22T21:26:32.808421: error: RemoteScriptError:

2025-05-22T21:26:32.808424: error: RemoteScriptError:
2025-05-22T21:26:32.808429: error: RemoteScriptError: File "/Users/REDACTED/Music/Ableton/User Library/Remote Scripts/US2400XT/MackieControlXT.py", line 19, in __init__

2025-05-22T21:26:32.808463: error: RemoteScriptError:
2025-05-22T21:26:32.808468: error: RemoteScriptError:
2025-05-22T21:26:32.808473: error: RemoteScriptError: self._MackieControlXT__main_display = MainDisplay(self)
2025-05-22T21:26:32.808476: error: RemoteScriptError:

2025-05-22T21:26:32.808486: error: RemoteScriptError:
2025-05-22T21:26:32.808490: error: RemoteScriptError:
2025-05-22T21:26:32.808493: error: RemoteScriptError:
2025-05-22T21:26:32.808496: error: RemoteScriptError:
2025-05-22T21:26:32.808498: error: RemoteScriptError:
2025-05-22T21:26:32.808501: error: RemoteScriptError:
2025-05-22T21:26:32.808504: error: RemoteScriptError:
2025-05-22T21:26:32.808507: error: RemoteScriptError:
2025-05-22T21:26:32.808510: error: RemoteScriptError:
2025-05-22T21:26:32.808513: error: RemoteScriptError:
2025-05-22T21:26:32.808516: error: RemoteScriptError:
2025-05-22T21:26:32.808518: error: RemoteScriptError:
2025-05-22T21:26:32.808521: error: RemoteScriptError:
2025-05-22T21:26:32.808524: error: RemoteScriptError:
2025-05-22T21:26:32.808527: error: RemoteScriptError:
2025-05-22T21:26:32.808530: error: RemoteScriptError:
2025-05-22T21:26:32.808533: error: RemoteScriptError:
2025-05-22T21:26:32.808535: error: RemoteScriptError:
2025-05-22T21:26:32.808538: error: RemoteScriptError:
2025-05-22T21:26:32.808541: error: RemoteScriptError:
2025-05-22T21:26:32.808544: error: RemoteScriptError:
2025-05-22T21:26:32.808547: error: RemoteScriptError:
2025-05-22T21:26:32.808549: error: RemoteScriptError:
2025-05-22T21:26:32.808562: error: RemoteScriptError:
2025-05-22T21:26:32.808565: error: RemoteScriptError:
2025-05-22T21:26:32.808568: error: RemoteScriptError:
2025-05-22T21:26:32.808571: error: RemoteScriptError:
2025-05-22T21:26:32.808573: error: RemoteScriptError:
2025-05-22T21:26:32.808576: error: RemoteScriptError:
2025-05-22T21:26:32.808579: error: RemoteScriptError:
2025-05-22T21:26:32.808582: error: RemoteScriptError:
2025-05-22T21:26:32.808585: error: RemoteScriptError:
2025-05-22T21:26:32.808588: error: RemoteScriptError:
2025-05-22T21:26:32.808590: error: RemoteScriptError:
2025-05-22T21:26:32.808593: error: RemoteScriptError:
2025-05-22T21:26:32.808596: error: RemoteScriptError:
2025-05-22T21:26:32.808599: error: RemoteScriptError:
2025-05-22T21:26:32.808601: error: RemoteScriptError:
2025-05-22T21:26:32.808604: error: RemoteScriptError:
2025-05-22T21:26:32.808607: error: RemoteScriptError:
2025-05-22T21:26:32.808610: error: RemoteScriptError:
2025-05-22T21:26:32.808613: error: RemoteScriptError:
2025-05-22T21:26:32.808615: error: RemoteScriptError:
2025-05-22T21:26:32.808618: error: RemoteScriptError: ^
2025-05-22T21:26:32.808621: error: RemoteScriptError: ^
2025-05-22T21:26:32.808624: error: RemoteScriptError: ^
2025-05-22T21:26:32.808626: error: RemoteScriptError: ^
2025-05-22T21:26:32.808629: error: RemoteScriptError: ^
2025-05-22T21:26:32.808632: error: RemoteScriptError: ^
2025-05-22T21:26:32.808635: error: RemoteScriptError: ^
2025-05-22T21:26:32.808638: error: RemoteScriptError: ^
2025-05-22T21:26:32.808641: error: RemoteScriptError: ^
2025-05-22T21:26:32.808644: error: RemoteScriptError: ^
2025-05-22T21:26:32.808646: error: RemoteScriptError: ^
2025-05-22T21:26:32.808649: error: RemoteScriptError: ^
2025-05-22T21:26:32.808652: error: RemoteScriptError: ^
2025-05-22T21:26:32.808655: error: RemoteScriptError: ^
2025-05-22T21:26:32.808658: error: RemoteScriptError: ^
2025-05-22T21:26:32.808661: error: RemoteScriptError: ^
2025-05-22T21:26:32.808663: error: RemoteScriptError: ^
2025-05-22T21:26:32.808666: error: RemoteScriptError:

2025-05-22T21:26:32.808670: error: RemoteScriptError:
2025-05-22T21:26:32.808673: error: RemoteScriptError: TypeError
2025-05-22T21:26:32.808677: error: RemoteScriptError: :
2025-05-22T21:26:32.808681: error: RemoteScriptError: 'module' object is not callable
2025-05-22T21:26:32.808684: error: RemoteScriptError:

2025-05-22T21:26:32.808691: info: Exception: Script could not be loaded.
2025-05-22T21:26:32.808695: info: Exception: Stack trace format version: 1 (Mac)
2025-05-22T21:26:32.808711: info:
VMAddr Slide: 0x00000000009f8000
Exception: === Begin stack trace (pc:fn) ===
Exception: 0x00000001019f78c4:0x0000000000000000
Exception: 0x0000000101a871e4:0x0000000000000000
Exception: 0x0000000101a86ed0:0x0000000000000000
Exception: 0x0000000102c396a0:0x0000000000000000
Exception: 0x0000000102c3ca14:0x0000000000000000
Exception: 0x0000000102c4493c:0x0000000000000000
Exception: 0x0000000102c44588:0x0000000000000000
Exception: 0x0000000102c45fd4:0x0000000000000000
Exception: 0x00000001029b3fac:0x0000000000000000
Exception: 0x00000001029ca014:0x0000000000000000
Exception: 0x0000000101d954e8:0x0000000000000000
Exception: 0x0000000101d8db68:0x0000000000000000
Exception: 0x00000001020310a8:0x0000000000000000
Exception: 0x000000010203c3b0:0x0000000000000000
Exception: 0x0000000101fa9d24:0x0000000000000000
Exception: 0x0000000101fab9d4:0x0000000000000000
Exception: 0x0000000101ef5f34:0x0000000000000000
Exception: 0x0000000101ef5d54:0x0000000000000000
Exception: 0x0000000101eda64c:0x0000000000000000
Exception: 0x00000001b591da34:0x0000000000000000
Exception: 0x00000001b591cdcc:0x0000000000000000
Exception: 0x00000001b591bd74:0x0000000000000000
Exception: 0x0000000101ed55e0:0x0000000000000000
Exception: 0x00000001b5bd5b04:0x0000000000000000
Exception: 0x00000001b579d814:0x0000000000000000
Exception: 0x0000000101ee18c0:0x0000000000000000
Exception: 0x000000010912508c:0x0000000000000000
Exception: === End stack trace ===

thanks,
RDP

RobrechtV
Posts: 123
Joined: Sat Feb 18, 2017 1:32 pm

Re: Unable to install User Remote Script

Post by RobrechtV » Thu May 22, 2025 5:56 pm

Hm... I'm afraid I'm out of ideas, sorry. :?

(The XT folder is for when you have a Mackie Extender.)
Colored scribble strips on the Behringer Xtouch!
download scripts | forum posts

RDP
Posts: 22
Joined: Fri Jul 31, 2009 8:51 am

Re: Unable to install User Remote Script

Post by RDP » Fri May 30, 2025 5:17 am

RE: XT Folder - I use it as my controller is a virtually a Mackie Control with two extenders: https://tascam.jp/int/product/us-2400/top

I want to say thanks for all your help to try and fix this, I really appreciate it. I think my next step is to try the Github owner to make a comment about their decompiled scripts, then I give up and will just use the controller as is, without the "channel select on fader touch" feature. I already have a channel select button per fader, so it's not the end of the world!

thanks again,
RDP

Post Reply