View previous topic :: View next topic |
Author |
Message |
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Fri Jul 27, 2007 8:19 am Post subject: giving the line number of the error |
|
|
why doesn't give DeleD, when you get an error opening your map file a line number of where he found that error?
because i now get an error and it says:
"unexpected end of input"
i did get this error much more but it always whas because the complete file didn't had it's closing tags.
but now it looks like the error is somewhere in my objects, and i have almost 600 of them in my scene and i don't wan't to read 1700 pages of code.
so i would like to see when i get an error:
"unexpected end of input (line 837)"
like that.
also how does the DeleD code sort the objects because the latest object i made made the error so i think the code will have some problems there but the last object in the code isn't the last object i made.
EDIT: i did get my scene back through the automatic backup. but i would still like that this is implented.
also i did see that some other erros do give the line number so why not with all errors? |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Sat Jul 28, 2007 8:38 am Post subject: |
|
|
The reason why this error number doesn't include a line number is that... well, by definition, it should only occur at the end of input. If it doesn't, something completely different is wrong, and a line number won't help you anyway. But your sentiment is very common and understandable ("give me more info so I can solve things, you stupid black box"), so I better include the line number anyway.
With that behind us... what the heck did DeleD do with your files? It sounds like a cache-boundary error in the reader or writer (i.e. for example if the last character is exactly at a 4k boundary), but I have not encountered it yet. If you run into one of these, could you send it to me (paul [at] delgine [dot] com), so we can fix things? |
|
Back to top |
|
|
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Sat Jul 28, 2007 9:11 am Post subject: |
|
|
it ussually happens like this:
i am building my scene it's all looking great and at once i get some kind of error like this: "Access violation at adress 0000000".
most of the time i get this when i extrude something but sometimes i find some vertices in objects that are not connected to any poly they are just hanging there. so when i try to delete them i get that error you see above here.
also i only get this error when i move over the 3d view? or the view were the error happened in.
but then i try to save my scene and sometimes it works, but most of the time i get the do you want to save screen, i click on yes and i get the screen again?
now there is no way to get out of DeleD normally so i do ctrl-alt-del and end the progress.
then when i want to load my scene again i get these errors. and most of the time i am able to repair them but this time i couldn't. (thank god there is a backup )
it is also impossible to say what i have done before i did get the error because most of the time it are objects over the 1k poly's. |
|
Back to top |
|
|
|