Error Message: Root Element is missing.

Error Message: Root Element is missing. - Messages

#1 Posted: 1/26/2012 1:18:16 AM
Basile

Basile

8 likes in 172 posts.

Group: User

I try to open a file that I created with 0.89 in 0.9 and I am getting the error message:
Root Element is missing.

Any idea?

Thank you,
Basile
#2 Posted: 1/26/2012 3:28:31 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

Could you put put a link to the particular file, please?.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 1/26/2012 9:43:08 AM
Basile

Basile

8 likes in 172 posts.

Group: User

Hello Radovan,

The file is at:
http://www.yourfilelink.com/get.php?fid=752442

This morning, I tried to open it in the computer it was created and I got the same error.


Thank you,
Basile
#4 Posted: 1/26/2012 9:46:44 AM
Basile

Basile

8 likes in 172 posts.

Group: User

Radovan,

I just realized that the file is empty.
This should have not been the case, I saved a working evaluation of a formula.

Basile
#5 Posted: 1/26/2012 10:16:48 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

Quite strange

An empty file (at least it looks that way) with the message "Root Element is missing" when tried to be open. Have no the slightest idea. Maybe to to try reproduce what you have done?

I also tried to make an empty text file and save it with the *.sm extension. The same message appeared.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 1/26/2012 12:12:49 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Radovan,

I think I found something.

Do qa simple calculation like:

Q:=10 V:=30

E:=Q*V
E=


Then save the file as "Test"
Then save the file again as "1.10"
(Chapter 1 problem 10)
The second file is empty with the error message when you try to open it.

Thank you,
Basile
#7 Posted: 1/26/2012 2:39:03 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Basile,

It seems that period-point like in 1.10 is sometimes not allowed in the SMath file name.

I think the more problematic thing here is that SMath will not tell you that the file has not being saved (at least that happened to me). For instance if you open SMath the worksheet will have the name "Page1" . If you try to save your file with the name say "10.1" it will be saved without *.sm extension and will be empty. The worksheet name - file name will still remain "Page1". But if you save it as "10.1.sm", actually just add the extension - it will be saved and will not be empty.

I hope you can reproduce this.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#8 Posted: 1/26/2012 3:53:47 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Radovan,

Yes you are right.
I guess, for now, the rule is: "when the file name includes a period, we have to add the extension".
I hope it will be fixed soon.


Thank you,
Basile
#9 Posted: 2/16/2012 7:23:36 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Reproduced and fixed. Thanks for the report!

Regards.
#10 Posted: 10/18/2017 10:25:15 PM
f.arenas

f.arenas

0 likes in 1 posts.

Group: User

Guys, I'm trough the same root missing error, but this time my file isn't named using a dot character. My laptop have been shooting down ill-timmed and once I was using the file, happened. Does the file have any solution? The file is stored at https://drive.google.com/file/d/0B_edd7VYUiFhMDZwcGlxcE9zWFU/view?usp=sharing . Tnx
#11 Posted: 10/19/2017 3:34:06 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

Guys, I'm trough the same root missing error, but this time my file isn't named using a dot character. My laptop have been shooting down ill-timmed and once I was using the file, happened. Does the file have any solution? The file is stored at https://drive.google.com/file/d/0B_edd7VYUiFhMDZwcGlxcE9zWFU/view?usp=sharing . Tnx



Unfortunately this file is unrecoverable. The problem has been addressed recently and should never happen anymore with the most recent versions of the program (fix introduced in SS 0.98.6398 beta).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 12/12/2017 3:06:38 PM
Lauri

Lauri

0 likes in 1 posts.

Group: User

Hello,

I have a problem opening my Smath file. It says "Root element is missing". Earlier today I made a pdf of my file and saved it and thought everything was ok. I even checked the PDF version of my file and everything seemed to be ok. But later in the evening when I wanted to check my work again, the PDF file was completely gone from my computer and when I tried to open my Smath file it gave me the error "Root element is missing". After clicking OK it opens a completely empty file. It was a pretty big file, 10 pages long in PDF version.

Is there any way I can recover my work?

Thanks in advance.

EDIT: i forgot to put the link where the file is:
https://drive.google.com/file/d/1jAVg1kQ01ux84miC2qaqjuLLROMs03DE/view


mod edit: file attached for future reference
UL3_Lauk.sm (161 KiB) downloaded 21 time(s).
#13 Posted: 12/12/2017 3:42:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is there any way I can recover my work?



Absolutely NOT
Click on your file name ... 0kB ... gone when Smath crashed.
It may simply have crashed at the closing of the file, while
everything seemed to be working fine in session.
Now, you will never work so long pages and not alternate a copy.
Wise also to save the *.PDF under new name.
#14 Posted: 12/12/2017 3:54:20 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

Hello,

I have a problem opening my Smath file. It says "Root element is missing". Earlier today I made a pdf of my file and saved it and thought everything was ok.



As said by Jean unfortunately there's nothing to recover here. What version of SMath Studio are you using? In the most recent versions (f.e. latest stable) you should notice an error message while saving and the original file is kept as it was at the previous successful save (at least this how it should works).


Wrote

the PDF file was completely gone from my computer


That's really strange (pdf isn't under the control of SMath Studio), probably is still in the default pdf output path or there might be something in a temporary path.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#15 Posted: 12/13/2017 10:53:01 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

the PDF file was completely gone from my computer



Assume you would need to publish your Smath document as *.PDF.
Use the $50 PDF from "Nuance", you can save it under new name
as an independent entity, with plenty of features.

... However ... it happens from unexplained, that while in
Smath session, everything works fine but a silent bug exist
and does not save and maybe will not save *.PDF as well.
All CAS have bugs [Mathematica, Maple, Mathcad ...]

  • New Posts New Posts
  • No New Posts No New Posts