Page 1 of 2
Could not open file. Error details: Read error at line 92130
Posted: Fri Feb 22, 2008 5:07 pm
by danielandrus
HELP!
i was working on a file. after saving and closing the file i tried opening it up again and got this message:
Could not open file.
Error details:
Read error at line 92130. In code file C:\Documents and Settings\Mike Clifton\My Documents\Develop\lm_tree\lib_moho\m_mesh.cpp, line 143.
does anyone know what happened? i've been working on this for a while and it would set me back a LOT if i lose the file.
any help is very appreciated.
Thank you
Posted: Sat Feb 23, 2008 1:05 am
by heyvern
Can you post the damaged file somewhere?
I could take a look at the source and see if I can fix it for you. The files are plain text and often you can fix "simple" problems.
In the future I strongly recommend that you save incremental versions of your projects just to protect yourself from things like this. Nearly every application file can get corrupted by all kinds of things, system hiccups, crashes... whatever.
-vern
Posted: Sat Feb 23, 2008 2:59 pm
by danielandrus
i sent you a pm. thanks man
Posted: Sat Feb 23, 2008 9:34 pm
by heyvern
For those interested I was able to fix the file. I had to delete a layer at the end that was missing a big part. I think the file got "squashed" during a save and a big chunk was left out at the end.
The number 92130 was actually the line number in the text of the file! Big file.
So, just an FYI for others. If the file won't open... you should panic of course... but don't give up hope.
-vern
Posted: Sat Feb 23, 2008 11:52 pm
by danielandrus
thanks a million!
Posted: Wed Feb 27, 2008 12:49 am
by Tashi
I'm having the same problem, different line of course. I sent a PM.
Posted: Wed Feb 27, 2008 2:09 am
by heyvern
Sorry I couldn't help you out Tashi. Good luck with redoing the work.
I plan to include a tutorial for editing the file format on my new site. It won't have "complete" documentation on the file format but it will give you enough info to get around in it.
I suggest anyone wanting to do that kind of thing should get a good text editor like the free open source program
jEdit.
Posted: Wed Feb 27, 2008 10:32 pm
by heyvern
Tashi,
I just sent you the "fixed" file. I went back and looked through it in AS. It looks like a ton of the actual animation is still there. All the layer animation anyway. It only "seemed" to have lost layers in that one switch layer I mentioned but you will have to say for sure.
AS is so weird. The layer order in the file is not the same as the text file format. In the file format layer order is determined by when it was created. If you start moving layers around in the layer palette the layer stays right where it is in the text file. This can throw you off a bit if you think you are looking for the last layer or the third layer.
Make sure you put the new file in the same place as the old one or the image layer links won't work. I gave it a new name.
-vern
Posted: Fri Aug 08, 2008 7:01 pm
by Coolburger
Heyvern,
I read these posts that you were able to help out these guys with a read error problem and would like to know if you could try fixing a file for me?
I'll PM you the file.
Thanks
CB
Posted: Sat Aug 09, 2008 5:21 pm
by Coolburger
Vern you're AWESOME! Thanks for fixing my file!
CB
Posted: Mon Feb 02, 2009 6:01 pm
by bahar_z
Heyvern,
I read these posts that you were able to help out these guys with a read error problem and would like to know if you could try fixing a file for me?
i was working on a file. after saving and closing the file i tried opening it up again and got this message:
Could not open file.
Error details:
Read error at line 56288. In code file C:\Documents and Settings\Mike Clifton\My Documents\Develop\lm_tree\lib_moho\m_mesh.cpp, line 51.
Please help
Thank you
Posted: Tue Feb 03, 2009 3:44 am
by synthsin75
If Vern's busy, I can help fix this file for you.
corrupted file
Posted: Mon Mar 30, 2009 9:24 pm
by Javiera
hi everybody, I'm new here
I have the same problem...
could you teach me how to fix it?
o can somebody fix it for me?
I'ts really urgent, please
Posted: Mon Mar 30, 2009 10:23 pm
by synthsin75
If you want to PM me a link to the file, or post it in this thread, I'd be happy to see how much can be saved. Unless you are familiar with the file format, it'd be very difficult to explain how to fix it. It really depends on where the corruption is and where it cut off the data.
Posted: Tue Mar 31, 2009 5:54 am
by Rhoel
heyvern wrote:... I suggest anyone wanting to do that kind of thing should get a good text editor like the free open source program
jEdit.
The SciTE.exe text editor is also brilliant for programming and text file editing. In Lua mode fir instance, it colour codes the key instructions, making readability a cinch.
It has switchable line numbering, end of line visualizations and a host of other features.
And its free.
R