Error Message: Root Element is missing.

Error Message: Root Element is missing. - Сообщения

#1 Опубликовано: 26.01.2012 01:18:16
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 03:28:31
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 09:43:08
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 09:46:44
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 10:16:48
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 12:12:49
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 14:39:03
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 26.01.2012 15:53:47
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 16.02.2012 19:23:36
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Reproduced and fixed. Thanks for the report!

Regards.
#10 Опубликовано: 18.10.2017 22:25:15
f.arenas

f.arenas

0 сообщений из 1 понравились пользователям.

Группа: 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 Опубликовано: 19.10.2017 03:34:06
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 12.12.2017 15:06:38
Lauri

Lauri

0 сообщений из 1 понравились пользователям.

Группа: 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 КиБ) скачан 23 раз(а).
#13 Опубликовано: 12.12.2017 15:42:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 12.12.2017 15:54:20
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 13.12.2017 10:53:01
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 ...]

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений