From: David N. <dno...@ya...> - 2006-12-30 05:31:31
|
That isn't the best solution because you will have to remember to replace that file everytime you upgrade to a new release. It's best not to modify any files under \misterhouse\mh to make upgrades easy. I'm not running on windows, but I think all you do is create a new c:\autoexec.bat file with the following contents: set mh_parms=c:/misterhouse/mh.private.ini then restart. Maybe someone running windows can confirm this. david ----- Original Message ----- From: "Mark Golledge" <mar...@go...> To: <mis...@li...> Sent: Friday, December 29, 2006 11:46 AM Subject: Re: [mh] Newbie Setup Help > Thanks Stu, > > Got it working now - placed mh.private.ini in misterhouse/mh/bin and > it's worked. > > Cheers, > > > Mark > > > > On 12/29/06, Stu Wells <st...@th...> wrote: >> Mark, >> >> I've found that copying the mh.ini to mh.private.ini in the mh\bin >> directory seems to work for me with no adjustments to any files, >> regardless of directory structure above it. Maybe i've been lucky and >> just happened to use a directory structure that works, but as I've had >> several I think your least effort solution is to leave the >> mh.private.ini in the bin directory, IIRC after the last upgrade I did, >> it was not overwritten. >> >> HTH, >> >> Stu >> >> Mark Golledge wrote: >> > What I've done is to delete mh and download again (since I'm starting >> > from scratch). >> > >> > I put this in it's own folder c:/mh and it works fine. >> > >> > What I want to do is to put this file into c:/misterhouse so it >> > becomes c:/misterhouse/mh >> > >> > I'll then create my own mh.private.ini and put it in c:/misterhouse >> > >> > I'm not sure what params I need to change and where to do it. The >> > document says to add this to your auto exec bat: >> > >> > set_mh parms=c:/misterhouse/mh.private.ini >> > >> > Could you please let me know how this is done as I'm confused. Assume >> > I also will need to change some of mh.private.ini >> > >> > >> > Sorry to be a pain - three days and I'm still none the wiser! >> > >> > >> > >> > On 12/29/06, Mark Golledge <mar...@go...> wrote: >> > >> >> I get the following - >> >> >> >> Error, no coded files found in Code_Dirs: c:/misterhouse/code >> >> ./../code/common >> >> >> >> >> >> File structure is - >> >> >> >> C:\misterhouse >> >> >> >> code - (nothing in folder) >> >> data - alpha, benchmarks etc >> >> sounds - chimes, fun etc >> >> mh.private.ini >> >> mh - bin, code, data, docs, lib, sounds, web (all files from >> >> download). >> >> >> >> >> >> Would it be helpful if I was to post mh.private.ini as I've amended? >> >> >> >> >> >> >> >> >> >> >> >> >> >> On 12/29/06, Ross Towbin <Mis...@ro...> wrote: >> >> >> >>> Mark, >> >>> >> >>> Try moving mh.private.ini to c:\misterhouse\mh\bin >> >>> >> >>> See if MH finds it there. >> >>> >> >>> --Ross Towbin >> >>> >> >>> At 08:56 AM 12/29/2006 Friday, Mark Golledge wrote: >> >>> >> >>>> Yes, have done that i.e. cd \misterhouse\mh\bin >> >>>> mh.bat >> >>>> >> >>>> Command prompt displayed as follows (can you help me decipher?) >> >>>> >> >>>> >> >>>> Microsoft Windows XP [Version 5.1.2600] >> >>>> (C) Copyright 1985-2001 Microsoft Corp. >> >>>> >> >>>> C:\Documents and Settings\xbox>cd \misterhouse\mh\bin >> >>>> >> >>>> C:\misterhouse\mh\bin>mh.bat >> >>>> Starting compiled mhe.exe >> >>>> >> >>>> Command: C:\misterhouse\mh\bin\mhe >> >>>> Pgm path : C:\misterhouse\mh\bin >> >>>> Pgm version: 2.100 (compiler: PAR 0.83) Last updated: Sun Oct 2 >> >>>> 12:32:46 2005 >> >>>> >> >>>> Perl version: 5.008003 Build 809 >> >>>> OS version: MSWin32 XP Service Pack 2,5,1,2600,2,2,0,768,1 NTFS >> >>>> Other : user=xbox pid=740 box=SMALLCOMPUTER cpu=x86-6 >> >>>> >> >>>> Read parm files: ./mh.ini ./mh.private.ini >> >>>> Code Directories: >> >>>> - ./../code/test >> >>>> - ./../code/common >> >>>> Loading Windows modules >> >>>> Loading Tk modules Version 800.024 >> >>>> Loading other modules >> >>>> Starting setup >> >>>> - using simple Text distance function >> >>>> - creating MS TTS object for voice_text=MS ... >> >>>> - sound card 1: Creative Sound Blaster PCI >> >>>> - engine used: msv5 >> >>>> Creating socket and serial objects >> >>>> - 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 49152 listen >> >>>> - creating xpl_hub_listen on udp 3865 listen >> >>>> - mh in xPL Hub mode >> >>>> - creating xpl_send_49152 on udp 49152 send >> >>>> Process id 740 written to ./../data/mh.pid >> >>>> Setting up tk window >> >>>> Reading previous log files >> >>>> Archiving previous ./../data/logs/*.log files .... >> >>>> External command file (xcmd_file): ./../house_cmd.txt >> >>>> HTML file : ./../web//ia5/index.shtml >> >>>> >> >>>> Warning: password_file ./../data/.password not found. Run >> >>>> mh/bin/set_password >> >>>> >> >>>> Done with setup >> >>>> >> >>>> 12/29/06 01:49:23 PM Re-reading and mh.ini >> >>>> html_alias alias /rrd dir does not exist, dir=./../data/rrd >> >>>> Voice names: Microsoft Mary, Microsoft Mike, Microsoft Sam >> >>>> Read 4 entries from ./../data/pronouncable_words.list >> >>>> Read 380 codes from ./../data/phone/phone.area_codes.list >> >>>> Read 14 entries from ./../data/phone/phone.caller_id.list >> >>>> 12/29/06 01:49:23 PM Translating test.mht -> ./../code/test/test.mhp >> >>>> 12/29/06 01:49:23 PM Initialized read_table_A.pl >> >>>> Reading code_dirs: ./../code/test ./../code/common >> >>>> 12/29/06 01:49:23 PM Reading 14 code files >> >>>> Undefined subroutine &Serial_Item::reset called at script/mh line >> >>>> 2359. >> >>>> mh had an error on startup, will not restart >> >>>> >> >>>> >> >>>> Can you tell from this if it's reading my own mh.private.ini (i.e. >> >>>> c:/misterhouse) rather than orginal mh.private.ini >> >>>> (c:/misterhouse/mh/bin)? >> >>>> >> >>>> Log file just says restart. >> >>>> >> >>>> Thanks >> >>>> >> >>>> On 12/29/06, Darryl <dva...@gm...> wrote: >> >>>> >> >>>>>> Can someone tell me how to change the env mh_parms since at the >> >>>>>> moment >> >>>>>> whenever I double click on mhe.exe it starts to load and then >> >>>>>> disappears. >> >>>>>> >> >>>>>> Thanks, >> >>>>>> >> >>>>>> Mark >> >>>>>> >> >>>>> Mark it might be helpful to run mh from a command prompt so you can >> >>>>> see what error is being thrown. >> >>>>> >> >>>>> -darryl >> >>>>> >> >>>>> >> >>> >> > >> > ------------------------------------------------------------------------- >> > Take Surveys. Earn Cash. Influence the Future of IT >> > Join SourceForge.net's Techsay panel and you'll get the chance to share >> > your >> > opinions on IT & business topics through brief surveys - and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> > ________________________________________________________ >> > To unsubscribe from this list, go to: >> > http://sourceforge.net/mail/?group_id=1365 >> > >> > >> > >> > >> > >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > |