POV-Ray : Newsgroups : povray.beta-test : Unknown key Error when nesting ini files. : Re: Unknown key Error when nesting ini files. Server Time
29 Apr 2024 11:00:13 EDT (-0400)
  Re: Unknown key Error when nesting ini files.  
From: Dr JC
Date: 4 Jun 2013 03:55:02
Message: <web.51ad9cf0d18ce5b5c580f6c60@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> > Alain <kua### [at] videotronca> wrote:
> >> How deep are your ini files nested?
> >> I've rendered several files with nested ini files without ever
> >> encoutering that error message. Normaly, I hardly have any nesting
> >> deeper than 3 or 4.
> >>
> >> Is it possible that one ini file tries to include a file that ultimately
> >> include it? In that case, you must have something like this:
> >>
> >> #ifndef(This_Include)
> >> #declare This_Include = version;
> >> .
> >> .
> >> body if the include file
> >> .
> >> .
> >> #end
> >>
> >> That way, if the inc file have already been included, it won't get
> >> parsed a second time.
> >
> > Are you talking about .ini files or .inc files?
> >
> >
> >
> Oups! My mistake. I almost never use ini files and missed the difference.
>
> Anyway, is it possible that one ini file may have a reference to a
> previous one?
No, there are no references to previous ini files. In fact, running the example
in the help section will generate the error messages.

I think its just a mess-up in how the error messages are handled. If there is
another 'real' error in the code, then the reported error message does not make
any sense and editor opens up in a line that does have the real error. Remove
the reference to the ini file in the original ini file and then the actual error
is reported correctly.

As mentioned previously, the ini error messages does not stop POV from rendering
the one scene. I have not tried to see if an animation sequence will continue
through this error message.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.