Can only do one Personal Books compile without a Logos restart

Andy Arkusinski
Andy Arkusinski Member Posts: 19 ✭✭
edited November 2024 in English Forum

When compiling a personal book, I use an iterative process of compiling, scanning the result for errors, recompiling, and repeat until it is to my satisfaction.  (Sometimes it takes several passes to get the syntax correct.)  This used to work, but some Logos 5 update broke the capability, and this has carried over into Logos 6.  I cannot compile more than once, without having to restart Logos.  The only panel open is Personal Books, but I get the following error:

[Info] Starting build for PBB:6bcea02119a04dbfaf706fe30ea49ac4
[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>c__Iterator1.MoveNext () [0x006c5] in /Volumes/Code/Jenkins/workspace/Logos-Desktop-Mac-Stable/DigitalLibrary/src/LDLS4/Panels/PersonalBookBuilderPanel/PersonalBookConverter.cs:189
at Libronix.Utility.Threading.AsyncWorkerTask`1[Libronix.Utility.VoidType].EnumMoveNext () [0x0001a] in /Volumes/Code/Jenkins/workspace/Logos-Desktop-Mac-Stable/Utility/src/Libronix.Utility/Threading/AsyncWorkerTask.cs:124

Appreciate any hints how to fix this issue, as repeatedly restarting Logos puts a crimp in my workflow.

Comments

  • DMB
    DMB Member Posts: 14,378 ✭✭✭✭

    Yes, I had that issue yesterday with my new L6.  I didn't know L5-recent was similar.

    Like you, I have a series of PB's I update from my other Bible software.  I used to be able to just re-build and then maybe re-build again if I forgot something.  

    Yesterday, I had to delete the PB spec for it to allow me to build.  I didn't know a re-start would have saved me re-spec'ing the PB.  Unfortunately, I ended up with 2 PBs with the exact same name, etc. in my library.  Sigh.  I couldn't tell which one was more recent, so I just closed my eyes and hid one of them.

    "If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Yes, this is a bug that has been reported several times, but as far as I am aware, they have not been able to reproduce it in-house at Faithlife, so they have not been able to work on a fix for it yet. I've offered to let them connect remotely to my computer to try to troubleshoot it, but they have not taken me up on the offer. I'm finding this bug very annoying.

    https://community.logos.com/forums/t/96952.aspx 

  • Appreciate any hints how to fix this issue, as repeatedly restarting Logos puts a crimp in my workflow.

    Work offline should avoid sync lock of PBB resource that prevents rebuilding.

    Keep Smiling [:)]

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Good to know there's a workaround and that the source of this issue has been figured out. Now wishing Logos would fix it. Incredulous that they were unable to reproduce it internally. Hopefully now that KS4J has suggested sync lock is the cause of the problem this will help them come up with a solution.

  • DMB
    DMB Member Posts: 14,378 ✭✭✭✭

    Oh my.  Thanks KSFJ!  Yesterday I was online (which is very unusual).

    "If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.

  • " rel="nofollow">Keep Smiling 4 Jesus :) said:

    Appreciate any hints how to fix this issue, as repeatedly restarting Logos puts a crimp in my workflow.

    Work offline should avoid sync lock of PBB resource that prevents rebuilding.

    Living and learning that Logos 6.0b Beta 3 synchronization queue still raises error even though all resources have been closed.  Hence restart is the only way to release PBB resource lock to allow rebuild.[:S]

    Keep Smiling [:)]

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 12,123

    Rosie Perera said:Incredulous that they were unable to reproduce it internally. Hopefully now that KS4J has suggested sync lock is the cause of the problem this will help them come up with a solution.

    We still can't reproduce it internally, and I have no idea what "sync lock of PBB resource" means, sorry. Can someone describe what this is and/or provide reliable steps to reproduce?

    (I almost never work offline for testing, so if simply working online were the problem, I would be able to reproduce it.)

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 12,123

    " rel="nofollow">Keep Smiling 4 Jesus :) said:

    Living and learning that Logos 6.0b Beta 3 synchronization queue still raises error even though all resources have been closed.

    Moving discussion of "PBB sync lock" here: https://community.logos.com/forums/p/96952/680087.aspx#680087 

  • Andy Arkusinski
    Andy Arkusinski Member Posts: 19 ✭✭

    Thanks for the hint, but unfortunately it does not work for me.  Here's what I tried:

    1. To verify the problem still exists, I followed my normal process.  This 100% reproduces the problem.
    • Start Logos 6
    • Tools > Personal Books
    • Select a PB > Edit > Build book
    • PB compiles and opens in a panel > Finished
    • Close PB panel
    • Edit > Build book
    • Error
  • I always work online, so the next step was to figure out how to work offline.
    • Logos > Preferences > Program Settings > Internet > Use Internet: No
    • Edit > Build book > Error
  • Next thought is that maybe Logos needs to restart for the new settings to take effect.
    • Restart Logos 6
    • Repeat Step 1 above with same results.
  • OK, maybe the Preferences are doing something other than expected, and there is still some online activity in the background.
    • Turn off WiFi.  No doubt that I am now offline.
    • Edit > Build book > Error
    • Restart Logos 6 and repeat Step 1, with the same results.

    At least in my installation, the problem is not related to being online.  I also don't know what "sync lock of PBB resource" is, but I am running Logos on only one computer so there is no sync to be done.  ( OK, I have Logos on iPad and iPhone, but PB don't sync to mobile devices. [:(]  )  Also, I am running a stable Logos 6, no Beta.

    I posted the log file in my original post.  I'm happy to supply any additional information to help resolve this annoying issue.  Just let me know what that would be.

    Andy