-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
realearn failed to scan / plugin not loading #503
Comments
Which processor architecture? Native or Wine? |
native... |
And processor architecture? |
CPU: Topology: Dual Core model: Intel Core i5-3210M bits: 64 type: MT MCP arch: Ivy Bridge |
Mmh okay. This kind of scanning issue is hard to troubleshoot. I also don't have a good recipe for that. Usually what I do is running REAPER with a debugger and putting some breakpoints there and going they get hit and then see where's the issue. You could also use the REAPER command line argument that writes plugin scanning logs to a file. |
" You could also use the REAPER command line argument that writes plugin scanning logs to a file." |
I think you can run REAPER with -h to see its command line options. At least on Windows it outputs something related to logging. Can't try these days, I'm AFK. |
ok, so this is what I get form that command line tool, but I don't find anything mentioning the failed plugins. REAPER 6.42/linux-x86_64 log file writing begin (build Nov 16 2021 19:26:45; current time Thu 16 Dec 2021 10:37:40 AM -05) It seems it only creates logs for some specific in house plugins at startup and the ones loaded in the file. I tried copying realearn to /opt/ folder with the native plugins from reaper to see if it generated any logs but no luck. |
There should be a line mentioning ReaLearn in the vstplugins64.ini file in the REAPER resource dir (or similar name). You can delete it and REAPER will rescan. |
@JRSV Any new insights on this one? |
sorry for the delay, just had time now. this is what I have (I marked it in bold, realearn is there): [vstcache] |
If you delete that line and restart REAPER with log file writing on, REAPER should rescan and maybe it will print some reason why ReaLearn couldn't be loaded. Or maybe not, it's unfortunately hard to troubleshoot. |
that is what I did. :( |
I'll leave that ticket as a marker to do two things:
I can't give this too much priority now because other things are in the pipeline already. Let's see. |
Thanks @helgoboss |
Ok, I tested latest REAPER + latest ReaLearn on a Debian VM and it works. Mmh. I don't know what to do about this one. |
@JRSV Justin recommends to check if ReaLearn appears in prefs/vst as a failed plug-in when clicking the rescan button? I think we already made sure that it does. So, if it appears there, do this:
|
hello @helgoboss did this but terminal did not print anything new when I select it from the failed plug-in.
|
Oh no. You don't happen to have this system as a kind of VM, do you? Probably not. Alternative: Are you a bit familiar with programming? You could actually build ReaLearn yourself (that part is pretty easy) and use debugging to find out what's wrong (that part is a bit less easy but I could help you with it). |
No, not a VM I am a bit familiar with programming, so that is also an option, but lets go through that bridge when it really comes to it. cheers |
Hey @JRSV, still having this issue? I know something that you can try to at least get a small clue what the error could be. I suspect that REAPER can't load ReaLearn in your case because a dependency is missing on your particular Linux installation (a shared library or just a symbol in a shared library). For some reason, REAPER doesn't report details about such errors, it just seems to swallow them (at least on macOS I just made this experience). However, we can try to load the ReaLearn SO file outside of REAPER and see what's the problem. So if you still get this error, please do the following:
|
Dear @helgoboss I now finally have updated my OS (just last week). and the plugin loads now in reaper, I havent had a chance to test it, but this looks much more promising than before. I will close this issue, and let you know if it works when I can properly test it. |
Thanks @JRSV. I asked another user in the REAPER forums who had the same issue and he already tried this on his system (https://forum.cockos.com/showpost.php?p=2615278&postcount=13). Now the cause is clear. I'll reopen this and see if we can do something about it or not. |
This is the cause, at least on the system of akademie:
|
yes, I think that: might indeed be the cause, Debian 10 had this outdated, Debian 11 has it updated, so I would also think that is the issue |
Some things to look into (not enough knowledge about glibc stuff at the moment):
|
Hey, thank you, this helped, it's working now ! libxdo.so.3: cannot open shared object file: No such file or directory After googling this, I installed the missing library on my Ubuntu Studio with this command that I found online : sudo apt-get install -y libxdo-dev I restarted my shell, and the test program had no more errors. And the plugin scanned correctly in Reaper ! Thank you very much, hope this helps. |
Oh right, libxdo-dev! I remember someone mentioned this in the past. I need to document that somehow. Will do it. I don't think this will fix the glibc error mentioned in this ticket, so it's more related to your other ticket, #797. |
Note to self: Try linking libc statically and check negative side effects. |
because it causes build errors that I don't want to fix now
hello @helgoboss , today for some strange reason I couldn't load realearn in the middle of a seminar which I wanted to showcase it... such a shame... anyway it is strange because after updating my OS to debian 11 as in this response the problem stopped. So I compiled and ran the ./test program with the prompt returning: I also checked my version and it is ldd --version so I don't know why was I able to find it when I update the OS, I suspect that it maybe has to do to updates compiled against your version of glibc? How is that container idea going? would realearn work if I compile it against my system? |
Hi. I feel you, this is becoming a problem. I just read this: https://kobzol.github.io/rust/ci/2021/05/07/building-rust-binaries-in-ci-that-work-with-older-glibc.html So compiling it on your system should indeed make it work. But of course I should fix this on my side, probably by compiling it within a container. Will look into it. |
…f 22.04 so the resulting builds don't require the latest libc and libxdo versions
Let's continue discussing the latest Linux scan issues here: #829 |
Hello,
I have downloaded realearn and installed it in all ways I can possibly think of (manually and via reapack). ReaPack installs and says to reboot reaper, but reaper fails to load the plug in every single try. I have also cleared the cache and rescanned for plugins.
how can I troubleshoot what is going wrong?
I am running it on latest reaper (6.42) in an AVL-MX machine (debian 10)
and I am trying to install realearn 2.10.4.
any advice?
The text was updated successfully, but these errors were encountered: