POV-Ray : Newsgroups : povray.general : New User getting Parse Error Server Time
31 Oct 2024 06:02:10 EDT (-0400)
  New User getting Parse Error (Message 1 to 5 of 5)  
From: Paul
Subject: New User getting Parse Error
Date: 2 Feb 2018 12:55:01
Message: <web.5a74a54a7b74b795bc980e590@news.povray.org>
Hi all!

I'm a relatively new user to Pov-Ray. I use it in conjunction with other
programs to generate scientific figures, so I have some mild experience, but
I've encountered an error that I'm not sure how to tackle.

The problem is as follows: I generate a Pov-Ray file successfully from one of
the programs I use, and I can open it in the editor without any issue. All the
commands are already present in the file so I should just be able to hit Run and
let it go.

However, while trying to parse the file, the program halts and I get the
following error: "Parse Error: Mesh face index out of range". This is
accompanied by a command line becoming highlighted in yellow, the "face_indices"
section of a mesh2 section.

I'm looking into the Mesh2 section of documentation, but I was wondering if
anyone out there could help me resolve this issue. Any help at all would be
extremely appreciated!


Post a reply to this message

From: Bald Eagle
Subject: Re: New User getting Parse Error
Date: 2 Feb 2018 15:05:00
Message: <web.5a74c3cf8878a2e3c437ac910@news.povray.org>
"Paul" <nomail@nomail> wrote:

> However, while trying to parse the file, the program halts and I get the
> following error: "Parse Error: Mesh face index out of range". This is
> accompanied by a command line becoming highlighted in yellow, the "face_indices"
> section of a mesh2 section.
>
> I'm looking into the Mesh2 section of documentation, but I was wondering if
> anyone out there could help me resolve this issue. Any help at all would be
> extremely appreciated!

Hi Paul - and Welcome!   :)

Usually when something's out of range (like in an array), you're trying to
access an element that hasn't been defined yet.
If there's a part of the mesh definition that lists how many faces, vertices,
etc - try incrementing that until the error goes away.

Then I'd investigate why the software gets it wrong.

Also, if you [ALT]-[M] to pull up the message window, and select Copy Pane, then
you can paste that here so we can see what the error is verbatim.


Post a reply to this message

From: clipka
Subject: Re: New User getting Parse Error
Date: 2 Feb 2018 21:00:14
Message: <5a7517ae$1@news.povray.org>
Am 02.02.2018 um 18:52 schrieb Paul:

> However, while trying to parse the file, the program halts and I get the
> following error: "Parse Error: Mesh face index out of range". This is
> accompanied by a command line becoming highlighted in yellow, the "face_indices"
> section of a mesh2 section.

This is an indication that whatever software created the file did a bad
job at it.


Post a reply to this message

From: Kenneth
Subject: Re: New User getting Parse Error
Date: 2 Feb 2018 22:45:00
Message: <web.5a752fbe8878a2e3a47873e10@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

>
> Also, if you [ALT]-[M] to pull up the message window, and select Copy Pane, then
> you can paste that here so we can see what the error is verbatim.

About 'copy pane', from docs...
"Note: This command only appears if the currently selected window is the
Messages window." Then it shows up under the EDIT menu.

BTW, there are times when the message window is *completely* blank during an
entire POV-Ray session; it's happening right now on my Windows version of 3.7.1
beta 9. No idea why. It comes and goes.

All_Console=on
Verbose=on

(I'm not so sure those are working correctly either, when turned OFF-- I
generally still see some messages, when I'm expecting(?) not to.)


Post a reply to this message

From: Mr
Subject: Re: New User getting Parse Error
Date: 5 Feb 2018 04:15:00
Message: <web.5a781f818878a2e316086ed00@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 02.02.2018 um 18:52 schrieb Paul:
>
> > However, while trying to parse the file, the program halts and I get the
> > following error: "Parse Error: Mesh face index out of range". This is
> > accompanied by a command line becoming highlighted in yellow, the "face_indices"
> > section of a mesh2 section.
>
> This is an indication that whatever software created the file did a bad
> job at it.

Yes, I hope this is not blender, is it?
If so, feel free to send me the blend file for debugging.


Post a reply to this message

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