[resolved] 6.0a: BUG: PBB error when rebuilding

This bug is reproducible:
- Build a Personal Book.
- When it is finished, leave it open in Logos and go back to the Word source document to change one last thing.
- Save the file (but keep it open in Word).
- Then come back to Logos and in the PB Tool, click Finish, then Edit on that book
- Tthen change the title of the book in the PB Tool. (I leave "(IN PROCESS)" at the end of any PB's that I'm still working on to remind me that I'm not finished with them, so this was the last thing I had to do: remove "(IN PROCESS)" from the end of the title.)
- Then finally click Build book.
Result: Build fails.
Logos log: 7041.Logos.log
PBB log: 5807.PBB_df7e00e2eacd442184f8f7851c2370e7_2014-11-29T00_39_15Z.log
Comments
-
I see that it doesn't require renaming the book to reproduce this. It happened again just by making an edit in the Word document and rebuilding the book.
Logos log: 1731.Logos.log
PBB log: 6014.PBB_df7e00e2eacd442184f8f7851c2370e7_2014-11-29T01_22_53Z.log
0 -
Bump. Bumpity bump.
0 -
I commented about this during the 6 beta.
I remembered it being in version 5 and thought I remembered that it had been cured (I still feel that it was) but I was advised by some else that it had always been there in 5.
I find it MOST annoying - but not the end of the world! That does not mean that I would not like it cured.
0 -
I can't reproduce this.
I wonder if it has something to do with the content of the personal book (headwords, milestones, links, etc.)? Are you able to share the source document? (Send us a private link if necessary.)
0 -
Remind me of the email address to send the docx. Is it bugs@logos.com?
0 -
Rosie Perera said:
Remind me of the email address to send the docx. Is it bugs@logos.com?
logosbugs@logos.com [:)]
0 -
Thanks. OK, I've sent the file, but I've found that the error occurs no matter what PBB I'm trying to rebuild, so there must be some other reason on my system that it's failing every time. It's not specific to the .docx file. This didn't used to happen, so I'm not sure what's up. It's exceedingly annoying.
0 -
By the way, it would be really nice if, after you close and restart Logos after having a bunch of PBB build errors, you get some sort of visual indication in the PB Tool as to which ones failed to build correctly, so that you can now retry them after the restart. I happen to have taken a screen shot of all the failure notices before I restarted Logos this last time:
So I know which ones I have to rebuild. But most of the time people don't think to take screenshots, and they shouldn't have to.
When I restart Logos, my PB Tool window makes it looks as though everything is hunky-dory, which it's not. (Well, in this case it happens to be OK: these errors were immaterial since I had successfully build those particular books before; but if I were working on several new PB's and had real compilation errors in all of them, I would not know which books I had to rebuild after a restart.)
0 -
Without trying to hijack the thread, I believe I have exposed the same bug as Rosie. Here are my logs and a screenshot.
6082.PBB_733f2f61d60c4cc5afb33703bedcb7c4_2014-12-05T07_17_30Z.log
0 -
I'm not sure that is the same error I'm getting. The error in your PBB log is: "Error while building book: Error compiling resource." Whereas mine is "Error while building book: Could not remove existing resource. Please close all other open panels and try again." When I close Logos and restart, my personal books compile fine. But I get this error every time I try to build them twice in a row in once session, after resaving the .docx file.
So I think yours has a genuine compile error. Have you ever been able to successfully build that one?
You probably should take this off to a new thread, since I think it's unrelated to the bug I reported. Hopefully someone can help you troubleshoot what is causing the compile error.
0 -
Thank you Rosie. I have created a new thread here: https://community.logos.com/forums/p/97489/672107.aspx#672107
0 -
I can't reproduce this.
I wonder if it has something to do with the content of the personal book (headwords, milestones, links, etc.)? Are you able to share the source document? (Send us a private link if necessary.)
This still happening to me in 6.0b Beta 3, every time I try to rebuild a PB twice in the same Logos session. Doesn't matter what PB I try to do it with.
Did log files help? Isn't there a more in depth kind of logging you can have me enable? Would that help? I'm willing to have someone connect to my computer to step through this and see it happening in real time if that would help. It's really annoying.
0 -
Rosie, I have exactly the same log file as you do so I assume that my problems are probably the same.
Tonight I have used one of my existing PBs, one made just now specifically for testing consisting of only a full stop (!!) then adding spaces to 'dirty' it and finally a docx file from elsewhere. ALL constantly failed to compile. My conclusion is that the problem is probably in my Logos setup and not in the file itself.
I have just had a thought and compiled a document of my wife's on her computer and her Logos setup (which is a separate Logos account to me). Just adding a space to dirty it resulted in a failure in the usual way. The only thing that seems to be in common to both setups is that I prepared both MS Home & Office 2010 setups. VERY puzzling. I have no idea what is happening.
0 -
I'm having the same problem. I can't make a change and then recompile in the same session. I have to exit Logos, go back in, open the PBB book builder again, recompile and then it's fine. I've gone through this process 4 or 5 times tonight and it works the same way every time. So I came here to ask whether it was a bug or just how recompiling works? And either way, can we Please, Please, Please get it fixed? With sugar on top? It's a minor annoyance until you're visually checking your PB and have to make a change here and a change there (here a change, there a change, everywhere a change change....)
Author of the Chronological Word Truth Life Bible Series
WordTruthLifeBible.com
0 -
To anyone doing a lot of PBBs it is a BUG with a capital B, a Capital U and a Capital G even if we were told that it is a design feature!!! What puzzles me is what it could possibly be when the Logos guys apparently cannot reproduce it. That is one reason why it is good to get more people complaining about it.
0 -
Rosie Perera said:
This still happening to me in 6.0b Beta 3, every time I try to rebuild a PB twice in the same Logos session. Doesn't matter what PB I try to do it with.
Don't know why Bradley cannot reproduce this because it has been a long-standing problem. That is, long-standing unless it was once fixed and then suffered a recent regression.
0 -
Jack Caviness said:
it has been a long-standing problem
It has indeed. Though personally I've never noticed any connection with rebuilding the same book twice. It seems to happen every 2-3-4-5-6 builds regardless of what I build. I'll try to be more observant next time I do a PB building session.
Rosie Perera said:"Error while building book: Could not remove existing resource. Please close all other open panels and try again."
This message should be rephrased. Closing panels has never helped me. What it takes is a restart.
Rosie Perera said:By the way, it would be really nice if, after you close and restart Logos after having a bunch of PBB build errors, you get some sort of visual indication in the PB Tool as to which ones failed to build correctly, so that you can now retry them after the restart.
[Y]
Mac Pro (late 2013) OS 12.6.2
0 -
Exactly so.fgh said:Closing panels has never helped me. What it takes is a restart
It is my recollection that this is the situation although others have suggested that it has existed for months before Logos 6 was produced.Jack Caviness said:That is, long-standing unless it was once fixed and then suffered a recent regression.
0 -
JohnB said:
It is my recollection that this is the situation although others have suggested that it has existed for months before Logos 6 was produced.
Yes, this is a pre-L6 bug that apparently has never been addressed.
0 -
Bump!
A number of other people are running up against this bug and it's become quite annoying. Any word on attempts to reproduce it given the info I've provided?
https://community.logos.com/forums/t/98408.aspx
It appears to be an old bug around from L5 days:
https://community.logos.com/forums/t/72548.aspx
And a possibly related one, but may be a different bug (also still not fixed):
0 -
Rosie Perera said:
A number of other people are running up against this bug and it's become quite annoying. Any word on attempts to reproduce it given the info I've provided?
Follow-up to thread => https://community.logos.com/forums/p/98262/679755.aspx#679755 was initial creation completed successfully followed by closing PBB resource, changing docx trying to remove some warnings, and trying to build, which received an error.
Run Close All (and waited for sync to complete), then opened Personal Book tool for another build:
The LogosError.log file shows several sync errors with servers:
7801.PBB-Build-Fail-LogosError.zip
Only way to clear sync lock of PBB so can rebuild is restart Logos; seems PBB sync failure lacks graceful handling [:'(]
Keep Smiling [:)]
0 -
Bradley, have you seen that KS4J has suggested the cause of this problem: a sync lock on the PBB resource which cannot be released until Logos is restarted. Workaround is compiling PBBs while offline. But that's irritating to have to do. Wish this issue could be fixed in Logos:
https://community.logos.com/forums/p/98408/679783.aspx#679783
0 -
Rosie Perera said:
Workaround is compiling PBBs while offline.
Workaround does not work. When offline in 6.0b Beta 3, synchronization queue still raises error (even though all resources have been closed):
2014-12-28 16:17:45.0415 1 Info AppCommand (Timed) Executing command: Close|Kind=AllPanels
2014-12-28 16:17:45.0695 1 Info AppCommand (27ms) Executing command: Close|Kind=AllPanels
2014-12-28 16:17:46.6026 1 Info ElementUtility Couldn't find default focus; focus set to first focusable item.
2014-12-28 16:17:47.8597 1 Info AppCommand (Timed) Executing command: PersonalBooks
2014-12-28 16:17:47.8617 1 Info PanelViewModel Applying panel settings for Preferences:
2014-12-28 16:17:47.8627 1 Info PanelViewModel Got panel settings for History:
2014-12-28 16:17:47.9177 1 Info AppCommand (57ms) Executing command: PersonalBooks
2014-12-28 16:17:48.1597 1 Info ElementUtility Couldn't find default focus; focus set to first focusable item.
2014-12-28 16:17:51.9479 1 Info ElementUtility Couldn't find default focus; focus set to first focusable item.
2014-12-28 16:17:53.8650 1 Info PersonalBookViewModel (Timed) Compiling Personal Book
2014-12-28 16:17:53.9320 1 Info ElementUtility Couldn't find default focus; focus set to first focusable item.
2014-12-28 16:17:55.7351 5 Warn AsyncWorkItem Async work threw 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__c.MoveNext()
at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNext()Keep Smiling [:)]
0 -
Rosie Perera said:
Bradley, have you seen that KS4J has suggested the cause of this problem: a sync lock on the PBB resource which cannot be released until Logos is restarted.
I have seen that post, but I have no idea what "sync lock on the PBB resource" means. (Sync doesn't "lock" PBB resources.) And now it looks like KS4J is saying that the workaround doesn't actually work. (Which doesn't surprise me, because I don't believe the problem has been diagnosed accurately.)
0 -
Rosie Perera said:
OK, I've sent the file, but I've found that the error occurs no matter what PBB I'm trying to rebuild, so there must be some other reason on my system that it's failing every time.
Can you reproduce the problem if you open Logos 6 to a blank layout, and only open the Personal Books Tool panel?
0 -
Rosie Perera said:
OK, I've sent the file, but I've found that the error occurs no matter what PBB I'm trying to rebuild, so there must be some other reason on my system that it's failing every time.
Can you reproduce the problem if you open Logos 6 to a blank layout, and only open the Personal Books Tool panel?
I will try it when I get home. I'm still with family back East for the holidays, returning to Vancouver tonight. No time to play with it right now on my laptop, as I have to get ready to get to the airport.
0 -
Can you reproduce the problem if you open Logos 6 to a blank layout, and only open the Personal Books Tool panel?
I'm not Rosie, but I can confirm that the build failure still occurs under this scenario. L6.0b Beta 4 Mac OS 10.10.1
0 -
I've done a little more digging and stumbled across something that may be related to this problem. (It's WPF-related and only seems to be triggered when there are no other resources open, so trying this workaround is unlikely to help Mac and is unlikely to be causing the problem shown in your second screenshot, which showed multiple resource panels. There's probably more going on here; as mentioned, I can't reproduce this anywhere near as easily as you can.)
When you get the "Could not remove existing resource" error, trying opening a new resource from the Library (that's not already open). Then click Finished then Build Book again; does that avoid the error?
0 -
When you get the "Could not remove existing resource" error, trying opening a new resource from the Library (that's not already open). Then click Finished then Build Book again; does that avoid the error?
Afraid not. Now, it says, "Build failed with 2 errors, 0 warnings"
Here are the last two PBB logs. Hope they tell you something worthwhile.
0 -
Jack Caviness said:
Afraid not.
It was a workaround for Windows:
this workaround is unlikely to help Mac
0 -
this workaround is unlikely to help Mac
You said unlikely; I just confirmed that it would not work [:D]
Really cannot understand why you cannot reproduce it as it has been a bug since at least L5 for me—and others.
0 -
I can confirm that none of the suggested fixes work for me, running on a Mac. Sorry, I posted details in the original thread, thinking this was a PBB Sync discussion, with which I have no familiarity.
Can only do one Personal Books compile without a Logos restart
0 -
When you get the "Could not remove existing resource" error, trying opening a new resource from the Library (that's not already open). Then click Finished then Build Book again; does that avoid the error?
Yes, for me that does seem to allow me to build the book again without errors. Just that one time, though. If I tried to build it yet again right away, it fails. But if I open another new resource, then I can go back and build that PB successfully. Weird.
So at least you've found a workaround for Windows, and hopefully this might give you a clue as to how to fix it so we don't have to do the workaround. But I see from the others that it doesn't fix it for Mac.
0 -
0
-
More information from a Mac user.
After the first PB compile, I cannot recompile that, or any other PB in my library. However, I can add a new PB and compile it successfully. I just did about four new PBs in a row. This is true even if there is an unsuccessful recompile of an existing PB in the sequence. (I tried that just to eliminate a variable.)
0 -
Rosie Perera said:
When you get the "Could not remove existing resource" error, trying opening a new resource from the Library (that's not already open). Then click Finished then Build Book again; does that avoid the error?
Yes, for me that does seem to allow me to build the book again without errors. Just that one time, though. If I tried to build it yet again right away, it fails. But if I open another new resource, then I can go back and build that PB successfully. Weird.
So at least you've found a workaround for Windows, and hopefully this might give you a clue as to how to fix it so we don't have to do the workaround. But I see from the others that it doesn't fix it for Mac.
Rosie, I mentioned in the bug aggregate thread that I was able to reproduce the issue with your provided document. We have active cases for a few different issues pertaining to recompiling personal books, and there are developers actively looking into it. I don't know how far they are from completely fixing the issue, but I will say that progress was made as recently as Monday.
Just wanted to reply here as well.
0 -
Dylan Rondeau said:
Rosie, I mentioned in the bug aggregate thread that I was able to reproduce the issue with your provided document. We have active cases for a few different issues pertaining to recompiling personal books, and there are developers actively looking into it. I don't know how far they are from completely fixing the issue, but I will say that progress was made as recently as Monday.
Great. Thanks! It will be good to finally get this taken care of. I'm not sure why it's been so hard to reproduce, but glad my document helped.
0 -
Rosie Perera said:Dylan Rondeau said:
Rosie, I mentioned in the bug aggregate thread that I was able to reproduce the issue with your provided document. We have active cases for a few different issues pertaining to recompiling personal books, and there are developers actively looking into it. I don't know how far they are from completely fixing the issue, but I will say that progress was made as recently as Monday.
Great. Thanks! It will be good to finally get this taken care of. I'm not sure why it's been so hard to reproduce, but glad my document helped.
This should be fixed in 6.1 Beta 1. [:D]
0 -
0
-
0
-
Rosie Perera said:
Bummer! This is broken again in 6.2 Beta 2:
PBB Log file:
7446.PBB_61d6de97b89a407e838a7dc386135f13_2015-03-13T10_41_29Z.log
Logos Log file (note that I uploaded this before quitting Logos so it's not a complete session; and there's a ton of other stuff in there above the key point where the error occurred; I rebuilt one more time after the error and it succeeded that time):
0 -
Hi Rosie,
I'm sorry you had trouble rebuilding your personal book. I'm even more sorry that I haven't been able to reproduce the error on my machine. In my experience, this bug is usually caused when some other part of the application has the personal book open in some way and does not "play nice" and release it when asked. Between when you built the book the first time, and rebuilt it the time it failed, did you do any work with it within Logos? Did you have any other panels, menus or searches open or active at that time?
I'm struck that you were able to rebuild it successfully after the initial failure. That might mean that whatever was holding on to the book did release it, just a little too slowly for the personal book builder. I'd love to hunt this one down for you! If it's not too much trouble for you to talk me through the steps needed to trigger it again and send me a full screenshot of the app, not just the small portion above, that would be tremendously helpful.
Thank you very much!
Matthew
0 -
Rosie Perera said:
I rebuilt one more time after the error and it succeeded that time
That's a great improvement. In "former times" the error always needed a restart of Logos.
Have joy in the Lord!
0 -
Hi Matthew,
Here's a full screenshot, though it might not be exactly what my layout looked like when this problem came up last night, however it's pretty close, since I haven't been using Logos at all today.
Alas, I don't have time to see if I can reproduce this now. But what I had done at the time was have Word open with the .docx file. I made a change in the .docx file and then switched back to Logos and rebuilt the book. Then I switched back to Word and made another change in the .docx file and then switched back to Logos and rebuilt the book again. The second rebuild caused the failure. I don't recall doing anything else in Logos other than looking at the PB to see if the change I'd done made any difference. I might have opened the PBB log file (in Notepad) to look at the warnings, and I might have left it open. But leaving it open other times has not seemed to cause this bug to appear so I doubt that was the culprit.
0 -
NB.Mick said:Rosie Perera said:
I rebuilt one more time after the error and it succeeded that time
That's a great improvement. In "former times" the error always needed a restart of Logos.
Still requires a restart in the Mac version [:'(]
0 -
I can reproduce this every time, in the following way:
Download the files for the Biblical Illustrator series that has been posted in the Files forum, and build them as Personal Books.
Once they are all built, what I did this morning on Verbum 6.2 beta 2 was just start going down the list, click Edit then Build, you will get, depending on the speed of your computer, about 10-12 or so queued up to build, and all will be well. A soon as the first one completes, and displays, then the error wil result, and it will continue with every PB you attempt to build. You have to close the panels (on Windows) to get the error one(s) to build.
0 -
0
-
Rosie, Jack
Is this (perennial) finally fixed?
Dave
===Windows 11 & Android 13
0 -
Dave Hooton said:
Rosie, Jack
Is this (perennial) finally fixed?
Successfully rebuilt a PB twice—once while it was closed and even while it was open. Guess we can call it fixed.
BTW: Dave, thanks for calling these old bug reports to our attention.
0 -
Dave Hooton said:
Rosie, Jack
Is this (perennial) finally fixed?
Yes, it appears to be fixed on my one simple trial just now. I haven't been building PBBs lately, though, so if there's an intermittent problem still there I wouldn't likely encounter it for a while.
0