POV-Ray : Newsgroups : povray.bugreports : Jump after error Server Time: 17 Jun 2019 06:46:12 GMT
  Jump after error (Message 1 to 7 of 7)  
From: Mike Horvath
Subject: Jump after error
Date: 21 Feb 2015 09:54:38
Message: <54e855de$1@news.povray.org>
I am getting the "Possible Parse Error: Degenerate cylinder, base point 
= apex point." error, but the editor is not jumping me to the location 
where the error occurred. Sorry I cannot provide an example. My scene is 
so complicated.


Post a reply to this message

From: James Holsenback
Subject: Re: Jump after error
Date: 21 Feb 2015 15:40:55
Message: <54e8a707$1@news.povray.org>
On 02/21/2015 04:54 AM, Mike Horvath wrote:
> I am getting the "Possible Parse Error: Degenerate cylinder, base point
> = apex point." error, but the editor is not jumping me to the location
> where the error occurred. Sorry I cannot provide an example. My scene is
> so complicated.

you have a cylinder someplace that has zero thickness ... if that's your 
intent try using a disc instead


Post a reply to this message

From: James Holsenback
Subject: Re: Jump after error
Date: 21 Feb 2015 15:41:37
Message: <54e8a731$1@news.povray.org>
On 02/21/2015 10:40 AM, James Holsenback wrote:
> On 02/21/2015 04:54 AM, Mike Horvath wrote:
>> I am getting the "Possible Parse Error: Degenerate cylinder, base point
>> = apex point." error, but the editor is not jumping me to the location
>> where the error occurred. Sorry I cannot provide an example. My scene is
>> so complicated.
>
> you have a cylinder someplace that has zero thickness ... if that's your
> intent try using a disc instead

not a bug btw


Post a reply to this message

From: clipka
Subject: Re: Jump after error
Date: 22 Feb 2015 14:34:20
Message: <54e9e8ec$1@news.povray.org>
Am 21.02.2015 um 10:54 schrieb Mike Horvath:
> I am getting the "Possible Parse Error: Degenerate cylinder, base point
> = apex point." error, but the editor is not jumping me to the location
> where the error occurred.

This is because it's not a hard parse error, just a type of warning. 
POV-Ray only jumps you to the error location when it aborts parsing.

That said, I do agree that POV-Ray should at least print some hint about 
the location of stuff it warns about; in fact, the Unix version has been 
doing that for ages, and it so happens that I've recently checked in a 
change to make the Windows version do the same at last, it just hasn't 
made it into a (semi-)official binary build of POV-Ray proper yet. It 
/did/ make it into UberPOV beta.10 though.


Post a reply to this message

From: Mike Horvath
Subject: Re: Jump after error
Date: 23 Feb 2015 04:21:13
Message: <54eaaab9$1@news.povray.org>
On 2/22/2015 9:34 AM, clipka wrote:
> Am 21.02.2015 um 10:54 schrieb Mike Horvath:
>> I am getting the "Possible Parse Error: Degenerate cylinder, base point
>> = apex point." error, but the editor is not jumping me to the location
>> where the error occurred.
>
> This is because it's not a hard parse error, just a type of warning.
> POV-Ray only jumps you to the error location when it aborts parsing.
>
> That said, I do agree that POV-Ray should at least print some hint about
> the location of stuff it warns about; in fact, the Unix version has been
> doing that for ages, and it so happens that I've recently checked in a
> change to make the Windows version do the same at last, it just hasn't
> made it into a (semi-)official binary build of POV-Ray proper yet. It
> /did/ make it into UberPOV beta.10 though.
>


It's not just a warning. Rendering stops completely.


Post a reply to this message

From: clipka
Subject: Re: Jump after error
Date: 24 Feb 2015 00:33:08
Message: <54ebc6c4$1@news.povray.org>
Am 23.02.2015 um 05:21 schrieb Mike Horvath:
> On 2/22/2015 9:34 AM, clipka wrote:
>> Am 21.02.2015 um 10:54 schrieb Mike Horvath:
>>> I am getting the "Possible Parse Error: Degenerate cylinder, base point
>>> = apex point." error, but the editor is not jumping me to the location
>>> where the error occurred.
>>
>> This is because it's not a hard parse error, just a type of warning.
>> POV-Ray only jumps you to the error location when it aborts parsing.
>>
>> That said, I do agree that POV-Ray should at least print some hint about
>> the location of stuff it warns about; in fact, the Unix version has been
>> doing that for ages, and it so happens that I've recently checked in a
>> change to make the Windows version do the same at last, it just hasn't
>> made it into a (semi-)official binary build of POV-Ray proper yet. It
>> /did/ make it into UberPOV beta.10 though.
>
> It's not just a warning. Rendering stops completely.

Are you sure it doesn't stop for some other reason?


Post a reply to this message

From: Kenneth
Subject: Re: Jump after error
Date: 27 Feb 2015 15:20:00
Message: <web.54f08aa3e3571c87f644696d0@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> I am getting the "Possible Parse Error: Degenerate cylinder, base point
> = apex point." error, but the editor is not jumping me to the location
> where the error occurred.

If I recall correctly (in Windows, using POV v 3.6.2), a more detailed
description of the error-- and maybe its line number in the SDL code?-- shows up
in the 'messages' pane after the render aborts.

I'm not running POV-Ray at the moment, sorry...


Post a reply to this message

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