From: Country G. <cou...@sy...> - 2002-10-30 12:40:06
|
I found the items.mht and changed it with the following lines. X10I, A1, test_light1, All_Lights|Downstairs|Study X10I, A2, test_light2, = All_Lights|Downstairs|Bathroom X10I, A3, bathroom_light, All_Lights|Upstairs|Bathroom, = , preset When I run mh test_x10.pl I still get. ******************* 10/30/02 07:28:46 AM Re-reading c:\mh\bin\mh.private.ini and mh.ini 10/30/02 07:28:46 AM Translating items.mht -> ./../code/HOME/items.mhp 10/30/02 07:28:46 AM Initialized read_table_A.pl 10/30/02 07:28:46 AM Reading 1 code files 10/30/02 07:28:46 AM Evaluating user code 10/30/02 07:28:46 AM Oops1: Global symbol "$test_light2" requires = explicit package name at (eval 121) line 51. 10/30/02 07:28:46 AM Oops1: Global symbol "$All_Lights" requires = explicit package name at (eval 121) line 53. 10/30/02 07:28:46 AM Oops1: Global symbol "$test_light1" requires = explicit package name at (eval 121) line 57. Error in user code: 10/30/02 07:28:46 AM:=20 10/30/02 07:28:46 AM Oops1: Global symbol "$test_light1" requires = explicit package name at (eval 121) line 57. **************** When I look at the items.mhp which the read_table generates from the = mht things look good with=20 $test_light1 =3D new X10_Item('A1', ); $All_Lights =3D new Group; $All_Lights -> add($test_light1); $test_light2 =3D new X10_Item('A2', ); $All_Lights -> add($test_light2); So why is it having trouble with $test_light1, $test_light2 and = $All_Lights Line 52: ----- Original Message -----=20 From: "Alan Womack" <arw...@wo...> To: "Majordomo leben.com" <mis...@li...> Sent: Tuesday, October 29, 2002 11:57 PM Subject: re: [misterhouse-users] Newbe getting started.. You need the devices defined in items.mht This is usually a copy from mh/bin/items.mht that you put into your = personal code directory. Alan Hang in there, it's fun when you get it running! >> I am the first to admit I am a pretty basic programmer. >> However I am starting simple to get mh going. >> According to documentation the simplest start is >> mh -log mh.log test_x10.pl >> However I get the following. What am I missing? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ________________________________________________________ To unsubscribe from this list, go to: = http://sourceforge.net/mail/?group_id=1365 |