Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: more detailed errors  (Read 1759 times)

Deepthought

  • Full Member
  • ***
  • Posts: 157
    • View Profile
more detailed errors
« on: May 12, 2015, 01:23:46 am »

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

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: more detailed errors
« Reply #1 on: May 12, 2015, 01:37:01 pm »

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, 01:39:13 pm by AlecJames »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: more detailed errors
« Reply #2 on: May 13, 2015, 01:00:42 am »

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 13, 2015, 01:04:58 am by Steve »
Logged

Deepthought

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

Thanks, Steve!
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: more detailed errors
« Reply #4 on: May 14, 2015, 03:27:34 am »

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