BUG: Per Fr. Devin - Personal Book bug recompiling
Fr. Devin suggested I open a thread and report this bug, it has been around for years and I have seen others report it.
This time, I video'd it. It manifests in several ways, but the easiest to duplicate is to:
1. Open a Personal Book - build it. It builds successfully.
2. Close the book, but leave the Personal Book open (or close and reopen - it does not matter).
3. Build the same resource again - it fails, "Could not remove existing resource. Please close all open panels and try again".
Except there are no open panels. Even if I close and reopen the Personal Book panel (which I did not do in the video), it still errors out the same way.
I did this twice in the video, two different books. This is a link to my Dropbox to download the video in MP4 format, as it is about 90 seconds long but 45MB in size. If I should send the video somewhere else, please let me know.
I hope this can be fixed!
https://www.dropbox.com/s/97x8su6v3ed5hgt/PB%20Cant%20Recompile.mp4?dl=0
Comments
-
I hope we get some response on this - it has been around for years. In just a cursory check I found this bug in some form reported all these times:
https://community.logos.com/forums/p/195700/1131770.aspx
https://community.logos.com/forums/p/196751/1139555.aspx
https://community.logos.com/forums/p/182731/1057129.aspx
https://community.logos.com/forums/p/179645/1038326.aspx
https://community.logos.com/forums/t/179632.aspx
https://community.logos.com/forums/t/180445.aspx
Can we hear something from FL on fixing this? Anyone?
0 -
Here is a sample of the error log it links to when it errors out. I made especially sure that indexing was finished, and I even closed and reopened the Personal Book pane. No other panel or program was open as far as I could se.
[Info] Starting build for PBB:1aaca19515d4410e803af5c323581a05
[Error] Error while building book: Could not remove existing resource. Please close all other open panels and try again.
[Error] Exception: LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookBuilderException: Could not remove existing resource. Please close all other open panels and try again.
at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookConverter+<CreatePersonalBookWork>d__2.MoveNext () [0x00250] in /Volumes/Code/Jenkins/workspace/Logos-Desktop-Mac-Beta-Ship/LogosDesktop/src/LDLS4/Panels/PersonalBookBuilderPanel/PersonalBookConverter.cs:114
at Libronix.Utility.Threading.AsyncWorkerTask`1[T].EnumMoveNext () [0x0001a] in B:\Jenkins\workspace\Utility\src\Libronix.Utility\Threading\AsyncWorkerTask.cs:124
at Libronix.Utility.Threading.AsyncWorkerTask`1[T].EnumMoveNextWithCatch () [0x00002] in B:\Jenkins\workspace\Utility\src\Libronix.Utility\Threading\AsyncWorkerTask.cs:145
--- End of stack trace from previous location where exception was thrown ---at Libronix.Utility.Threading.AsyncWorkItem.Verify () [0x0000b] in B:\Jenkins\workspace\Utility\src\Libronix.Utility\Threading\AsyncWorkItem.cs:80
at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookViewModel+<CreatePersonalBookWork>d__137.MoveNext () [0x0011e] in /Volumes/Code/Jenkins/workspace/Logos-Desktop-Mac-Beta-Ship/LogosDesktop/src/LDLS4/Panels/PersonalBookBuilderPanel/PersonalBookViewModel.cs:7270 -
Pater Noster said:
Have seen this. Closed Logos and reopened and a new build runs ok. Just closing the resource should be enough.
Thanks for exposing this bug.
[[for the developer working on this: ask why Logos thinks that the resource did not close - don't know if that helps but that is where I would start looking]]
[[or maybe it is a timing problem as in if we had waited 3 minutes [random number] before rebuilding it would have worked (that is the system takes time to close a PBB resource - maybe)]]
0 -
David Ames said:
Have seen this. Closed Logos and reopened and a new build runs ok. Just closing the resource should be enough.
In reality it's not that the resource is open, it is that the resource is considered "in use" by Logos. Open resources are no issue: Logos will automatically close them when you recompile the PB. Most often, the "in use" will be because the indexer is still running (which takes most of its time in merging the new index into the existing one, which does not access the resource, so it should be freed up early). It seems, though, hat Logos doesn't always release the resource, or possibly tags it as "in use" by a search or a layout or whatever.
Have joy in the Lord!
0 -
No, I definitely wait until indexing is done, I even waited an extra minute or so to try. Something is locked and not unlocked when it should be. Having a past as a developer, this should be super easy to find as the request for a resource/memory/queue etc. is denied and an exception is thrown (as you can see in the log).
The only thing that fixes it is exiting Verbum/Logos and restarting, which is a super pain if you are doing work on a PB.
0 -
Is there any comment or reply on this? IT's such a long-standing bug of great aggravation!
0 -
Thanks for the report. I'll check with the team to see if we can fix this one soon.
0 -
Phil Gons (Faithlife) said:
Thanks for the report. I'll check with the team to see if we can fix this one soon.
Thank you Phil!
0