error message "file coeff_perez.dat cannot be opened"

Hi Thomas,

I am running Ubuntu 11.04 and I installed Radiance through Synaptic package
manager

I copied the "coeff_perez.dat" file but gendaylit again did not work because
it could not access "defangle.dat"

I have now download the source code from the site but when I copy the file
to /usr/share/radiance the file has an "X" on the top right of its image.

Any new suggestions?

Sotiris

···

From: Thomas Bleicher [mailto:[email protected]]
Sent: Thursday, May 05, 2011 1:04 AM
To: Radiance general discussion
Subject: Re: [Radiance-general] error message "file coeff_perez.dat cannot
be opened"

Hi Sotiris.

How did you install Radiance/gendaylit?

If you are on Linux and used a recent Debian package then see here:

http://www.radiance-online.org/pipermail/radiance-dev/2011-January/001093.ht
ml

The package maintainer forgot to include the file in the package. You can
try to install an older package or use the source from the official website
(see below).

If you use another system (OS X or Windows) you should check that your
RAYPATH environment variable is set. Then check that the file is not in the
folders listed in RAYPATH.

If you are sure that you don't have the file grab the Radiance source code
from here:

http://www.radiance-online.org/software/rad4R0all.tar.gz

Extract the archive, search for the file and place it in one of the folders
listed in your RAYPATH. That should do it.

Regards,

Thomas

2011/5/4 Σωτήρης Παπαντωνίου <[email protected]>

Hello everyone,

i am trying to use command gendaylit by i receive the following message:

# gendaylit 3 2 15 -a 42 -o 108 -W 100 100
file coeff_perez.dat cannot be opened
lect_coeff_perez does not work

file: "coeff_perez.dat" is not in the computer. Can you please give me
any solution??

Thank you very much

Sotiris

  _____

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3614 - Release Date: 05/04/11

Hi again Thomas,

I used your commands and it seems to be working excellent now. Thank you
very much.

While I was trying to figure this out by myself I found that if I run
"gendaylit" command from the folder I have extracted the 2 files before
copying them to radiance folder the command works properly.

"Strange machines."

Have a good night from Greece and thank you once again.

Sotiris

···

From: Thomas Bleicher [mailto:[email protected]]
Sent: Wednesday, May 11, 2011 9:22 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] error message "file coeff_perez.dat cannot
be opened"

2011/5/11 Sotiris Papantoniou <[email protected]>

Hi Thomas,

I am running Ubuntu 11.04 and I installed Radiance through Synaptic package
manager

So I suspect that you have installed the incomplete package.

I copied the "coeff_perez.dat" file but gendaylit again did not work because
it could not access "defangle.dat"

Yes. That too was mentioned in the post I pointed you to.

I have now download the source code from the site but when I copy the file
to /usr/share/radiance the file has an "X" on the top right of its image.

Can you be more specific, please. I assume you are neither familiar with a
Unix/Linux system nor the command line. I also assume that you have unpacked
the source package and copied the two files "coeff_perez.dat" and
"defangle.dat" to /usr/share/radiance.

Now, if you still get errors it might be related to the permissions of those
two files (which might be indicated by the "X" you are referring to). Open a
console window and type the commands

sudo chmod 644 /usr/share/radiance/coeff_perez.dat
/usr/share/radiance/defangle.dat

sudo chown root:root /usr/share/radiance/coeff_perez.dat
/usr/share/radiance/defangle.dat

After the first command you will have to provide your password to get the
required privileges.

With this your Radiance installation should be complete.

Regards,

Thomas

  _____

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3630 - Release Date: 05/11/11