Old 05-11-2021, 10:49 AM   #1
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 739
Default Why I cannot load new scripts anymore?

This is driving me nuts. First, I know how to edit and load scripts. It used to work fine. Now suddenly I cannot load new scripts anymore into action list.

If I take any lua script on disk, make copy of it (renamed), go to action list, click New Actions/Load Reascript. I can browse to script on disk, select it and hit Open. Script appears on actions list, but I cannot run it, and cannot edit it.

Same if I create new script from action window by New Action/New ReaScript - script is created on disk, I can see it in action list, but edit and delete buttons are greyed out, and new script cannot be edited or deleted.

If I click on newly added script, buttons Edit Action and Delete are greyed out. If I try to run it, nothing happens, like it wouldn't even be there.

If I exit Reaper, and open it again, that half added script is gone in both cases, created one and loaded one.

Checking reaper-kb.ini, script is not there.

I have checked all folders for user access, and all seems fine. File attributes are all cleared to normal. File reaper-kb.ini is writable, I can see Reaper writes changes to it.


Any ideas what could be the problem?
sonicowl is offline   Reply With Quote
Old 05-11-2021, 10:59 AM   #2
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 739
Default

I tried to delete reaper-kb.ini, so it is recreated after start. Then it works fine, scripts load as they should. So I guess my reaper-kb.ini is corrupted in some way. Any way to recover it without the need to re-enter all shortcuts manually?

Tried already KeyMap/Export and import back after deleting reaper-kb.ini, but it doesn't solve it.
sonicowl is offline   Reply With Quote
Old 05-11-2021, 11:09 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

There's a limit of maximum scripts and actions available in Reaper.
You probably ran into it.

There's a bugreport for it...lemme refind it..

Edit: can't find it again for some reason...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 05-11-2021 at 11:18 AM.
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-11-2021, 11:18 AM   #4
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 739
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
There's a limit of maximum scripts and actions available in Reaper.
You probably ran into it.

There's a bugreport for it...lemme refind it..
Yes, you are right. Thank you so much. I deleted few scripts, and now all works fine with new scripts.

But this sucks, especially now with ReaPack, many scripts are added. I hope this limit can be lifted.
sonicowl is offline   Reply With Quote
Old 05-11-2021, 11:24 AM   #5
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Yeah. It's somewhere around 10700 if I remember correctly, but can be lower depending on the installed extensions.

CFillion and I digged into it some time ago.

It's interesting, that the limit is a weird one.
I mean, I would expect 16k or 32k but not 10k.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-11-2021, 11:29 AM   #6
sonicowl
Human being with feelings
 
sonicowl's Avatar
 
Join Date: Oct 2015
Posts: 739
Default

Hmm, my reaper-kb.ini has some 8900 lines, and is full. Maybe limit is not in number of actions, but in kilobytes...

ReaPack is killing it, so many new actions all the time, good ones. What are we supposed to do now? I don't know what to delete... all seems like it could be useful.

And what about new scripts from ReaPack? Now that I have it filled, I will not be able to use any new scripts from Reapack anymore, ever?
sonicowl is offline   Reply With Quote
Old 05-11-2021, 11:41 AM   #7
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Not, until the limit is raised.

I think, it could be safely raised to 32k as Reaper's own actions are around 6000,but I'm not sure, whether this has additional implications.

It's definitely not kb.ini filesize, as actions registered by SWS lower this number as well.
We couldn't really figure out, what's exactly the reason and how to deal with it, except deleting unused ones.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-11-2021, 01:26 PM   #8
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by sonicowl View Post
ReaPack is killing it, so many new actions all the time, good ones. What are we supposed to do now? I don't know what to delete... all seems like it could be useful.
Maybe a new ReaPack usage strategy?
I have 'ReaPack > Options > Install new packages when synchronizing' disabled and only install the ones I need/look (especially) interesting manually.
nofish is offline   Reply With Quote
Old 05-11-2021, 01:58 PM   #9
DarrenH
Human being with feelings
 
Join Date: Mar 2014
Posts: 347
Default

Everyone's workflow is different, but it could be just taking stock of what actions are actually used in a typical workflow and pruning accordingly.


Quote:
Originally Posted by sonicowl View Post
I don't know what to delete... all seems like it could be useful.

Last edited by DarrenH; 05-12-2021 at 04:29 AM.
DarrenH is online now   Reply With Quote
Old 05-11-2021, 05:27 PM   #10
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,227
Default

this may impact me soon as well. i make lots of small scripts intended as components in custom actions and like to 'mix and match' with them. that kind of flow seems like it could become a problem. hope the limit is raised soon.

babag
babag is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.