reaper-oss / sws

The SWS extension is a collection of features that seamlessly integrate into REAPER, the Digital Audio Workstation (DAW) software by Cockos, Inc
https://www.sws-extension.org/
MIT License
455 stars 85 forks source link

Track notes mysteriously disappear (unrecoverable) when dealing with multiple projects. #1141

Closed raghav-venkatesan closed 4 years ago

raghav-venkatesan commented 5 years ago

It happens when two projects are open at the same time, we open the track notes (Extensions -> Notes -> Track Notes from the drop down list) on one project, write some content in there and, switch to the next project, and switch back to the first project. Sometimes, the track notes completely become blank -- I have experienced this issue for more than a week now, and I'm not certain as to what point the notes disappear. But when they do, they may or may appear after restart.

Usually, I've observed that this issue appears when I work simultaneously on two projects for more than 20 mins or so -- which has made it difficult for me to do a screen capture and provide steps of reproducing this bug. However, I tried to do some debugging myself, and tried to look at the .rpp-bak files of my project to see if I can find some evidence. And thankfully, I was able to find one.

I'm attaching a screen capture of investigating two .rpp-bak files spaced 10 min apart. Note how the SWS track extension notes (right at the bottom) have completely disappeared in the second one (I can confirm I did not delete them, as these were my painfully taken notes over several days). I believe this is a critical bug and needs to be fixed pretty quickly.

Thanks! SWS_Notes_Issue

nofishonfriday commented 5 years ago

Hi, trying to reproduce this but didn't succeed so far.

But looking at your screen captures it seems that in the second .rpp-bak file (where the track notes disappeared) an additional <Extensions entry "EuconArtist" is present which I can't see in the first .rpp-bak file. If so, do you think it could be in any way related to this extension plugin? Where to get this plugin for testing btw.?

(Just a shot in the dark but we need to start somewhere :))

raghav-venkatesan commented 5 years ago

Hi nofish,

Thanks for looking into this issue!

I am not really sure if the disappearance is related to that extension. It was not a plugin that was in my chain. However, "EuCon" reminds me of an extension that I have in my system, which was essential for me to control REAPER from the PT | Control app on my iPad. I downloaded the extension from here -> https://stash.reaper.fm/tag/Extension-Plug-ins (more about EuCon here -> https://forum.cockos.com/showthread.php?t=122509)

Hope that helps!

On Sun, May 5, 2019 at 10:06 AM nofish notifications@github.com wrote:

Hi, trying to reproduce this but didn't succeed so far.

But looking at your screen captures it seems that in the second .rpp-bak file (where the track notes disappeared) an additional <Extensions entry "EuconArtist" is present which I can't see in the first .rpp-bak file. If so, do you think it could be in any way related to this extension plugin? Where to get this plugin for testing btw.?

(Just a shot in the dark but we need to start somewhere :))

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reaper-oss/sws/issues/1141#issuecomment-489429709, or mute the thread https://github.com/notifications/unsubscribe-auth/AFZLTCU6DUD2QBZWTXFVUTDPT3SVBANCNFSM4HI4ENDQ .

-- Raghav Venkatesan Contract Mobile Developer HaVenSoft Inc. +1 647 687 8483

nofishonfriday commented 5 years ago

So this one I assume? https://stash.reaper.fm/v/18477/EuCon%20Beta.zip

Unfortunately it crashes Reaper instantly here when trying to add it as a control surface (as also mentioned in the comment on the download page.). So no testing possible. :/

Are you still actively using it?

edit: Also, which OS / Reaper version / SWS version are you on?

raghav-venkatesan commented 5 years ago

Reaper EuCon.zip https://drive.google.com/file/d/1YNiL-R025MoRippSXNjNQV6f8AZIkwXW/view?usp=drive_web

Hi nofish,

I'm using this EuCon extension, and it works without any problem in my system. You could perhaps give this one a try and see if it works.

Thanks, Raghav

On Tue, May 7, 2019 at 11:48 AM nofish notifications@github.com wrote:

So this one I assume? https://stash.reaper.fm/v/18477/EuCon%20Beta.zip

Unfortunately it crashes instantly here when trying to select it as a control surface (as also mentioned in the comment on the download page.). So no testing possible. :/

Are you still actively using it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reaper-oss/sws/issues/1141#issuecomment-490137261, or mute the thread https://github.com/notifications/unsubscribe-auth/AFZLTCWWKWAGFXSQURIONT3PUGQE7ANCNFSM4HI4ENDQ .

-- Raghav Venkatesan Contract Mobile Developer HaVenSoft Inc. +1 647 687 8483

nofishonfriday commented 5 years ago

This one works, thanks. I now have it enabled in Reaper and see if the track notes disappearing will happen here also. Will be a bit hit and miss though as I don't have any compatible controller and we have no 100% steps to reproduce, but let's see.

Also, if you come across any further findings please post here.

raghav-venkatesan commented 5 years ago

Sure, will do. Hope you're able to see the issue.

Thank you very much!

On Mon, May 13, 2019 at 7:22 AM nofish notifications@github.com wrote:

This one works, thanks. I now have it enabled in Reaper and see if the track notes disappearing will happen here also. Will be a bit hit and miss though as I don't have any compatible controller and we have no 100% steps to reproduce, but let's see.

Also, if you come across any further findings please post here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reaper-oss/sws/issues/1141?email_source=notifications&email_token=AFZLTCSD2UQOPXNHFCSXKDTPVFFPJA5CNFSM4HI4END2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIAE6A#issuecomment-491782776, or mute the thread https://github.com/notifications/unsubscribe-auth/AFZLTCVEZZQ2GLCAEYCBEA3PVFFPJANCNFSM4HI4ENDQ .

-- Raghav Venkatesan Contract Mobile Developer HaVenSoft Inc. +1 647 687 8483

Karj8213 commented 5 years ago

I've been encountering this (or something like it) for the past few weeks since switching to Reaper. Any news on this, and/or anything I could submit from my setup that might help debug this?

Thanks

cfillion commented 4 years ago

I found the root cause. Sometimes SWS is asked by REAPER to export the notes data for another project tab (that isn't the current one). When that happens, SWS fails to match the note's stored track GUID to a valid track in the current project tab. The track notes are destroyed because it thinks the track was deleted.

Fixing!