corrupted file

corrupted file - Ioan - Messages

#1 Posted: 7/3/2012 1:00:15 AM
Ioan

Ioan

1 likes in 26 posts.

Group: User

Hi all,


Trying to reopen a file that I wrote and that refused to be closed normaly, I receive this message:

"Unexpected end of file occured.
The following elements are not closed:
result, math, region, regions. Line 82490, position 12."

I posted the file here:
file

Is it possible to recover the file ? If yes, how ?


Thanks a lot for any help,

Ioan

NMyMz.zip (454 KiB) downloaded 30 time(s).
#2 Posted: 7/3/2012 2:53:34 AM
kmihaylovich

kmihaylovich

8 likes in 131 posts.

Group: User

Please attach your file to the forum: http://en.smath.info/forum/yaf_help_index.aspx?faq=attachments
#3 Posted: 7/3/2012 2:56:52 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Hi,

the link to the file points to a hoster which requires login/registration. I won't create a login at a filehoster just to download a single file. You might use dropbox or the smath wiki file management.

The problem might be solved by just closing the xml tags in the file, but I can't try...

If that is the solution than I guess that SMath should be able to propose this approach and apply the fix.

Best regards, Martin
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 7/3/2012 3:14:56 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Hi,

Wrote

Please attach your file to the forum: http://en.smath.info/for...dex.aspx?faq=attachments



I agree, Ioan please attach the file directly to the forum or use a registration-free hosting service...

Wrote

The problem might be solved by just closing the xml tags in the file



The solution is indicated by mkraska and the result is in the attached file


regards,

w3b5urf3r
broken_after.PNG
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 7/3/2012 3:27:58 AM
Ioan

Ioan

1 likes in 26 posts.

Group: User

Thanks for your answers,

Many thanks to w3b5urf3r for the recovered file.

Now the original file is attached to my first post.

I still have a problem with this file:

all results are in fractional mode, against my temptatives of changing.
#6 Posted: 7/3/2012 7:18:06 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

You are welcome

Wrote

all results are in fractional mode, against my temptatives of changing.



simply change the result optimization from "none" to "numeric"


regards,

w3b5urf3r
optimization.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 7/3/2012 7:28:43 AM
Ioan

Ioan

1 likes in 26 posts.

Group: User

Thanks again w3b5urf3r.


Best regards to all,


Ioan
#8 Posted: 9/7/2012 9:13:34 AM
Anonymous

Anonymous

0 likes in 7 posts.

Group: User

Hello there,
I have similar problem with my document. I saved file on hard disk but when i reopened it all text below pagebreak stamp disappeared.
Please look at it, help if possible it is important for me.

Best regards.
File with lost data.sm (483 KiB) downloaded 39 time(s).
#9 Posted: 9/9/2012 12:09:04 PM
Edward Ulle

Edward Ulle

20 likes in 182 posts.

Group: Moderator

I don't find anything wrong with your file. It opens fine on my computer with Win 7 and SMath 0.95. You have collapable areas within a collapsable area.
Ed
#10 Posted: 9/18/2012 3:40:08 AM
Anonymous

Anonymous

0 likes in 7 posts.

Group: User

Hi there,

I have one more corrupt file. This time I can not even open it.

Thanks for every help.
ZELBET_Przebicie_PNB_03264_2002_v1.sm (497 KiB) downloaded 45 time(s).
#11 Posted: 9/18/2012 4:19:53 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Wrote

Hi there,

I have one more corrupt file. This time I can not even open it.

Thanks for every help.



Hi Anonymous,

The recovered file is in the attachments.

@Andrey The issue is in these lines, at the end of the Anonymous original file...


    <region id="163" left="0" top="7227" width="326" height="334" color="#000000" bgColor="#ffffff" fontSize="10">
    <math error="9">
      <input>
        <e type="operand">Typ</e>
        <e type="operand" style="string">1</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">A</e>
        <e type="operand">b</e>
        <e type="operand">2</e>
        <e type="operand">d</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">d</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">A.2</e>
        <e type="operand" style="string">Nie dotyczy</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operand">Typ</e>
        <e type="operand" style="string">2</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">Typ</e>
        <e type="operand" style="string">3</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">|</e>
        <e type="operand">B</e>
        <e type="operand">b</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">H</e>
        <e type="operand">h</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">&lt;</e>
        <e type="bracket">(</e>
        <e type="operand">L</e>
        <e type="operand">l</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">H</e>
        <e type="operand">h</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">&lt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">&amp;</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="operand">2</e>
        <e type="operand">d.1</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">L</e>
        <e type="operand">2</e>
        <e type="operand">d.1</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">A.2</e>
        <e type="operand" style="string">Nie dotyczy</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operand">B</e>
        <e type="operand">b</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">H</e>
        <e type="operand">h</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">≥</e>
        <e type="bracket">(</e>
        <e type="operand">L</e>
        <e type="operand">l</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">H</e>
        <e type="operand">h</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">&lt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">&amp;</e>
        <e type="operand">A</e>
        <e type="operand">b</e>
        <e type="operand">2</e>
        <e type="operand">d.2</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operand">L</e>
        <e type="operand">2</e>
        <e type="operand">d.1</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">+</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
        <e type="operand">A.2</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">:</e>
        <e type="operand">#</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="function" preserve="true" args="2">if</e>
        <e type="operand">#</e>
        <e type="function" preserve="true" args="4">if</e>
        <e type="function" preserve="true" args="2">if</e>
        <e type="function" preserve="true" args="3">if</e>
      </input>
    </math>
  </region>

regards,

w3b5urf3r
ZELBET_Przebicie_PNB_03264_2002_v1.sm (492 KiB) downloaded 36 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 9/21/2012 7:45:29 AM
Anonymous

Anonymous

0 likes in 7 posts.

Group: User

Hello,

Thanks for help w3b5urf3r. It is working now.

Best regards.
#13 Posted: 12/27/2013 8:02:04 PM
Ann163

Ann163

0 likes in 2 posts.

Group: User

Hi,

Unfortunately I have a similar problem with my file.
After I finished my document it didn't saved somehow and now when I'm trying to open it I just see a grey background
I would be really grateful if someone could help me with it, because it's very important for me.

Best regards,
Ann
Słupy.sm (2 MiB) downloaded 16 time(s).
#14 Posted: 12/27/2013 8:21:17 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Hi Ann163,

here there is whatever is recoverable.


I wish you an happy new year,

Davide
Słupy.sm (2 MiB) downloaded 22 time(s).
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/28/2013 6:26:14 AM
Ann163

Ann163

0 likes in 2 posts.

Group: User

Hi w3b5urf3r,

thank you very much for fixing it
I also wish you a Happy New Year!

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