![]() |
#761 | |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
![]()
I got this strange error message after uploading new versions of a few scripts to ReaTeam GitHub:
Quote:
|
|
![]() |
![]() |
![]() |
#762 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]()
I highly recommend using https://reapack.com/upload instead of writing the metadata and pushing commits directly on GitHub now.
"Auto Cancellation" aborts pending jobs when a newer commit is pushed before they're done to save time. The build for the latest commit failed because of: Code:
1) MIDI Editor/js_Mouse editing - Arch and Tilt.lua failed: file not found 'js_Mouse editing - Arch and tilt.cur' 2) MIDI Editor/js_Panic - Stop all keystroke intercepts by scripts.lua failed: missing tag 'version'
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 05-08-2019 at 06:03 AM. |
![]() |
![]() |
![]() |
#763 |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
![]()
Ugh, how stupid of me. Everything's now fine.
|
![]() |
![]() |
![]() |
#764 |
Human being with feelings
Join Date: Jan 2019
Posts: 63
|
![]()
Hi,
Since I installed ReaPack, the auto-generated ReaScript API documentation says some new functions are available (e.g. ReaPack_AboutInstalledPackage), including for Python. Yet I can't find how to import those functions and use them in actual Python ReaScripts. The only way I've found so far is to write myself a CFUNCTYPE wrapper around the C function available in reaper_python._ft['ReaPack_AboutInstalledPackage']... Am I missing something? (Note: I have asked this question on a dedicated thread, but I copy it here to draw attention from competent people ![]() |
![]() |
![]() |
![]() |
#765 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]()
That's the correct way to use extension-provided API functions in Python ReaScripts.
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
![]() |
![]() |
![]() |
#766 |
Human being with feelings
Join Date: Jan 2019
Posts: 63
|
![]()
Ok thanks! I guess I was looking for something pre-made like sws did with their "sws_python.py".
|
![]() |
![]() |
![]() |
#767 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]()
Under which license does ReaPack live?
And is it ok, if I add it to the installation-package of our Ultraschall-Podcast extension? I want to integrate ReaPack in a way, that new users can download updates of Ultraschall without having to install ReaPack first by hand, as many of our users are not familiar enough with that. And some other things, how difficult would it be to add an action, that allows automatic-closing of the dialogs? I would love to build an installer for our updater, and would love to put e.g. the "new extension installed"-dialog into it so the UI stays consistent. I could do this via a hack using Julian's extension, but would want to avoid that. And, is there a way to get somehow the errors happening, the last time ReaPack has synchronized? Would love to be able to deal with errors happening.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#768 |
Human being with feelings
Join Date: Nov 2015
Location: Switzerland
Posts: 1,966
|
![]()
Hi, I just started doing some scripts in lua for reaper and I wanted to know how I can add my own github repo to be used inside ReaPack. Can someone help me?
![]() This is my repo: https://github.com/DaveKeehl/ReaScripts
__________________
REAPER Contest |
![]() |
![]() |
![]() |
#769 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]()
Cfillion posted useful links in his answer to my same question.
You can find it at: https://forum.cockos.com/showpost.ph...&postcount=724 The third answered question.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#770 | |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,403
|
![]() Quote:
If so, I think it wouldn't be worth it, just for a cleaner repo. ![]() |
|
![]() |
![]() |
![]() |
#771 | ||
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]() Quote:
Quote:
If you prefer managing and promoting your own repository, then check out reapack-index and the index format documentation. That's right. Though there's also the possibility of moving the code instead of moving the index (eg. to an unrelated branch)... but that may end up being more confusing than useful.
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 05-30-2019 at 07:06 PM. |
||
![]() |
![]() |
![]() |
#772 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]()
I'm experimenting with ReaPack again recently and noticed, that file:/// seems not be accepted by ReaPack 1.2.2, only in 1.2.1. Is this a bug or intentionally?
I also tried to make an automatic web-installer for our Ultraschall-podcast-extension and I stumbled over an issue on Mac. When I downloaded the installer-files, ReaPack opens the windows "ReaPack Notice" and a transaction-protocol. On Windows, I managed to get and close them automatically, so I can move on with the installation-procedure automatically, as background-scripts still run. On Mac, however, these dialogs stop all ReaScripts from working, until I closed them by hand. So I wonder, is there a way to synchronize without the dialogs, somehow? Even funnier, when I close the ReaPack Notice-dialog, the JS-extension still finds the hwnd of the window, as if it's still there. Even ValidatePtr sees it as valid pointer. The code I used to check this, is the following one: Code:
function main() C=reaper.time_precise() A=reaper.JS_Window_Find("ReaPack Notice", true) B=reaper.ValidatePtr(A, "HWND*") --if A~=nil then reaper.JS_Window_Destroy(A) end reaper.defer(main) end main() Have no idea, whether it's an issue in JS-extension or Reaper, but when I try to do something with the "found hwnd", Reaper crashes, so it seems not to be there, somehow. Is there a way around that? Thanks ![]()
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#773 | |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]() Quote:
As for the "ReaPack Notice" dialog for reminding users to restart REAPER after installing a package of the Extension type, which is a standard Win32 OS message box, SWELL is responsible of managing any related HWND (if any) on macOS/Linux. Maybe AppleScript would be able to close it (ugly hack though)? The best solution would be to mark packages which only contains scripts as Script packages (defaults to writing to the Scripts folder unless overridden per-file). Then the restart notice dialog is not displayed.
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 06-11-2019 at 06:54 AM. |
|
![]() |
![]() |
![]() |
#774 | ||
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]() Quote:
![]() Quote:
Hmm...would be a workaround but only, if I don't install extension-updates as well, which we sometimes need to do with our own plugin. The reason is, that I want to auto-restart it after it's done downloading, as the process I'm working on does this anyway. Applescript or maybe Automator would be an option, but the problems I had with it, let me fear more problems than actual solutions ![]() What about an entry in reapack.ini, which I can set? Like "show_finished_dialogs=true|false", so I can suppress the dialog temporarily and reset afterwards? Checking for successful download can be done otherwise, so this would help me tons with that. BTW: can I put a versionnumber for each file individually into a index-file, without having to create individual ReaPack-parts for them? That way, I could optimize updating, so only changed files would be downloaded. Oh...and...one Feature Request: an API-function, which allows me to get the currently installed ReaPack-version. I think about building up a basic versioncheck-library for scripters, so they can show "xxx-plugin version xyz is missing" messages, which is far better for endusers than cryptic Lua-nilvalue-errors. For that, I would need to check for the ReaPack-versionnumber as well. Thanks ![]()
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
||
![]() |
![]() |
![]() |
#775 |
Human being with feelings
Join Date: Dec 2010
Posts: 75
|
![]()
Is it possible for a reapack item to depend on another? so that when I install that item, it installs another?
|
![]() |
![]() |
![]() |
#776 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,739
|
![]()
@Ruxton
Yes, this is the Provide systems. A package can record several others, and they will bz download with the master one. Works for any files (graphics, preset files etc).
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#777 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,739
|
![]()
Hi,
How to Reapack-Index FX Presets ? Geraintluff is able to provide presets via reapack but I dont know, it seems it involves the .rpl files but I have no idea for the next. Thx !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#778 |
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
![]()
A package can install additional files, but NOT other ReaPack packages. I've been asking for the latter for a while so that scripts using my GUI can install it themselves.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :( Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate |
![]() |
![]() |
![]() |
#779 | ||
Human being with feelings
Join Date: Nov 2009
Location: mostly inside my own head
Posts: 350
|
![]() Quote:
If you include a file in the same directory, with the same filename as your JSFX, plus an extra ".rpl", REAPER will pre-load those plugins. E.g. if your effect is called "my-effect.jsfx", your preset file should be "my-effect.jsfx.rpl" (both extensions) installed in the same directory. Here's the post where Justin explained it. Quote:
I ended up with all of my effects installing separate copies of any shared resources in their own package, but my extra dependencies are fairly lightweight, and that probably won't work in all situations. |
||
![]() |
![]() |
![]() |
#780 | |
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
![]() Quote:
I'd rather have everyone using the same one and trust myself to use semantic versioning appropriately.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :( Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate |
|
![]() |
![]() |
![]() |
#781 |
Human being with feelings
Join Date: Nov 2009
Location: mostly inside my own head
Posts: 350
|
![]()
Yeah, that makes sense.
Ah, cool - assuming ReaPack doesn't have a way to transparently install multiple versions at once, would you release a whole separate package for major versions (separate ReaPack entry)? |
![]() |
![]() |
![]() |
#782 |
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
![]()
Yup; that's really the only way to handle it with what we have.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :( Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate |
![]() |
![]() |
![]() |
#783 |
Human being with feelings
Join Date: Jan 2012
Location: Germany
Posts: 1,225
|
![]()
If I want to move my REAPER config from one machine to the other, do I just export everything from Preferences and import it on the other machine? Or do I have to install extension plugins like SWS and JS API manually?
|
![]() |
![]() |
![]() |
#784 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 17,145
|
![]()
What am I doing wrong with the one -> https://github.com/ReaTeam/JSFX/pull/128
I uploaded it via the upload tool and see no notion / or reply on it. Thanks, -Michael |
![]() |
![]() |
![]() |
#785 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 17,145
|
![]()
Still nothing going with -> https://github.com/ReaTeam/JSFX/pull/128 ?!?!?
-Michael |
![]() |
![]() |
![]() |
#786 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]() Quote:
I think, exporting the configuration should include your ReaPack-settings as well. You would need to reinstall ReaPack again and your ReaPack-"subscriptions" should(!) be there again after restart.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#787 | |
Human being with feelings
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
|
![]() Quote:
Also you can do what I eventually started doing: back up (by simply copying and/or zipping) everything in the "Reaper resource path" (which is located by going to Reaper's menu and choosing options -> Show REAPER resource path in explorer/finder). All themes, scripts, JS plugins, and all the data for how you configure Reaper: it's all in there. It's faster than exporting preferences, but it means you have to know what you want backed up (in my case, I want everything backed up always). The worst-case scenario for this method of backup is that the new configuration doesn't quite work somehow and you have to delete some .ini file or another (but if you have your stuff backed up, you can always "start fresh" and add .ini files as you need them). And if you switch to a different OS, yes you'd have to remove the parts which aren't compatible (SWS, FFMPEG, Reapack, js_reascriptAPI - all those .dll or .so files) and install native versions for the OS. But the rest--including all the info for Reapack (its own database of what's installed)--will be retained. Last edited by JamesPeters; 04-02-2020 at 01:35 AM. |
|
![]() |
![]() |
![]() |
#788 |
Human being with feelings
Join Date: Nov 2006
Posts: 863
|
![]()
I've been getting the following errors lately, any idea whats up?
ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 1 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 2 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 3 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 4 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 5 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 6 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 7 bypass.lua is already owned by another package ReaTeam Scripts/FX/Monitoring FX bypass bundle (bypass, unbypass or toggle) v1.1.1: Conflict: Scripts\ReaTeam Scripts\FX\cfillion_Toggle monitoring FX 8 bypass.lua is already owned by another package |
![]() |
![]() |
![]() |
#789 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]()
@JamesPeters
Yes, you're right. I just thought about the reapack.ini, which holds the "subscribed" packages but forgot about the database. Good point. @Todd Quote:
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#790 | |
Human being with feelings
Join Date: Nov 2006
Posts: 863
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#791 | ||
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]() Quote:
Quote:
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
||
![]() |
![]() |
![]() |
#792 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 17,145
|
![]() |
![]() |
![]() |
![]() |
#793 |
Human being with feelings
Join Date: Jan 2019
Posts: 77
|
![]()
Hello Christian,
first of all thanks for your fine software! I have two questions:
DrTT |
![]() |
![]() |
![]() |
#794 | |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,403
|
![]() Quote:
(iiuc) |
|
![]() |
![]() |
![]() |
#795 |
Human being with feelings
Join Date: Jan 2019
Posts: 77
|
![]()
Hello nofish,
thanks for the hint! I had tried the "file://" protocol before, but failed. But the percent-encoding proposed in the mentioned post https://forum.cockos.com/showpost.ph...&postcount=501 does also not work. I tried to do the same with a harmless target directory and get the error message: Download failed: Unsupported protocol (1): Protocol "file" notMy naive assumption is that libcurl is statically embedded into ReaPack. Any ideas? Best regards, DrTT |
![]() |
![]() |
![]() |
#796 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,403
|
![]()
I missed that somehow in your previous post, sorry.
No other idea then unfortunately.
__________________
me on Soundcloud (Beats Rap Reggae) Wikiloops - free online jams, check it out my ReaScripts SWS issue tracker Donations Last edited by nofish; 09-08-2019 at 08:25 AM. |
![]() |
![]() |
![]() |
#797 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,882
|
![]() Quote:
You can, for the time being, use the previous version of it, where file:/// worked.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#798 |
Human being with feelings
Join Date: Jan 2019
Posts: 77
|
![]() |
![]() |
![]() |
![]() |
#799 |
Human being with feelings
Join Date: Jun 2014
Posts: 152
|
![]()
Hi guys!
Such an awesome tool, thanks so much for all the time and effort! I've been trying to get this to work all day, have read about 50% of this thread so please excuse me if I repeat something. Not sure if these are bugs or if I'm doing something wrong... however, two things I noticed: * On a fresh install on Windows 10 I could not get Reapack-index to work due to a Rugged error. Installing Rugged 0.27.0 first did the trick. * I've been staring at this all night, so might be overlooking something simple. But I could not get the indexer to add multiple files this way: Code:
--[[ * Author: Jerimma * Version: 1.0.17 * provides: inc/include.lua inc/wtf.lua inc/mur.lua --]] Code:
--[[ @author Jerimma @version 1.0.20 @provides inc/include.lua inc/wtf.lua inc/mur.lua --]] ![]() |
![]() |
![]() |
![]() |
#800 | |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,422
|
![]() Quote:
Alternatively you can use https://reapack.com/upload/reascript.
__________________
🇨🇦 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|