POV-Ray : Newsgroups : povray.newusers : POV-Ray Parse error : Re: POV-Ray Parse error Server Time
6 Oct 2024 03:03:48 EDT (-0400)
  Re: POV-Ray Parse error  
From: Chris B
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

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