This bug in OpenOffice / LibreOffice has been with me for years and years. You open a file, you delete it while open, you close LibreOffice — and then LibreOffice will henceforth tell you eeeevery time you start the program that it tried and failed to recover that file. But I found a bug fix. Thank you “user177723″!

1. Open LibreOffice and create a new file with the same name as the lost one in the same directory. (Which directory this may have been, you have to remember/guess.)

2. Save it.

3. Close LibreOffice completely. (Yes, this is an essential step.)

4. Open the newly created file. Close it.

5. Repeat for every individual file the stupid program moans about on start-up.

Comments

  1. #1 Anders
    September 16, 2013

    This is the computer world equivalent to shoveling sand under the wheels to give you traction when you’re stuck in ice/snow!
    I love these kinds of fixes.

  2. #2 Birger Johansson
    September 16, 2013

    Thank you for the fix.
    — — — — — — — — — — — — —
    (OT) Sceptic alert! -Freemason conspiracy theories http://www.wnd.com/2013/09/antichrist-hidden-in-americas-history/
    “More Antichrist hidden in America’s history?” This is fun.

  3. #3 _Arthur
    September 17, 2013

    I never had the bug, but the offending file reference is certainly kept in a Preferences file in /library/preferences
    a file named
    org.libreoffice.script.LSSharedFileList.plist
    either edit that file with the Property Editor, or, more simply, delete it, and you’ll get rid of the annoyance.
    You’ll have to do that every time you happen to delete an “open” file, or remove an USB key at the wrong time, I suppose.

  4. #4 _Arthur
    September 17, 2013

    OK, I made some tests.
    1. the bug is not severe for me, if I Cancel the recovery, LibreOffice never ask again.
    The Plist file I gave you does not contain the recovery information.
    The recovery information is in:
    /Library/Application Support/LibreOffice/4/user/registrymodifications.xcu
    It’s a long XML file, edit it with Dash or similar,
    The offending lines are:

    false
    false
    0writer8com.sun.star.text.TextDocumentfile:///Users/Arthur/Desktop/Test5.odtTest5.odt

    Delete these 3 lines, save the file, and LibreOffice should forget about the crash.

  5. #5 _Arthur
    September 17, 2013

    Sorry, the XML code didn’t make it, delete the 3 line with
    (item oor:path=”/org.openoffice.Office.Recovery/RecoveryList”)
    between angled brackets; the 3rd line contains the name of the file to recover.

  6. #6 Birger Johansson
    September 17, 2013

    (OT) Who was eating salmon 45,000 years ago in the Caucasus? http://phys.org/news/2013-09-salmon-years-caucasus.html I think Prometheus was out there having some beef with the gods.