pcond: error reading from pfilt process in fovimage

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:

Try pcond -h to reproduce the error.

Thanks,
Mostapha

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 Greg,

Just tested and shortening the file name doesn't help. It gives the same
error. Sorry that I forget to mention that I am running Radiance on Windows.

Thanks,
Mostapha

···

On Sun, Oct 19, 2014 at 11:54 PM, 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

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

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

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

Works fine on my system. Thanks Rob and Greg!

···

On Mon, Oct 20, 2014 at 11:20 AM, Guglielmetti, Robert < [email protected]> wrote:

--------
WARNING: At least one of the links in the message below goes to an .exe
file,
which could be malicious. To learn how to protect yourself, please go here:
https://commons.lbl.gov/x/_591B
--------

Yeah so that's not terribly useful info without this link:

Dropbox - Error - Simplify your life

In my defense, Outlook seems to default to sending the email when you
press "return" 2x quickly — which is, like, idiotic.

Anyhoo, Windows users, please grab the copy of pcond.exe found at the
above link and test it out, and report success/failure on this here
frequency.

- Rob

On 10/20/14, 9:16 AM, "Guglielmetti, Robert" <[email protected] > <mailto:[email protected]>> wrote:

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:
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

Ha...You are right!

Thank you for being awesome Greg and Rob! :wink:

Mostapha

PS: Max, I tested the new pcond for a number of falsecolor images and
everything looks to be working fine.

···

On Mon, Oct 20, 2014 at 12:05 PM, Guglielmetti, Robert < [email protected]> wrote:

--------
WARNING: At least one of the links in the message below goes to an .exe
file,
which could be malicious. To learn how to protect yourself, please go here:
https://commons.lbl.gov/x/_591B
--------

Order is important. Thanks Greg and Rob. =)

On 10/20/14, 9:25 AM, "Mostapha Sadeghipour" <[email protected] > <mailto:[email protected]>> wrote:

Works fine on my system. Thanks Rob and Greg!

On Mon, Oct 20, 2014 at 11:20 AM, Guglielmetti, Robert < > [email protected]<mailto:[email protected]>> wrote:
--------
WARNING: At least one of the links in the message below goes to an .exe
file,
which could be malicious. To learn how to protect yourself, please go here:
https://commons.lbl.gov/x/_591B
--------

Yeah so that's not terribly useful info without this link:

Dropbox - Error - Simplify your life

In my defense, Outlook seems to default to sending the email when you
press "return" 2x quickly — which is, like, idiotic.

Anyhoo, Windows users, please grab the copy of pcond.exe found at the
above link and test it out, and report success/failure on this here
frequency.

- Rob

On 10/20/14, 9:16 AM, "Guglielmetti, Robert" <[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>>> wrote:

I just built pond with Greg's latest checkin.

On 10/20/14, 7:43 AM, "Greg Ward" <[email protected]<mailto: > [email protected]><mailto:[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]><mailto:
[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:
Dropbox - Error - Simplify your life

Try pcond -h to reproduce the error.

Thanks,
Mostapha

_______________________________________________
Radiance-general mailing list
[email protected]<mailto:
[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

You aren't feeding the output of falsecolor into pcond, are you? Because that doesn't make sense.

-G

···

From: Mostapha Sadeghipour <[email protected]>
Subject: Re: [Radiance-general] pcond: error reading from pfilt process in fovimage
Date: October 20, 2014 11:17:40 AM CDT

Ha...You are right!

Thank you for being awesome Greg and Rob! :wink:

Mostapha

PS: Max, I tested the new pcond for a number of falsecolor images and everything looks to be working fine.

Hmm. Actually I do give the user the option to do it for any HDR image
including falsecolor images! In this case I was just testing to see if it
fails but in general I need to modify the workflow and make sure to give a
warning for falsecolor images. Thanks for the note. I really appreciate it.
Will get it fixed soon. - Mostapha

···

On Mon, Oct 20, 2014 at 2:40 PM, Greg Ward <[email protected]> wrote:

You aren't feeding the output of falsecolor into pcond, are you? Because
that doesn't make sense.

-G

*From: *Mostapha Sadeghipour <[email protected]>

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

*Date: *October 20, 2014 11:17:40 AM CDT

Ha...You are right!

Thank you for being awesome Greg and Rob! :wink:

Mostapha

PS: Max, I tested the new pcond for a number of falsecolor images and
everything looks to be working fine.

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