scene 0 tutorial error

Hi everyone,

I'm new to Radiance and walking through the "Scene 0" tutorial from
Chapter 1 in the book (also
http://radsite.lbl.gov/radiance/refer/tutorial.html). I only get up to
adding the box for the room before hitting my first error - rebuilding
the octree with the !genbox line gives this error:

invalid command line argument:

gray_paint

I have the gray_paint material defined above in the rad file and
double-check everything. What's going on?

Thanks,

Cramer

J. Cramer Silkworth

Transsolar Climate Engineering

Technical consulting for energy efficiency and environmental quality.

145 Hudson Street

Suite 402

New York, NY 10013

Tel 212 219 2255

Fax 212 219 2256

[email protected]

Hi Cramer,

As far as I can tell, this is not a Radiance-generated error. It must be coming from whatever shell you are using, and may indicate you have some hidden or illegal character in your file. Try deleting and re-entering the line to see if that helps.

What operating system are you using?

-Greg

···

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:01:54 AM PDT
Hi everyone,

I'm new to Radiance and walking through the "Scene 0" tutorial from Chapter 1 in the book (also http://radsite.lbl.gov/radiance/refer/tutorial.html). I only get up to adding the box for the room before hitting my first error - rebuilding the octree with the !genbox line gives this error:

invalid command line argument:

gray_paint

I have the gray_paint material defined above in the rad file and double-check everything. What's going on?

Thanks,

Cramer

Greg,

I deleted and re-entered the line, to no avail. I'm running Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

typescript.txt (5.24 KB)

···

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg
Ward
Sent: Thursday, June 05, 2008 12:09 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] scene 0 tutorial error

Hi Cramer,

As far as I can tell, this is not a Radiance-generated error. It
must be coming from whatever shell you are using, and may indicate
you have some hidden or illegal character in your file. Try deleting
and re-entering the line to see if that helps.

What operating system are you using?

-Greg

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:01:54 AM PDT
Hi everyone,

I'm new to Radiance and walking through the "Scene 0" tutorial from
Chapter 1 in the book (also http://radsite.lbl.gov/radiance/refer/
tutorial.html). I only get up to adding the box for the room before
hitting my first error - rebuilding the octree with the !genbox
line gives this error:

invalid command line argument:

gray_paint

I have the gray_paint material defined above in the rad file and
double-check everything. What's going on?

Thanks,

Cramer

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

Hi Cramer,

The "script" program doesn't work with "vi". How about sending me the Radiance input file that's generating the error, instead?

-Greg

···

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:32:14 AM PDT

Greg,

I deleted and re-entered the line, to no avail. I'm running Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

Greg,

Ah, yeah that file is a mess, sorry. Here's the rad file.

-Cramer

room.rad (339 Bytes)

···

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg
Ward
Sent: Thursday, June 05, 2008 12:44 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] scene 0 tutorial error

Hi Cramer,

The "script" program doesn't work with "vi". How about sending me
the Radiance input file that's generating the error, instead?

-Greg

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:32:14 AM PDT

Greg,

I deleted and re-entered the line, to no avail. I'm running
Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

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

Hi Cramer,

There doesn't seem to be anything wrong with your file, and oconv likes it just fine.

I just noticed in your typescript file that the problem is you have a different program also called "genbox" that is being called (from Gromacs) instead of the Radiance tool. The easiest fix is to run "which genbox" to find the path to the other one, then change your PATH order for your shell initialization file to point to the Radiance executable directory before the other one.

I hope this sorts out your problem.

-Greg

···

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:50:56 AM PDT

Greg,

Ah, yeah that file is a mess, sorry. Here's the rad file.

-Cramer

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg
Ward

Hi Cramer,

The "script" program doesn't work with "vi". How about sending me
the Radiance input file that's generating the error, instead?

-Greg

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:32:14 AM PDT

Greg,

I deleted and re-entered the line, to no avail. I'm running
Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

Greg,

That was it. I took me a minute to figure out how to find and edit the
initialization file (editing /home/[username]/.bashrc as root), but it
works now. Thanks!

-Cramer

···

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Greg
Ward
Sent: Thursday, June 05, 2008 1:10 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] scene 0 tutorial error

Hi Cramer,

There doesn't seem to be anything wrong with your file, and oconv
likes it just fine.

I just noticed in your typescript file that the problem is you have a
different program also called "genbox" that is being called (from
Gromacs) instead of the Radiance tool. The easiest fix is to run
"which genbox" to find the path to the other one, then change your
PATH order for your shell initialization file to point to the
Radiance executable directory before the other one.

I hope this sorts out your problem.

-Greg

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:50:56 AM PDT

Greg,

Ah, yeah that file is a mess, sorry. Here's the rad file.

-Cramer

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Greg
Ward

Hi Cramer,

The "script" program doesn't work with "vi". How about sending me
the Radiance input file that's generating the error, instead?

-Greg

From: "Cramer Silkworth" <[email protected]>
Date: June 5, 2008 9:32:14 AM PDT

Greg,

I deleted and re-entered the line, to no avail. I'm running
Terminal on
Gnome on Ubuntu 8.04, and created & edited the rad file with vi. I
attached the session.

Thanks,
Cramer

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