Cannot open file saved with LO 4.2.x / How to recover?

Your “4.2” version: Was it 4.2.7 or earlier? Did you already try recently to reopen your files with 4.2?

@Lupp that was 4.2.4 or 4.2.5 I guess, but not sure. That was latest or previous LO to date (16 june 2014). No, I didn’t try to open them with LO 4.2, because I wanted to use them as templates, and I have other similar files which open fine. And I don’t really care about their contents for now.

@Lupp about tests. I just did 7z t filename.ods and it said file is fine. I mean, it’s not bit-corruption (checksums are fine), it’s how file actually written by LO.

@LogicDaemon - Where did you save the files before you could not open them again? Only on your HDD or also GoogleDrive?

@Lupp - I used version 4.2.4 through 4.2.7., then switched to 4.3.4.1 and now use 4.3.5.2 So far I did not see any problem with my opening older files. In the meantime almost all of my files are ODF format because I started with version 3.3 or 3.4. Therefore I CURRENTLY assume the problem is not LibO related. (OS=XP/SPS3).

I opened 2-3 files created in 4.2 x on an XP PC, on a kubuntu OCwith LibO 4.2.? & 4.3.5 without problems. File transfer: USB HDD & USB stick - no cloud server in between

@ROSt53 I’m also using OOo/LO from pre-1.0, and have thousands of files, which mostly opens fine. But that doesn’t lead to any logical conclusions. And no, I haven’t “save” this file to google drive until posted this question here.

Something which has nothing to do with LibO happened to these files. I used 4.2. from 4.2.4 until 4.2.7 and now use 4.3 and I can access all files created and modified with any 4.2 version of LibO without any problems on XP, Mac, and Linux platforms.

Give the filename a try and use just default character sets and change the name.

Workaround: Use a 4.2 portable version and first open your file and copy and paste the content into a 4.3 file.

@ROSt53 - Did you try to open one of the original files with an old version? My rudimentary analysis of the content.xml from the first one isn’t corrupted in a desastrous (confused) way but there must be wrongly unpaired tags. I get error messages by 2 XML parsers to this effect but couldn’t find the precise positions. Even being retired my time is limited in a sense.

@ROSt53 - I just tried opening the first example with PortableLibO4.2.8 and got the same error as with 4.3.5.

@ROSt53, file is readable with some other software. Google Docs, for example, now even show contents for files I linked (full size and all pages, not with just embedded icon preview). So I’m sure problem is LO-related, and files themselves can be read in current form using some quirks.

I also think the problem is LibO related. The version the file was originally stored with will have caused the error. On the other hand a greater error tolerance (as ‘Google Docs’ may have implemented as you tell us) will not be always the best solution, in specific where also numeric correctness is a main requirement.

We may, however, consider that the user is an important part of the complete system, and ease the task for LibO a bit by using less direct formatting, e.g.

@Lupp First, Files in the example are not done by me from scratch. Both has imported sheets (and they’re still linked; when opened with LO, it will ask to refresh) and only one or two sheets I’m consolidating information to with formulaes.
Second, though it’s offtipic, it’s wrong to blame user for software failures. It’s path of desolation. After all, user must think first, which software to use, right? And they will. If LO will keep being so fragile, it will be avoided.

+1 for portable version suggestion. Still it’s not solution, just easier way to try multiple LO versions.

by the way, I found comments in other questions that portable LO versions are build by third party, and sometimes have regressions or different behaviour from installables. So this can be reason your trials ended in vain.

My one decisive trial was testing the wrapped-in content.xml by the basic standards of XML. I used two different tools for that. Both of the told me there were errors. As I don’t have acces to a fully fetured xml editor, I was not astonished not getting precise error locations.

I have no further idea anymore. Maybe the way @Lupp tried - testing the xml-files - would lead to conclusions. Unforuntately @Lupp needs some better tools. Nevertheless thank to @Lupp for his attempt. I personally have to give up because it goes beyond my expertise.

By what version the file was created and whether or not it also could be read by that version was not in my focus. Having investigated a bit I can tell you that it was originally created by Антон Дербенёв, generated and edited with LibO4.2.5**.1** (a release Candidate!) and edited by 228 cycles over a vast amont of time. The exactly same version I cannot get “Portable” and wouldn’t install regularly for this test.

Lupp, that’s actually my first and last names, so yep, I edited it. Also, I started the series long ago, then copying & renaming it, so 228 cycles it’s from 2005 I think :slight_smile: Well, maybe 4.2.5*.1*. I use RCs if previous release is too buggy for me. And I do report bugs I can explain. Well, anyway I didn’t ask which version, I asked what to do if this will happen again (with other version) :wink:

Sorry! There may occur many errors we stand amazed by. I simply have to admit my lack of needed competences in this case. And, yes; there will be errors again I will not know a remedy for. As I am working with the software (and its perdecessors) for about 20 years now and never have experienceec a disastrous loss, I am rather confident. And I keep my fingers crossed for you.