POV-Ray : Newsgroups : povray.beta-test : Doubled errors : Re: Doubled errors Server Time
26 Apr 2024 23:25:26 EDT (-0400)
  Re: Doubled errors  
From: Timo Poikola
Date: 18 Jul 2011 16:05:00
Message: <web.4e2490c7f2a3198ff1a674c50@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Timo Poikola wrote:
>
> > Is there any reason, why parse errors are seen twice:
>
> As Thorsten probably intended to convey, answering this
> question requires to see a small code sample that reproduces
> the effect.

Every now and then, if there is any problem which produce a "parse error",
exactly same error message is printed 2 times. This effect is totally
independent on actual reason of error.

2 examples:
----
File 'a.pov' line 2: Parse Error: Expected 'numeric expression', } found instead
File 'a.pov' line 2: Parse Error: Expected 'numeric expression', } found instead
Fatal error in parser: Cannot parse input.
Render failed

a.pov:
global_settings {assumed_gamma 1.5}
box {<-0.5, -0.5, -0.5>, }
light_source {<4, 5, -5>, rgb <1, 1, 1>}
camera {location <5, 5, -5> look_at <0, 0, 0>}
----
File 'b.pov' line 2: Parse Error: Expected 'object', undeclared identifier 'foo'
 found instead
File 'b.pov' line 2: Parse Error: Expected 'object', undeclared identifier 'foo'
 found instead
Fatal error in parser: Cannot parse input.
Render failed

b.pov:
global_settings {assumed_gamma 1.5}
object { foo }
light_source {<4, 5, -5>, rgb <1, 1, 1>}
camera {location <5, 5, -5> look_at <0, 0, 0>}
----

Povray: 3.7 RC3
Host computer: 64 bit Debian sid, AMD Phenom X4 9950, 8GB ram


Post a reply to this message

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