POV-Ray : Newsgroups : povray.programming : Running Povray with stdin via +I- returns "Render failed" Server Time
18 Apr 2024 07:01:54 EDT (-0400)
  Running Povray with stdin via +I- returns "Render failed" (Message 1 to 4 of 4)  
From: Adam Ryan
Subject: Running Povray with stdin via +I- returns "Render failed"
Date: 3 Sep 2014 15:05:01
Message: <web.54076590e8a75532fd3497020@news.povray.org>
I'm currently on Linux CentOS 7. I'm on Povray version
3.7.1-alpha.7695039.unofficial (but this also didn't work on Povray version 3.7
RC7). When I try to run Povray in terminal with STDIN I receive a "Render
failed" error.

Command I'm running:

cat pov.pov | povray +I-


Error:

Possible Parse Error: Cannot find file '-', even after trying to append file
 type extension.
Parse Error: Cannot open input file.
Fatal error in parser: Cannot parse input.
Render failed

Please let me know if you need more information.


Post a reply to this message

From: Le Forgeron
Subject: Re: Running Povray with stdin via +I- returns "Render failed"
Date: 3 Sep 2014 15:46:53
Message: <5407702d$1@news.povray.org>
On 03/09/2014 21:01, Adam Ryan wrote:
> I'm currently on Linux CentOS 7. I'm on Povray version
> 3.7.1-alpha.7695039.unofficial (but this also didn't work on Povray version 3.7
> RC7). When I try to run Povray in terminal with STDIN I receive a "Render
> failed" error.
> 
> Command I'm running:
> 
> cat pov.pov | povray +I-
> 
> 
> Error:
> 
> Possible Parse Error: Cannot find file '-', even after trying to append file
>  type extension.
> Parse Error: Cannot open input file.
> Fatal error in parser: Cannot parse input.
> Render failed
> 
> Please let me know if you need more information.
> 
> 
This is not supported.

The #macro system need to move back in file(s), which is not possible
with the stdin stream. Other functionalities also move back in file(s).
(such as loop)

The right call is:
* povray -Ipov.pov

Or

* cat - >pov.pov && povray -Ipov.pov
-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: Adam Ryan
Subject: Re: Running Povray with stdin via +I- returns "Render failed"
Date: 3 Sep 2014 16:05:01
Message: <web.540773d6a16ee651fd3497020@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> This is not supported.
>
> The #macro system need to move back in file(s), which is not possible
> with the stdin stream. Other functionalities also move back in file(s).
> (such as loop)
>
> The right call is:
> * povray -Ipov.pov
>
> Or
>
> * cat - >pov.pov && povray -Ipov.pov
> --
> IQ of crossposters with FU: 100 / (number of groups)
> IQ of crossposters without FU: 100 / (1 + number of groups)
> IQ of multiposters: 100 / ( (number of groups) * (number of groups))


http://www.povray.org/documentation/3.7.0/r3_2.html#r3_2_5_2

So is the documentation saying it's only possible on Windows? Or is the
documentation just out of date and it's not possible anywhere anymore?


Post a reply to this message

From: clipka
Subject: Re: Running Povray with stdin via +I- returns "Render failed"
Date: 3 Sep 2014 18:08:58
Message: <5407917a$1@news.povray.org>
Am 03.09.2014 22:02, schrieb Adam Ryan:
> Le_Forgeron <jgr### [at] freefr> wrote:
>> This is not supported.
>>
>> The #macro system need to move back in file(s), which is not possible
>> with the stdin stream. Other functionalities also move back in file(s).
>> (such as loop)
>>
>> The right call is:
>> * povray -Ipov.pov
>>
>> Or
>>
>> * cat - >pov.pov && povray -Ipov.pov
>> --
>> IQ of crossposters with FU: 100 / (number of groups)
>> IQ of crossposters without FU: 100 / (1 + number of groups)
>> IQ of multiposters: 100 / ( (number of groups) * (number of groups))
>
>
> http://www.povray.org/documentation/3.7.0/r3_2.html#r3_2_5_2
>
> So is the documentation saying it's only possible on Windows? Or is the
> documentation just out of date and it's not possible anywhere anymore?

I guess this was removed intentionally and the docs are out of date.


Post a reply to this message

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