Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: more detailed errors  (Read 10840 times)

Deepthought

  • Full Member
  • ***
  • Posts: 157
    • View Profile
more detailed errors
« on: May 11, 2015, 09:23:46 pm »

I've been working on a program that produces anim8or files, and it keeps producing a bad file that produces the error dialog when i try to load it. Could you please add a console message to show what part of the file choked anim8or?
Logged

AlecJames

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: more detailed errors
« Reply #1 on: May 12, 2015, 09:37:01 am »

Just a guess - blank lines?

You could try removing blocks from the file - try half the file, then half again until you find the offending line.
 
A

(a bad file reason would be useful  :)  )
« Last Edit: May 12, 2015, 09:39:13 am by AlecJames »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: more detailed errors
« Reply #2 on: May 12, 2015, 09:00:42 pm »

I'll add an error message to the script console in the next posted build. It will show the line and line number that caused the error.
« Last Edit: May 12, 2015, 09:04:58 pm by Steve »
Logged

Deepthought

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: more detailed errors
« Reply #3 on: May 13, 2015, 10:18:44 am »

Thanks, Steve!
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: more detailed errors
« Reply #4 on: May 13, 2015, 11:27:34 pm »

There's a new build available that prints the error message.  See the "Ongoing Anim8or Development" forum for a copy.
Logged