Bug 54342 - My formulae were converted to "Object X" and I cannot convert them back
Summary: My formulae were converted to "Object X" and I cannot convert them back
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: x86 (IA32) Windows (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 68914 (view as bug list)
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2012-08-31 23:28 UTC by Francis Momade
Modified: 2019-02-06 15:53 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT-Document with formulae replaced by the bug. (571.64 KB, application/vnd.oasis.opendocument.text)
2012-12-11 18:00 UTC, menace5
Details
formulae misplaced by the bug (212.76 KB, image/tiff)
2012-12-17 16:47 UTC, menace5
Details
formulae loaded in the wrong place (212.76 KB, image/tiff)
2012-12-17 16:49 UTC, menace5
Details
uncrippled ODT-Document for comparison (1.08 MB, application/vnd.oasis.opendocument.text)
2012-12-30 23:14 UTC, menace5
Details
completely uncrippled version of the ODT-Document (1.18 MB, application/vnd.oasis.opendocument.text)
2013-01-22 22:50 UTC, menace5
Details
attachment-16316-0.html (4.58 KB, text/html)
2013-01-23 11:42 UTC, Francis Momade
Details
attachment-16316-1.dat (1 bytes, multipart/alternative)
2013-01-23 11:42 UTC, Francis Momade
Details
METTHERM.wpd (477.02 KB, application/vnd.wordperfect)
2013-01-23 11:42 UTC, Francis Momade
Details
METTHERM 2012 - with TOC.pdf (815.31 KB, application/pdf)
2013-01-23 11:42 UTC, Francis Momade
Details
New ODT file with formulae corrupted by the bug 1 (428.15 KB, application/vnd.oasis.opendocument.text)
2015-12-20 18:56 UTC, menace5
Details
New ODT file with formulae corrupted by the bug 2 (118.82 KB, application/vnd.oasis.opendocument.text)
2015-12-20 18:58 UTC, menace5
Details
New ODT file with formulae corrupted by the bug 3 (366.15 KB, application/vnd.oasis.opendocument.text)
2015-12-20 20:32 UTC, menace5
Details
Screen capture of failure of copy/pasting corrupted formulae (6.35 MB, video/quicktime)
2015-12-24 12:36 UTC, menace5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Momade 2012-08-31 23:28:10 UTC
I spent the last few days converting my WordPerfect Lecture Notes file into a LibreOffice file, rewriting all the formulae. Then this evening I was told I could update to the latest LibreOffice. After updating, all my formulae were converted to "Object X". And I did not know how to obtain my formulae back. AND I REALLY GOT ANGRY. I thought the LibreOffice was friendly. I wanted to move away from MS Office.

How can I get my formulae back?

Regards,

Francis
Comment 1 Roman Eisele 2012-09-19 16:49:29 UTC
Thank you very much for your bug report!

I am very sorry for LibreOffice causing such anger to you! However, I do not know how to solve this issue (I am just a simple bugwrangler, sorry). Therefore I reset just some flags/fields for this bug report -- this should make it easier for the experts to find this report and to handle it.
Comment 2 m.a.riosv 2012-09-19 17:34:11 UTC
Could you inform what is the the Operating system, the file type, native odt or other type and your LibreOffice version.

And if was possible upload the file or at least a page where someone can see the issue.
(This is a public site, please delete any private or confidential information)
Comment 3 dE 2012-09-21 01:46:45 UTC
(In reply to comment #0)
> I spent the last few days converting my WordPerfect Lecture Notes file into a
> LibreOffice file, rewriting all the formulae. Then this evening I was told I
> could update to the latest LibreOffice. After updating, all my formulae were
> converted to "Object X". And I did not know how to obtain my formulae back. AND
> I REALLY GOT ANGRY. I thought the LibreOffice was friendly. I wanted to move
> away from MS Office.
> 
> How can I get my formulae back?
> 
> Regards,
> 
> Francis

Did you save the file after it converted to object X?

Also elaborate how you converted.
Comment 4 menace5 2012-12-11 18:00:17 UTC
Created attachment 71349 [details]
ODT-Document with formulae replaced by the bug.

I have a similar problem with a document created solely in LibreOffice. Randomly all my formulae got eaten for the third time. I attached the document with the formulae replaced by "Object X".

OS: Mac OS X 10.6.8
Libre Office Version 3.6.2.2 (Build ID: da8c1e6)
Comment 5 menace5 2012-12-17 16:47:27 UTC
Created attachment 71666 [details]
formulae misplaced by the bug

I caught LibreOffice whilst loading formulae in the wrong place. I described this phenomenon before. It sometimes appeared directly before the formulae were replaced by "Object X" with the next load of the file...
Comment 6 menace5 2012-12-17 16:49:04 UTC
Created attachment 71668 [details]
formulae loaded in the wrong place

I caught LibreOffice whilst loading formulae in the wrong place. I described this phenomenon before. It sometimes appeared directly before the formulae were replaced by "Object X" with the next load of the file...
Comment 7 Lennard Wasserthal 2012-12-20 14:10:17 UTC
@menace5@gmx.de
Would you please attach the defective .odt FILE?!
best, a one before and another one after the error occurred!

Thanks!
Comment 8 Lennard Wasserthal 2012-12-20 14:32:54 UTC
@menace5@gmx.de
Oh, sorry, you sent it earlier! Thanks!
But note, it seems that the data is lost due to that error!
(Attachment
As I see you (menace5@gmx.de) still have the old file, so would you please give it us, too, so we can trace what the program thinks when it forgets the objects?

This entire mess may be because the internal file manager might not sustain so many internal files, because any formula creates a folder in the zip file.
And, unlike other graphics, it creates it directly in the stem directory!

greets 

 - Lennard Wasserthal (freetime developer)
Comment 9 menace5 2012-12-30 23:14:30 UTC
Created attachment 72322 [details]
uncrippled ODT-Document for comparison

Here is the requested uncrippled ODT document. Strangely deformed formulae like the ones in the picture I uploaded can be seen on page 17.
Comment 10 Lennard Wasserthal 2013-01-22 20:39:14 UTC
@menace5:
First of all: Thank you. That was what I needed.

But: I see warped formulae from Page 19. 
However, I tried much to fiddle with this stuff the past weeks and it doesn't want to break more than it was already.
 I saw that all formulae since middle of Page 30 were already ,,killed''. (since Log-Likelihood)
They are removed from the file list as well.
 Maybe it has already consumed the fault's source?
Can you give me a more intact version of that file? Please.
All I can do at the moment is manipulating, saving, manipulating, saving etc....
Have you set that >>Mac Os X << OS tag??? If not, or

*if you are the same as ,,Francis Momade''*,

then it may be a OS X problem. (I have tried it from Linux and Windows yet!)
I would have to find a way to get my hands on an OS X Computer.
But what do you mean with ,,platform==other?'' have you set that? do you mean PowerPC?
Please Inform me, then I  will try to get a mac where I can test it.
and I MUST know whether I should use a PowerPC Processor Mac or Intel Mac!
Comment 11 Francis Momade 2013-01-22 21:09:38 UTC
Dear Lennard,

Thanks for your efforts. I had to re-write the formulae when I had the trouble. So I cannot show you the problems now. But I have also upgraded to the Version 3.6.4.3 (Build ID: 2ef5aff) of the LibreOffice, which did not import the formulae from the WP documents (It would have been good to have that option as well). 

I am using  MacBook Pro with  OS X Lion 10.7.5 (11G63)  and   2.2 GHz Intel Core 2 Duo processor.


 
Professor Francis W Y. Momade
Department of Materials Engineering,
College of Engineering
Kwame Nkrumah University of Science and Technology (KNUST)
Ghana.

Tel:  +233 3220 60238 (Office)
+233 20 8175830(cel)


________________________________
 From: "bugzilla-daemon@freedesktop.org" <bugzilla-daemon@freedesktop.org>
To: fmomade@yahoo.com 
Sent: Tuesday, 22 January 2013, 20:39
Subject: [Bug 54342] My formulae were converted to "Object X" and I cannot convert them back
 

 
Comment # 10 on bug 54342 from Lennard Wasserthal  
@menace5:
First of all: Thank you. That was what I needed. But: I see warped formulae from Page 19. 
However, I tried much to fiddle with this stuff the past weeks and it doesn't
want to break more than it was already. I saw that all formulae since middle of Page 30 were already ,,killed''.
(since Log-Likelihood)
They are removed from the file list as well. Maybe it has already consumed the fault's source?
Can you give me a more intact version of that file? Please.
All I can do at the moment is manipulating, saving, manipulating, saving
etc....
Have you set that >>Mac Os X << OS tag??? If not, or *if you are the same as ,,Francis Momade''*, then it may be a OS X problem. (I have tried it from Linux and Windows yet!)
I would have to find a way to get my hands on an OS X Computer.
But what do you mean with ,,platform==other?'' have you set that? do you mean
PowerPC?
Please Inform me, then I  will try to get a mac where I can test it.
and I MUST know whether I should use a PowerPC Processor Mac or Intel Mac!
________________________________
 You are receiving this mail because: 
	* You reported the bug.
Comment 12 menace5 2013-01-22 22:50:18 UTC
Created attachment 73484 [details]
completely uncrippled version of the ODT-Document

This is the uncrippled document as I reconstructed it. It does NOT show the status of the document before the replacement of the formulae.
Comment 13 menace5 2013-01-22 23:01:13 UTC
Hello Lenard,

I'm happy to see someone working on that problem, as this is the first time ever I report a bug. Thank you very much! I uploaded a completely uncrippled version of the document, but it's just its actual status as I reconstructed it. I also used version 3.6.2.2 for that, because the actual version crashes on startup. I don't have a better backup of that file as the one I uploaded before.

I'm using a MacBook with Intel Core 2 Duo with 2.13 GHz. I didn't set the platform entry to "Other".

Cheers
Comment 14 Lennard Wasserthal 2013-01-23 10:28:17 UTC
So, you say those formula were automatically converted!
(I don't know which filters exist, as I am working on LibreOffice for only 7 months yet and don't know word perfect)
If so, I would need a WordPerfect file from which one of the defective files was created, since I have the assumption that the files were corrupted already when they were imported, so the best way to track the problem Is to watch the Import INTOLibreOffice!

(And I have to find out why that formula Import doesn't work at all now)

sorry for the inconvenience!
Comment 15 Francis Momade 2013-01-23 11:42:00 UTC
Created attachment 73514 [details]
attachment-16316-0.html

The WP that was imported is attached. The pdf of the  document is also attached for you to see the kind of mathematical formulae in the document. What I did was to use old printed document (as seen in the pdf to insert the mathematical formulae after I had imported the WP document into a much older version of LibreOffice. Then I saved it. I was prompted to update to a newer version (not the current Version 3.6.4.3 (Build ID: 2ef5aff) that I am using now) of LibreOffice which I did. Then the formulae were collapsed. 

Regards

Francis

 
Professor Francis W Y. Momade
Department of Materials Engineering,
College of Engineering
Kwame Nkrumah University of Science and Technology (KNUST)
Ghana.

Tel:  +233 3220 60238 (Office)
+233 20 8175830(cel)


________________________________
 From: "bugzilla-daemon@freedesktop.org" <bugzilla-daemon@freedesktop.org>
To: fmomade@yahoo.com 
Sent: Wednesday, 23 January 2013, 10:28
Subject: [Bug 54342] My formulae were converted to "Object X" and I cannot convert them back
 

 
Comment # 14 on bug 54342 from Lennard Wasserthal  
So, you say those formula were automatically converted!
(I don't know which filters exist, as I am working on LibreOffice for only 7
months yet and don't know word perfect)
If so, I would need a WordPerfect file from which one of the defective files
was created, since I have the assumption that the files were corrupted already
when they were imported, so the best way to track the problem Is to watch the
Import INTOLibreOffice! (And I have to find out why that formula Import doesn't work at all now) sorry for the inconvenience!
________________________________
 You are receiving this mail because: 
	* You reported the bug.
Comment 16 Francis Momade 2013-01-23 11:42:01 UTC
Created attachment 73515 [details]
attachment-16316-1.dat
Comment 17 Francis Momade 2013-01-23 11:42:01 UTC
Created attachment 73516 [details]
METTHERM.wpd
Comment 18 Francis Momade 2013-01-23 11:42:01 UTC
Created attachment 73517 [details]
METTHERM 2012 - with TOC.pdf
Comment 19 jmg74 2013-09-11 19:21:57 UTC
Hi, I confirm this bug on a x86 : sometimes, while editing a document, some formulas disapear and are replaced by "Object x". In the odt file seen as a zip, the formulas have disapeared too. 

Sometimes, it seems to occur just after a copy-cut between formulas became inoperant (a memory issue ?). 

I remember this bug used to exist in old OpenOffice.org versions and has been solved for a long time (but I have no reference any more, sorry). Someone talked about a "solution" to limit the problem (on OOo), with modifying graphic cache memory option, for example on OOo : 
http://forum.openoffice.org/fr/forum/viewtopic.php?f=13&t=23670#p311
(In french, sorry. With 4MB RAM, it seems possible to switch this cache to 128Mo. I will try. If it seems usefull, I will tell it...)

I work on Mint (Ubuntu 13.04 familly) / Mate desktop, LO4.0.2.2 400m0 build 2 from distribution repository (and not LO website). I had the same issue on Ubuntu 12.10 / classic Gnome (session-fallback). 4MB RAM. 
I use Dmaths add-on (www.dmaths.org)

Hope you/we will solve this critical issue ! Thanks a lot to all of you working on it !!
-- 
jmg74
Comment 20 Björn Michaelsen 2014-01-17 00:43:33 UTC Comment hidden (obsolete)
Comment 21 Lennard Wasserthal 2014-01-17 15:15:06 UTC
It can be that this bug no longer exists. I had a test-file I couldn't disclose, which shows broken objects on a file that was readable in openoffice, but the bug in it is gone at LibreOffice 4.1.(where the file is readable)
Comment 22 jmg74 2014-03-15 21:44:26 UTC
Sorry, but I confirm that issue on 
 Libreoffice 4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a
 Linux Mint 16 / Mate. x86

It seems to be randomized but occurs (with many formulas ? with frequent changes in formulas ?)

Thank you for working on it !
Comment 23 QA Administrators 2015-09-04 02:47:42 UTC Comment hidden (obsolete)
Comment 24 menace5 2015-12-20 18:55:37 UTC
The bug is still present with LibreOffice 5.0.3.2 on OS X 10.11.

Again I created a document with many formulae, worked on it, saved it, closed it, reopened it and for no apparent reason formulae got:

	1.	out of place and warped to fit into their new place
	2.	replaced by "Object X"

Again I sadly have no uncrippled version of the document at hand. I attached documents from 11/9/15 and 12/9/15 that represent different degrees of corruption.

Please tell me, when I can provide any more information.
Comment 25 menace5 2015-12-20 18:56:52 UTC
Created attachment 121450 [details]
New ODT file with formulae corrupted by the bug 1
Comment 26 menace5 2015-12-20 18:58:08 UTC
Created attachment 121451 [details]
New ODT file with formulae corrupted by the bug 2
Comment 27 menace5 2015-12-20 20:31:41 UTC
Right now the bug destroyed another two and a half hours of work since my last comment. I uploaded the corrupted file.

I am truly horrified by this bug...
Comment 28 menace5 2015-12-20 20:32:45 UTC
Created attachment 121455 [details]
New ODT file with formulae corrupted by the bug 3
Comment 29 Lennard Wasserthal 2015-12-20 21:25:13 UTC
I thought of this as a general object handling bug, but since specifically you (menace5) experience it, it must be in the formulae code.

Too bad I left the project, but with that Information at hand, it will be worth for me to dig in one last time this christmas.
Comment 30 menace5 2015-12-24 12:35:46 UTC
@Lennart: Thanks for having a look into it. This is probably the worst software bug I ever ran into. It really prevents me from learning. So I appreciate every effort fixing it.

I discovered an interesting behavior of the corrupted files. If you try to copy some formulas and paste them to another place, you don't paste the formulas you initially copied. I screencaptured this and uploaded it.
Comment 31 menace5 2015-12-24 12:36:57 UTC
Created attachment 121535 [details]
Screen capture of failure of copy/pasting corrupted formulae
Comment 32 Lennard Wasserthal 2015-12-24 13:17:34 UTC
In >>>New ODT file with formulae corrupted by the bug 3 <<<:
                                                                       .
Are those two defective formulas who have Object 123 as their number supposed to show the same formula?
Comment 33 menace5 2015-12-24 13:32:32 UTC
I'm pretty sure they weren't.

(In reply to Lennard Wasserthal from comment #32)
> In >>>New ODT file with formulae corrupted by the bug 3 <<<:
>                                                                        .
> Are those two defective formulas who have Object 123 as their number
> supposed to show the same formula?
Comment 34 Lennard Wasserthal 2016-01-02 20:27:25 UTC
I have to quit on this

1. I cannot reproduce it
2. Therefore I had to search through the starmath source, blindly, but didn't find anything 
3. When I tried to compile from the latest debian source, it turned out that the dependencies were risen again on a lot of dependencies, and I do NOT want to screw up my system by updating.
HEY! DEPENDENCIES are something TO GET RID OF!

But as how that code looks, it depends so heavily on that ::com::sun::star::uno stuff, that the bug would be better reproducible if it would be in the math part of the code.
Comment 35 eisa01 2016-11-11 22:17:41 UTC
*** Bug 68914 has been marked as a duplicate of this bug. ***
Comment 36 QA Administrators 2017-11-12 11:01:21 UTC Comment hidden (obsolete)
Comment 37 Pierre C 2018-06-22 20:16:29 UTC
I've just Got the same problem

this had happens many times. Always by importing a word doc, with many formulas.
The, working with the document, correcting some formulas, and then almost all formulas disappears.
I've never been able to find a way to reproduce the bug
Last With LO 6.0.5.2
Comment 38 Timur 2018-08-03 17:43:03 UTC
This bug is about "Object X". Does it still happen with new versions?
"Formulas disappear" is another issue, maybe Bug 99225.
Comment 39 fluepapir 2018-10-28 21:42:09 UTC
I encountered the problem today in LibreOffice 5.1.6.2 on Kubuntu 16.04, and it is not the first time lately.

The file was an older DOCX-file with many formulas that I saved as ODT. Now most, but not all, formulas are replaced by an "object placeholder". This applies both to formulas that are from the old DOCX-file and to formulas I have written myself in LO.

I noticed one strange behaviour that is probably connected to this issue: I tried to save and LO seemed to continuously save the file over and over and the only way to stop it was to kill the process. Afterwards, I found thousands of copies of the file in the backup directory, all of them containing the error.
Comment 40 Grasyop 2019-02-05 10:22:57 UTC
Same problem here today. I opened a docx document with LibreOffice 6.0.7.3 on Kubuntu 18.04.2. At first, formulae were displayed. I modified some of them and some text. I could save it and export it once into pdf, correctly. Then I continued to work on the document, created a new formula and modified the style of formulae (don't know why such a big default space around formulae). I tried to export it again into pdf and had a general error. Back to the odt document, all formulae of the docx were changed into "Object ###".

I then tested this: I open the docx (original document), save it as odt, create only one new formula, change formula style (left and right spaces), save again the odt. When I open the odt again, no "objects" but many formulae are not correctly displayed, some of them are replaced by an inverted question mark, and some are permuted (more precisely, boxes are not permuted (they keep their size) but their content is permuted: the content of one box appears in another one, distorted by the inadequate size of the box).

P.s. Yesterday, on another O.S. (Windows 10), I noticed the same behaviour described on last post by Fluepapir: LibreOffice trying continuously (every five seconds or so) to save the file, hindering any work on it.

Grasyop
Comment 41 Terry 2019-02-06 15:06:19 UTC
I haven't a clue what all these words and letters mean.  All I know is that when I last downloaded a LibreOffice update, a couple of years ago, nothing has been the same.  Lately, when I try to open a document, the hour glass appears for about 5 seconds, then disappears and nothing opens.  I try again and again and still nothing opens.  In the end I shut down my computer completely and then when I restart it, things work fine for a while.  Then the whole cycle starts again.  What's that called, I don't know.
Comment 42 Terry 2019-02-06 15:09:48 UTC
Then you ask for all these other numbers and letters and I don't know where they are or how to get them.