acendan / reascripts

Scripts written for the digital audio workstation REAPER.
https://aaroncendan.me
MIT License
27 stars 2 forks source link

Hardcoded scripts folder name causes script to fail #2

Open Marc-Winner opened 2 years ago

Marc-Winner commented 2 years ago

Error when running script acendan_reaperblog_Duplicate items or tracks depending on focus and time selection.lua: "This script requires ACendan Lua Utilities! Please install them here: Extensions > ReaPack > Browse Packages > 'ACendan Lua Utilities'" I had Lua Utilities installed and error persisted.

Going to the source I found that path to scripts was written with lowercase S: reaper.GetResourcePath()..'/scripts/ACendan Scripts/Development/acendan_Lua Utilities.lua' both in acendan_Lua Utilities.lua and acendan_reaperblog_Duplicate items or tracks depending on focus and time selection.lua.

I changed "scripts" for "Scripts" everywhere and the script worked. Please, change the path by default, make case-insensitive folder seeker or add a mention of this in docs to repo.

Thank you for the script, it is awesome!

acendan commented 2 years ago

Hi @Marc-Winner,

Thanks for letting me know about this issue! Out of curiosity, what platform/operating system are you on? You're the first person to report having this problem to me; which is a bit of a surprise.

Cheers!

acendan commented 2 years ago

Hey Marc! Recently I set up a Linux Virtual Machine for the first time and ran into the same issue you mentioned. Just pushed out an update to all of my scripts that referred to the lowercase path. Should hopefully work as expected now!

Marc-Winner commented 2 years ago

Glad to hear it!

Keep up the good work!

Best regards, Marsel

On Sat, Jul 16, 2022, 21:36 Aaron Cendan @.***> wrote:

Hey Marc! Recently I set up a Linux Virtual Machine for the first time and ran into the same issue you mentioned. Just pushed out an update to all of my scripts that referred to the lowercase path. Should hopefully work as expected now!

— Reply to this email directly, view it on GitHub https://github.com/acendan/reascripts/issues/2#issuecomment-1186261489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6D7I3JQL6WGGOFZ3IEFXLVUL6JJANCNFSM5WSFVXZA . You are receiving this because you were mentioned.Message ID: @.***>

Marc-Winner commented 1 year ago

Hello,

I use Ubuntu 21.04. Yeah, I don't know how naming of folders change from OS to OS. Maybe, other users are just so advanced that they corrected it silently)

Best, Marsel

On Wed, May 25, 2022, 04:37 Aaron Cendan @.***> wrote:

Hi @Marc-Winner https://github.com/Marc-Winner,

Thanks for letting me know about this issue! Out of curiosity, what platform/operating system are you on? You're the first person to report having this problem to me; which is a bit of a surprise.

Cheers!

— Reply to this email directly, view it on GitHub https://github.com/acendan/reascripts/issues/2#issuecomment-1136611941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6D7I63RMKTAZRNX2UTSX3VLV743ANCNFSM5WSFVXZA . You are receiving this because you were mentioned.Message ID: @.***>