Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

giving the line number of the error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests
View previous topic :: View next topic  
Author Message
elementrix
DeleD PRO user


Joined: 11 May 2006
Posts: 1300
Location: The Netherlands

PostPosted: Fri Jul 27, 2007 8:19 am    Post subject: giving the line number of the error Reply with quote

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. Very Happy 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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Sat Jul 28, 2007 8:38 am    Post subject: Reply with quote

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. Smile

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
View user's profile Send private message Visit poster's website
elementrix
DeleD PRO user


Joined: 11 May 2006
Posts: 1300
Location: The Netherlands

PostPosted: Sat Jul 28, 2007 9:11 am    Post subject: Reply with quote

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 Very Happy )

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum