« Return to Thread: Ubuntu Janty Mister house installation

Re: Ubuntu Janty Mister house installation

by williammanda :: Rate this Message:

Reply to Author | View in Thread

Ok one other problem solved. It seems I have gotten insteon PLM setup for the correct port. See other post.

http://www.nabble.com/Insteon-PLM-via-usb-to-serial-adapter-tt23806871.html

Now when I start MH via ./mh it stops. The output is from terminal:

william@C2Q:/projects/misterhouse/trunk/bin$ ./mh

Command: mh
Pgm  path   : .
Pgm  version: mh 2.105  Last updated: Mon Mar  9 14:52:14 2009
Perl version: 5.010000
OS   version: linux linux  
Other       : user=william pid=13897 box= cpu=-

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

Read parameter files: ./mh.ini ./mh.private.ini /projects/misterhouse/mh.private.ini
Debugging for insteon turned on
Code Directories:
 - /projects/misterhouse/code
 - ./../code/common
Loading Tk modules Version

Error, perl Tk module is not installed.
Tk windows will be disabled with the -tk 0 option. Error:Can't locate Tk.pm in @INC (@INC contains: /projects/misterhouse/code ./../code/common ./../lib ./../lib/site . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 394) line 2.
BEGIN failed--compilation aborted at (eval 394) line 2.


Loading other modules
Starting setup
 - using simple Text distance function
 - reading previous log files
 - archiving previous /projects/misterhouse/data/logs/*.log files ....
 - creating festival TTS socket on localhost:1314
 - read 3 trigger entries
 - creating http            on tcp   8080 buffered
 - creating server mhsend   on tcp   8084 buffered
 - creating server telnet   on tcp   1234 raw
 - creating xap_send        on udp  3639 send
 - creating xap_hub_listen  on udp  3639 listen
 - mh in xAP Hub mode
 - creating xap_listen_core on udp 49152 listen
 - creating xap_send_49152  on udp 49152 send
 - creating xpl_send        on udp  3865 send
 - creating xpl_listen      on udp 49153 listen
 - creating xpl_hub_listen  on udp  3865 listen
 - mh in xPL Hub mode
 - creating xpl_send_49153  on udp 49153 send
31/05/2009 18:48:42  [Insteon_PLM] serial:/dev/insteon:19200
 - creating Insteon PLM port on /dev/insteon
 - process id 13897 written to /projects/misterhouse/data/mh.pid
 - external command file (xcmd_file): ./../house_cmd.txt
 - HTML file     : ./../web/ia5/index.shtml

Warning:  password_file /projects/misterhouse/data/.password not found.  Run mh/bin/set_password

Done with setup

31/05/2009 18:48:42  Reading /projects/misterhouse/mh.private.ini and mh.ini
Voice names: female, male1, male2, male3
Read 4 entries from ./../data/pronouncable_words.list

Error, could not find the caller id file /projects/misterhouse/data/phone/phone.caller_id.list: No such file or directory
31/05/2009 18:48:42  Reading 1 .mht table files: test.mht
31/05/2009 18:48:42  Translating test.mht -> /projects/misterhouse/code/test.mhp
31/05/2009 18:48:42  Initialized read_table_A.pl
Reading code_dirs: /projects/misterhouse/code ./../code/common
31/05/2009 18:48:42  Reading 20 code files
File skipped due to -noload: test_x10.pl
31/05/2009 18:48:42  Evaluating user code
Warning: Dummy_Interface #0: Creating dummy interface for id=A1, state= and interface=.
Warning: Dummy_Interface #1: Creating dummy interface for id=B1, state= and interface=.
Warning: Dummy_Interface #2: Creating dummy interface for id=B2, state= and interface=.
Warning: Dummy_Interface #3: Creating dummy interface for id=C1, state= and interface=.
Warning: Dummy_Interface #4: Creating dummy interface for id=C1, state= and interface=.
Warning: Dummy_Interface #5: Creating dummy interface for id=D1, state= and interface=.
Warning: Dummy_Interface #6: Creating dummy interface for id=D2, state= and interface=.

Good code saved
running: aplay ./../sounds/sound_click1.wav
Restoring object states
Playing WAVE './../sounds/sound_click1.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
Object states restored
Activating voice commands
Starting monitor commands loop

Latitude: 35.31958873076469,  Longitude: -85.11417388916016,  Time Zone: -5
sunrise=6:27 sunset=20:49
sunrise twilight=5:58 sunset twilight=21:19
The moon is Half Waxing, 57% bright, and 8 days old
The next full moon is on Tuesday, July 7th
Can't call method "_parse_data" on an undefined value at ../lib/Insteon_PLM.pm line 267.
william@C2Q:/projects/misterhouse/trunk/bin$

I'm wondering if this again stems back to the Tk problem. Hopefully when I get through this setup correctly I can write a wiki for Ubuntu setup.
Thanks
William

 « Return to Thread: Ubuntu Janty Mister house installation