Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RFreund  
#1 Posted : 16 March 2018 19:12:17(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
I can't seem to open this file. It says that the root element is missing.
Any suggestions?
Thanks!
Bridge - Temporary Footing Design.sm (170kb) downloaded 23 time(s).




Originally Posted by: Davide Carpi Go to Quoted Post
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

---

Edited by moderator 17 September 2018 17:27:24(UTC)  | Reason: added alert

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 16 March 2018 19:32:53(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
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)

Edited by user 16 March 2018 20:09:40(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 17/03/2018(UTC)
Offline Jean Giraud  
#3 Posted : 16 March 2018 19:40:48(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: RFreund Go to Quoted Post
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.
Offline RFreund  
#4 Posted : 16 March 2018 22:21:21(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
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 (949kb) downloaded 17 time(s).
Offline Andrey Ivashov  
#5 Posted : 17 March 2018 00:52:27(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
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.
Offline RFreund  
#6 Posted : 17 March 2018 01:06:34(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Huh, welp, I shall carry on.

Thanks for looking into this.
Offline Davide Carpi  
#7 Posted : 17 March 2018 01:22:10(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
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... Good

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.

Edited by user 17 March 2018 04:33:43(UTC)  | Reason: typo

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 17/03/2018(UTC)
Offline Jean Giraud  
#8 Posted : 17 March 2018 04:03:06(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
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


Offline Mido0  
#9 Posted : 03 July 2018 19:59:35(UTC)
Mido0


Rank: Advanced Member

Groups: Registered
Joined: 10/01/2017(UTC)
Posts: 31
Man
Canada
Location: Alberta

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

Edited by moderator 17 September 2018 16:52:43(UTC)  | Reason: too large images moved into spoiler

Offline Mido0  
#10 Posted : 03 July 2018 20:07:46(UTC)
Mido0


Rank: Advanced Member

Groups: Registered
Joined: 10/01/2017(UTC)
Posts: 31
Man
Canada
Location: Alberta

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 (386kb) downloaded 30 time(s).
Offline Jean Giraud  
#11 Posted : 03 July 2018 20:10:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Mido0 Go to Quoted Post
"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.

Offline Mido0  
#12 Posted : 03 July 2018 20:25:54(UTC)
Mido0


Rank: Advanced Member

Groups: Registered
Joined: 10/01/2017(UTC)
Posts: 31
Man
Canada
Location: Alberta

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.
Offline Jean Giraud  
#13 Posted : 04 July 2018 00:30:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Mido0 Go to Quoted Post
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.
Offline oscampo  
#14 Posted : 04 July 2018 00:34:11(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 238
Man
Colombia
Location: Cali, Colombia

Was thanked: 79 time(s) in 60 post(s)
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
Offline Jean Giraud  
#15 Posted : 04 July 2018 06:26:14(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Mido0 Go to Quoted Post
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 ?
Offline Patrick Ps  
#16 Posted : 04 July 2018 12:41:51(UTC)
Patrick Ps

Rank: Newbie

Groups: Registered
Joined: 25/04/2017(UTC)
Posts: 6
Greece

Was thanked: 2 time(s) in 1 post(s)
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.
Offline Jean Giraud  
#17 Posted : 04 July 2018 19:38:08(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Patrick Ps Go to Quoted Post
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.

Offline Davide Carpi  
#18 Posted : 17 September 2018 16:59:35(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
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

Edited by user 17 September 2018 17:26:24(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.