Root Element Missing

Root Element Missing - SMath Error: Root Element Missing - Сообщения

#1 Опубликовано: 16.03.2018 13:12:17
Ryan Freund

Ryan Freund

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

Группа: User

I can't seem to open this file. It says that the root element is missing.
Any suggestions?
Thanks!
Bridge - Temporary Footing Design.sm (169 КиБ) скачан 42 раз(а).




Wrote

Anyone who will post the same issue in future

we need:

- date of last time you saved the corrupted file (really important - "last modified" time on file properties);
- SMath Studio version you were probably using when the file was saved;
- SMath Studio version you are using now;
- possible steps to reproduce;

Thanks in advance



P.S. as mentioned here, we think it should be fixed since SS 0.99.6626


---
#2 Опубликовано: 16.03.2018 13:32:53
Davide Carpi

Davide Carpi

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

Группа: Moderator

Completely gone... did you remember which SS version were you using the last time you saved the file? (even a guess by the "last modified" date)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 16.03.2018 18:53:00
#3 Опубликовано: 16.03.2018 13:40:48
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

the root element is missing.



It happens from unknown cause.
Generally it results from working on work sheet that generates
'critical error', not observed while working but on closing
the saving can't be done, thus not saving [empty work sheet].
On tentative project, work alternately a "Copy".
Possibly gone for ever, dead for a long time.
#4 Опубликовано: 16.03.2018 16:21:21
Ryan Freund

Ryan Freund

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

Группа: User

Hey guys, thanks for the responses.

Date saved would be 11/30/2016. Most likely using the latest nightly build version at the time.
Here is another file that works fine that was created about the same time.

Thanks again!
Bridge - Temporary Abutment.sm (948 КиБ) скачан 37 раз(а).
#5 Опубликовано: 16.03.2018 18:52:27
Andrey Ivashov

Andrey Ivashov

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

Группа: Super Administrator

This is the second time when I see the file contains nothing except spaces... Unfortunately I can't explain why it happens.
It's obvious when file is zero length, so this issue was completely fixed and does not happen with latest versions of SMath Studio anymore, but spaces... have no idea.
#6 Опубликовано: 16.03.2018 19:06:34
Ryan Freund

Ryan Freund

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

Группа: User

Huh, welp, I shall carry on.

Thanks for looking into this.
#7 Опубликовано: 16.03.2018 19:22:10
Davide Carpi

Davide Carpi

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

Группа: Moderator

My notepad++ shows a long sequence of null control characters (unicode \u0000)... at least we have a date, this is an important clue... me too I remember at least another file like this (linked below)... keep reporting if it happens saving with most recent 0.98 versions...

2018-03-17 02_03_47-C__Users_Davide_Downloads_Bridge%20-%20Temporary%20Footing%20Design.sm - Notepad.png

For future reference (sorted by date):
- Changes on save were done in SMath Studio 0.98.5935 (threads, fixed that nasty issue about background images on big files, ...);
- File corrupted on November 2016 - there was SS 0.98.6128 (stable) as latest release;
- Save logic refactored in SS 0.98.6398 (beta) (introduced double-step saving);
- Save logic improved in SS 0.99.6626 (beta) (errors handling);


The other file with same issue (multiple null control characters) reported here; no informations here about the last modified date or the SS version in use by the author of the file.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 17.03.2018 07:15:00
#8 Опубликовано: 16.03.2018 22:03:06
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Unfortunately I can't explain why it happens.



To me, it's a bug from either the OS or the application.
I have suffered these two in Mathcad 11.2a Single User Edition [XP Home ]
1. The Matthew {Abramowitz & Stegun] was done 100 % c/w graphs.
On the next opening [maybe next day ?] all gone !
2. While we were collaborating solving the Cadarache surge current
everything was fine while working. On the next visit ... the main
matrix up top the work sheet was blank all red. I contacted Melanie
for a separate attachment of this matrix, back on foot. I did recreate
the matrix ... all fine again ... worked fine for a period ... all gone again.
3. As a third observation [Mathcad/XP], often I was surprised discovering
orthographic errors ... correct ... appeared again.
On that [3], I put my head in the Guillotine !

Since when, don't know, whatever: there are those team workers observing
continuously random numbers from several computers ... always random,
but not. Little while before 911 2001, they observed, their random
where less random, looking like organised. They concluded that a massive
same thinking of the humans was affecting the computers.
You may say: US BS


#9 Опубликовано: 03.07.2018 13:59:35
Mo

Mo

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

Группа: User

Hi, I was trying to open an Smath sheet but I always get this error message:
"Root element is missing"
the problem is all the copies that I have don't open and give me the same error.
Does anyone know how to fix this error?
I am also attaching a snap shot of the sheet that I had it printed before for reference.
Thanks

SMathError.PNG

Показать спойлер

#10 Опубликовано: 03.07.2018 14:07:46
Mo

Mo

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

Группа: User

Sorry for the big snap shot, did not realise that it is that big.
I also checked the size of file and it is 384 kb and not 0
attached file for reference.
SteelCorbelDesignCPCI.sm (385 КиБ) скачан 48 раз(а).
#11 Опубликовано: 03.07.2018 14:10:52
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

"Root element is missing"
the problem is all the copies that I have don't open and give me the same error.



"Root element missing" ... the work sheet got corrupted, gone with the wind.
Cause unknown, but from observation, caused by corrupted region, undetected
during the construction. Are you saying that all work sheets you didn't
open for a while ... are all "Root element missing" ?
If so: dramatic, some garbage in your system. Something like Wanacry.

#12 Опубликовано: 03.07.2018 14:25:54
Mo

Mo

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

Группа: User

Hi Jean,
yes all the copies that I have (saved on different locations on the server hard drive are corrupted like that unfortunately.
Thannks for your help.
#13 Опубликовано: 03.07.2018 18:30:52
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Sorry for the big snap shot, did not realise that it is that big.
I also checked the size of file and it is 384 kb and not 0
attached file for reference.



attached file ... but root is missing.
Let be clear you have the work sheet in hand, it saves w/o root
Never such report in the past.
What's that freak f'... why not freak more f''''
Remove all drawing, never know from incompatible source.
Or, capture drawing, paste in paint, copy/paste in Smath.
#14 Опубликовано: 03.07.2018 18:34:11
Oscar Campo

Oscar Campo

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

Группа: Moderator

Hi Mido0,
this is a weird issue.
I opened your file on Notepad++ and I found that is full of NULL characters. Same you can see in any other text editos (atom, and so on)...

Sorry...

NullCharacters.PNG
#15 Опубликовано: 04.07.2018 00:26:14
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Hi Jean,
yes all the copies that I have (saved on different locations on the server hard drive are corrupted like that unfortunately.
Thannks for your help.



saved on different locations on the server hard drive.
What is a server hard drive ?
You mean C:\ of another PC ?
If that is the case, how could it save *.sm if Smath
is not installed in that foreign box ?
What is 380 kB of NULL means ?
380kB of not coded information .
What is the condition of the server box ?
#16 Опубликовано: 04.07.2018 06:41:51
Patrick Ps

Patrick Ps

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

Группа: User

Hi Mido0,

This has happened to me quite a few times. I' m using Linux though, and maybe this fact is related.

In general this happens to me when there's an error in the sheet combined with long and heavy calculations in a region (for example a huge matrix that is constructed in a complicated "for" loop and has an error somewhere). Then the sheet crashes, asks me to save and shuts down. No matter whether I choose 'save' or 'don't save', the rsult is the same: If I try to open the sheet again, the 'root element' error comes up.

Unfortunately, I haven't found a solution - I just rewrite the whole sheet. I only have a solution for avoiding this: when I have such a sheet with heavy calculations and possible errors I create a new file and work with that. Every few steps I also save it to the original file and then shut it down and go back to continue working in the second file. In this way if the temporary file crashes, I know I have saved most of it in the original file and that only the few most recent changes are lost.

Something to keep in mind: I think that when you have many sheetes open and one of them crashes in this manner, then all the open sheets get corrupted... I'm not certain of this though.
#17 Опубликовано: 04.07.2018 13:38:08
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Something to keep in mind: I think that when you have many sheetes open and one of them crashes in this manner, then all the open sheets get corrupted... I'm not certain of this though.


That all open work sheets in the page menu get corrupted, that never happened to me.
There are two main types of Smath crash [6179, 5346 was same].
1. The violent crash ... instant Smath OFF
2. The uncertain crash that drop down a menu Turn OFF or Continue.
No matter saying 'continue', the drop down menu keeps coming back.
The trick I found is patience ... keep clicking 'continue'
At some unknown repeated 'continue', then everything comes back.
Some instances toke at least 2 dozen attempts.

Interesting but unsolved and annoying.

#18 Опубликовано: 17.09.2018 10:59:35
Davide Carpi

Davide Carpi

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

Группа: Moderator

Anyone who will post the same issue in future

we need:

- date of last time you saved the corrupted file (really important - "last modified" time on file properties);
- SMath Studio version you were probably using when the file was saved;
- SMath Studio version you are using now;
- possible steps to reproduce;

Thanks in advance



P.S. as mentioned here, we think it should be fixed since SS 0.99.6626
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений