pcond: error reading from pfilt process in fovimage

Hi Mostapha,

I've noticed this issue with some images on the latest Radiance 4.2 versions as well.

Greg, the length of the file name doesn't seem to have any effect for me -- the errors remain the same. I've been ignoring the problem, so haven't traced the reason as for why it occurs, but it tends to manifest itself with Radiance images generated in certain atypical ways: (1) HDR photographs and (2) renderings using electric lighting via IES2Rad.

Here is another (very basic) rendering which has the same problem on Windows: https://dl.dropboxusercontent.com/u/3175325/pcond_error.pic

Best,
Alstan

···

On Mon, 20 Oct 2014 11:54:33 +0800, Greg Ward <[email protected]> wrote:

I couldn't reproduce the error under MacOS X. Did you try shortening the file name?

-Greg

From: Mostapha Sadeghipour <[email protected]>

Subject: [Radiance-general] pcond: error reading from pfilt process in fovimage

Date: October 19, 2014 10:06:12 PM CDT

Hi Radiance community,

Anybody else has issue running pcond in recent versions of Radiance? Here is the error.

pcond: error reading from pfilt process in fovimage

I still have the older version of Radiance (4.2..a) also installed which has no problem with the same image.

Here is one of the images which fails. Cloudy sky for Denver: Dropbox - Error - Simplify your life

Try pcond -h to reproduce the error.

Thanks,
Mostapha

Hi,
it must be a Windows problem.
no problems using mac or linux (head-release 3 weeks ago).

Jan

···

Am 10/20/14, 5:06 AM, schrieb Mostapha Sadeghipour:

Hi Radiance community,

Anybody else has issue running pcond in recent versions of Radiance? Here is the error.

/*pcond: error reading from pfilt process in fovimage*/

I still have the older version of Radiance (4.2..a) also installed which has no problem with the same image.

Here is one of the images which fails. Cloudy sky for Denver: Dropbox - Error - Simplify your life

Try pcond -h to reproduce the error.

Thanks,
Mostapha

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Dr.-Ing. Jan Wienold
Ecole Polytechnique F�d�rale de Lausanne (EPFL)
EPFL ENAC IA LIPID

LE 1 113 (Office)
Phone +41 21 69 38041

fyi in case anyone was trying to pipe falsecolor / gencumulativesky-generated
pics
through pfilt lately, the same error seemed to occur in this scenario - glad
it'll be cleared up :slight_smile:

~Max

···

Greg Ward <[email protected]> hat am 20. Oktober 2014 um 15:43
geschrieben:

Well, pfilt hasn't changed in 4 years and pcond hasn't changed in 8, so my
only remaining guess is that the new way we're calling popen() under Windows
is somehow at fault. This call that was hand-written by Georg Mischler was
recently replaced under Microsoft's Visual-C compiler, and I think the issue
is that I'm not explicitly setting the binary file type in pcond. Schorsch's
win_popen() must have done this for me without my realizing it.

I have checked in the new module and it should get recompiled at some point.
My apologies, and I hope this solves the issue.

In the short term, just use the older version of pcond. It's the same,
anyway.

Cheers,
-Greg

> From: Jan Wienold <[email protected]>
> Subject: Re: [Radiance-general] pcond: error reading from pfilt process in
> fovimage
> Date: October 20, 2014 5:02:09 AM CDT
>
> Hi,
> it must be a Windows problem.
> no problems using mac or linux (head-release 3 weeks ago).
>
> Jan
>
>
> Am 10/20/14, 5:06 AM, schrieb Mostapha Sadeghipour:
>> Hi Radiance community,
>>
>> Anybody else has issue running pcond in recent versions of Radiance? Here
>> is the error.
>>
>> pcond: error reading from pfilt process in fovimage
>>
>> I still have the older version of Radiance (4.2..a) also installed which
>> has no problem with the same image.
>>
>> Here is one of the images which fails. Cloudy sky for Denver:
>> Dropbox - Error - Simplify your life
>>
>> Try pcond -h to reproduce the error.
>>
>> Thanks,
>> Mostapha
>>
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

I just built pond with Greg's latest checkin.

···

On 10/20/14, 7:43 AM, "Greg Ward" <[email protected]<mailto:[email protected]>> wrote:

Well, pfilt hasn't changed in 4 years and pcond hasn't changed in 8, so my only remaining guess is that the new way we're calling popen() under Windows is somehow at fault. This call that was hand-written by Georg Mischler was recently replaced under Microsoft's Visual-C compiler, and I think the issue is that I'm not explicitly setting the binary file type in pcond. Schorsch's win_popen() must have done this for me without my realizing it.

I have checked in the new module and it should get recompiled at some point. My apologies, and I hope this solves the issue.

In the short term, just use the older version of pcond. It's the same, anyway.

Cheers,
-Greg

From: Jan Wienold <[email protected]<mailto:[email protected]>>

Subject: Re: [Radiance-general] pcond: error reading from pfilt process in fovimage

Date: October 20, 2014 5:02:09 AM CDT

Hi,
it must be a Windows problem.
no problems using mac or linux (head-release 3 weeks ago).

Jan

Am 10/20/14, 5:06 AM, schrieb Mostapha Sadeghipour:
Hi Radiance community,

Anybody else has issue running pcond in recent versions of Radiance? Here is the error.

pcond: error reading from pfilt process in fovimage

I still have the older version of Radiance (4.2..a) also installed which has no problem with the same image.

Here is one of the images which fails. Cloudy sky for Denver: https://www.dropbox.com/s/f47p292vxe0ivql/CIE_cloudySky_sky_6_21%40900_radAnalysis_skyView.HDR?dl=0

Try pcond -h to reproduce the error.

Thanks,
Mostapha

I'll try to reproduce the error again when in front of the work machine and let
you know- if I recall correctly I just fed a DIVA-generated HDR (from a
rpict+gencumulativesky run) to pfilt, and it wouldn't eat it. Could not figure
that one out.

m

···

Greg Ward <[email protected]> hat am 20. Oktober 2014 um 16:35
geschrieben:

Umm... maybe not. This is specific to pcond -- I didn't find a similar
oversight in any of the other programs. Can you tell me what command(s) are
giving your errors, exactly?

Thanks!
-Greg

> From: Max D <[email protected]>
> Subject: Re: [Radiance-general] pcond: error reading from pfilt process in
> fovimage
> Date: October 20, 2014 9:21:21 AM CDT
>
> fyi in case anyone was trying to pipe falsecolor /
> gencumulativesky-generated
> pics
> through pfilt lately, the same error seemed to occur in this scenario - glad
> it'll be cleared up :slight_smile:
>
> ~Max
>
>> Greg Ward <[email protected]> hat am 20. Oktober 2014 um 15:43
>> geschrieben:
>>
>>
>> Well, pfilt hasn't changed in 4 years and pcond hasn't changed in 8, so my
>> only remaining guess is that the new way we're calling popen() under
>> Windows
>> is somehow at fault. This call that was hand-written by Georg Mischler was
>> recently replaced under Microsoft's Visual-C compiler, and I think the
>> issue
>> is that I'm not explicitly setting the binary file type in pcond.
>> Schorsch's
>> win_popen() must have done this for me without my realizing it.
>>
>> I have checked in the new module and it should get recompiled at some
>> point.
>> My apologies, and I hope this solves the issue.
>>
>> In the short term, just use the older version of pcond. It's the same,
>> anyway.
>>
>> Cheers,
>> -Greg
>>
>>> From: Jan Wienold <[email protected]>
>>> Subject: Re: [Radiance-general] pcond: error reading from pfilt process in
>>> fovimage
>>> Date: October 20, 2014 5:02:09 AM CDT
>>>
>>> Hi,
>>> it must be a Windows problem.
>>> no problems using mac or linux (head-release 3 weeks ago).
>>>
>>> Jan
>>>
>>>
>>> Am 10/20/14, 5:06 AM, schrieb Mostapha Sadeghipour:
>>>> Hi Radiance community,
>>>>
>>>> Anybody else has issue running pcond in recent versions of Radiance? Here
>>>> is the error.
>>>>
>>>> pcond: error reading from pfilt process in fovimage
>>>>
>>>> I still have the older version of Radiance (4.2..a) also installed which
>>>> has no problem with the same image.
>>>>
>>>> Here is one of the images which fails. Cloudy sky for Denver:
>>>> Dropbox - Error - Simplify your life
>>>>
>>>> Try pcond -h to reproduce the error.
>>>>
>>>> Thanks,
>>>> Mostapha
>>>>
>> _______________________________________________
>> Radiance-general mailing list
>> [email protected]
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general