POV-Ray : Newsgroups : povray.newusers : POV-Ray Parse error Server Time
1 Nov 2024 10:19:57 EDT (-0400)
  POV-Ray Parse error (Message 1 to 4 of 4)  
From: Dan
Subject: POV-Ray Parse error
Date: 18 Aug 2009 08:25:00
Message: <web.4a8a9d32d6b7ccda53d4d41d0@news.povray.org>
I'm relatively new with POV-ray. i use it to render 3d images with eagle 3D and
everything has been working great. just recently i updated my POV-Ray to 3.7
beta 33. Now every time i try to render a PCB, even the existing ones, i get an
error that says "Parse Error: End of file reached but #end expected."  why is
this? any help would be great, i would really appreciate it.


Post a reply to this message

From: Chris B
Subject: Re: POV-Ray Parse error
Date: 18 Aug 2009 09:07:44
Message: <4a8aa7a0$1@news.povray.org>
"Dan" <djg### [at] psuedu> wrote in message 
news:web.4a8a9d32d6b7ccda53d4d41d0@news.povray.org...
> I'm relatively new with POV-ray. i use it to render 3d images with eagle 
> 3D and
> everything has been working great. just recently i updated my POV-Ray to 
> 3.7
> beta 33. Now every time i try to render a PCB, even the existing ones, i 
> get an
> error that says "Parse Error: End of file reached but #end expected."  why 
> is
> this? any help would be great, i would really appreciate it.
>

That's odd. I've been on beta 33 for a while and not seen that. Usually that 
error would mean you've got a #while, #if or #switch statement without a 
corresponding #end statement, but if that were the case you'd normally get 
the same error on 3.6.

Do you get this error with a very minimal scene, such as:

camera {location <0, 0,-1> look_at <0,0,0>}
light_source {<1,5,-1> color rgb 1}

sphere {0,0.5 pigment {rgb <1,0,0>}}

If so, then I'd say your installation is corrupt and I'd recommend 
re-installing. OTOH, if this minimal render works, then I'd look for 
something wrong with any code that is common to all of your scenes, such as 
an #include file that you add to all scenes, or a piece of SDL that you 
religiously copy into all scenes and see if you can spot something wrong 
there. You should be able to quickly narrow it down by adding any such code 
into the minimal scene file one piece at a time.

Regards,
Chris B.


Post a reply to this message

From: Dan
Subject: Re: POV-Ray Parse error
Date: 18 Aug 2009 11:25:00
Message: <web.4a8ac7a5998f449453d4d41d0@news.povray.org>
> That's odd. I've been on beta 33 for a while and not seen that. Usually that
> error would mean you've got a #while, #if or #switch statement without a
> corresponding #end statement, but if that were the case you'd normally get
> the same error on 3.6.
>
> Do you get this error with a very minimal scene, such as:
>
> camera {location <0, 0,-1> look_at <0,0,0>}
> light_source {<1,5,-1> color rgb 1}
>
> sphere {0,0.5 pigment {rgb <1,0,0>}}
>
> If so, then I'd say your installation is corrupt and I'd recommend
> re-installing. OTOH, if this minimal render works, then I'd look for
> something wrong with any code that is common to all of your scenes, such as
> an #include file that you add to all scenes, or a piece of SDL that you
> religiously copy into all scenes and see if you can spot something wrong
> there. You should be able to quickly narrow it down by adding any such code
> into the minimal scene file one piece at a time.
>
> Regards,
> Chris B.

Thanks chris, i had to reinstall the program and move a few .inc and .ini files
around..it works great now


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: POV-Ray Parse error
Date: 18 Aug 2009 12:32:14
Message: <4a8ad78e$1@news.povray.org>
Dan wrote:
> just recently i updated my POV-Ray to 3.7 beta 33.

As a new user, you should be using a release version, in this case POV-Ray 
3.6.2, not a POV-Ray beta version, which is for testing, and not for general 
use!

	Thorsten


Post a reply to this message

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