AS crashed when I selected a video file when adding a new image layer. It was the third short video I was adding to this .anme file. The first two worked beautifully.
When I try to open the anme file, I get a message
Read error at line 2743 in code file volumes/develop/oban/trunk/anime studio/build/excode/../../lib_moho/animval.ccp, line 42.
I can open other anme files, so I don't think the program is corrupted. I think the file is corrupted.
Does anyone know of a way to repair the file, or is the work lost?
Thanks - Jeff
Read error at line 2743 when opening a *.anme file
Moderators: Víctor Paredes, Belgarath, slowtiger
Read error at line 2743 when opening a *.anme file
jeff740x
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
- patricia3d
- Posts: 726
- Joined: Thu May 31, 2007 4:38 am
- Location: India
- Contact:
Squashed (corrupted) Layer
Thanks for the pointer to the previous posting.
I have examined the file in TextEdit and did some Find's on layers, just to see the code.
How did heyvern know the corrupted layer was named "overkroppen"?
Since I will lose the corrupt layer --- and every layer after that --- how do I identify the "squashed" layer?
Thanks - Jeff
I have examined the file in TextEdit and did some Find's on layers, just to see the code.
How did heyvern know the corrupted layer was named "overkroppen"?
Since I will lose the corrupt layer --- and every layer after that --- how do I identify the "squashed" layer?
Thanks - Jeff
jeff740x
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Deleted final layer ... mixed results....
Examining the code in TextEdit, I could see that the "last" layer in the file did not complete with the four lines that heyvern indicated needed to be there. I assumed it was the "squashed" layer and deleted it per the posting.
The file now opens.
If I run animation, the file closes (crashes) unexpectedly, but after that happens, I can open it again.
Since I can now open the file, I will see if I can save some of the work.
Thanks for your help --- I had lost everything until you helped me out. Maybe now I can preserve some of it.
-- Jeff
The file now opens.
If I run animation, the file closes (crashes) unexpectedly, but after that happens, I can open it again.
Since I can now open the file, I will see if I can save some of the work.
Thanks for your help --- I had lost everything until you helped me out. Maybe now I can preserve some of it.
-- Jeff
jeff740x
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Glad you got things working and saved your project. Keep in mind that each file is unique. My description for the lines to remove or look for in that other post might not apply to your file exactly.
Here is some more info that might help in the future.
Layers in the file format are structured with "nesting" or indentation based on what level the layer is at. If you have any experience with HTML or code structures it is like that. A top level layer in the file format will start flush left and not indented.
A group layer has it's own layer information at the start, then later on layers inside the group are indented with it's own information. Group layers inside group layers (nested layers) will each indent at each level of nesting.
It can get tricky to find the start and end of layers in the file format with lots of nested layers.
Here's how layers are "grouped" in the file format:
All layers start with the layer_type followed by an opening curly bracket. If deleting a layer you must select the layer_type line before the curly bracket. The layer_type is part of that layer.
If a layer is the FIRST sub layer inside any group type layer then you will see this:
The indenting indicates that the sub layers are now inside a group layer. Even if the group layer is a top level layer the ### sub-layers text will be indented. If the sub layer was also another group further down you would see another sub-layers text with another level of indentation and so on and so on.
A layer is "closed" with the closing curly bracket at the end of that layer information. If that layer is the LAST layer in a group there will be TWO closing curly brackets with offset indenting. The first closing curly bracket is to close the last sub layer in the group. The second closing curly bracket is for the group layer.
These series of curly brackets indicating the start and end of layers can be indented/nested depending on the structure of your AS file. The samples above show a top level layer. All top level layers start out without any indenting.
Don't get "square" and "curly" brackets confused. They are different. I can't remember for certain but I think the curly brackets are only used for layer grouping. Square brackets are used to group data within the layer information.
If you have a good text editor like jEdit you can easily find the start and end of a layer. The key is to find the start of the layer and then search for the next closing curly bracket with the same indentation of the opening bracket. If there is no closing curly bracket that layer is "broken" and is probably at the end of the file.
In every case if the file is not closed properly with a closing curly bracket search back up to the first opening curly bracket and that is the broken layer. I would not attempt to just "add" a closing bracket because if the file was broken there is probably other things missing from the data that you can't just type back in.
-vern
Here is some more info that might help in the future.
Layers in the file format are structured with "nesting" or indentation based on what level the layer is at. If you have any experience with HTML or code structures it is like that. A top level layer in the file format will start flush left and not indented.
A group layer has it's own layer information at the start, then later on layers inside the group are indented with it's own information. Group layers inside group layers (nested layers) will each indent at each level of nesting.
It can get tricky to find the start and end of layers in the file format with lots of nested layers.
Here's how layers are "grouped" in the file format:
All layers start with the layer_type followed by an opening curly bracket. If deleting a layer you must select the layer_type line before the curly bracket. The layer_type is part of that layer.
Code: Select all
layer_type 1
{
Code: Select all
### sub-layers
layer_type 1
{
A layer is "closed" with the closing curly bracket at the end of that layer information. If that layer is the LAST layer in a group there will be TWO closing curly brackets with offset indenting. The first closing curly bracket is to close the last sub layer in the group. The second closing curly bracket is for the group layer.
Code: Select all
}
}
Don't get "square" and "curly" brackets confused. They are different. I can't remember for certain but I think the curly brackets are only used for layer grouping. Square brackets are used to group data within the layer information.
If you have a good text editor like jEdit you can easily find the start and end of a layer. The key is to find the start of the layer and then search for the next closing curly bracket with the same indentation of the opening bracket. If there is no closing curly bracket that layer is "broken" and is probably at the end of the file.
In every case if the file is not closed properly with a closing curly bracket search back up to the first opening curly bracket and that is the broken layer. I would not attempt to just "add" a closing bracket because if the file was broken there is probably other things missing from the data that you can't just type back in.
-vern
Thanks...
Thanks...
And the additional information really rounded out the posting.
It helped me and has enough advice that it should help others in the future.
(Although I hope this is a rare occurrence.... -- that is, corruped *.anme files)
Thanks - Jeff
And the additional information really rounded out the posting.
It helped me and has enough advice that it should help others in the future.
(Although I hope this is a rare occurrence.... -- that is, corruped *.anme files)
Thanks - Jeff
jeff740x
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2
Anime Studio Pro 7 Build 20100604p
MAC OS X 10.6.2