[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