Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: tiger8u2 on July 23, 2014, 09:50:36 pm

Title: Hal Script Error
Post by: tiger8u2 on July 23, 2014, 09:50:36 pm
So everything was going swimmingly and then I got this error:

HalScript Error 62 on line 9464 in column 3: Input past end of file

This is from HalScript.DBG
Code: [Select]
9461 - Function halReader(filename)
9462
9463 - Set objTextFile = fso.OpenTextFile(MyDir() & filename, 1, True)
9464 - text1 = objTextFile.ReadAll
9465 - objTextFile.Close
9466
9467 - halReader = text1
9468
9469 - End Function

I uninstalled and re-installed Hal but I still got the same error.

Any ideas?
Title: Re: Hal Script Error
Post by: Carl2 on July 24, 2014, 09:09:48 am
  A little more input including Computer info, OS, plugins, being used  which ver of hal you are using would be useful for anyone trying to help. 
Carl2
Title: Re: Hal Script Error
Post by: onthecuttingedge2005 on July 24, 2014, 10:05:58 am
So everything was going swimmingly and then I got this error:

HalScript Error 62 on line 9464 in column 3: Input past end of file

This is from HalScript.DBG
Code: [Select]
9461 - Function halReader(filename)
9462
9463 - Set objTextFile = fso.OpenTextFile(MyDir() & filename, 1, True)
9464 - text1 = objTextFile.ReadAll
9465 - objTextFile.Close
9466
9467 - halReader = text1
9468
9469 - End Function

I uninstalled and re-installed Hal but I still got the same error.

Any ideas?

sounds like a plugin conflict, try un-checking the most recent plugins see if the issue goes away.
Title: Re: Hal Script Error
Post by: tiger8u2 on July 24, 2014, 06:20:00 pm
@Carl2 - I thought of just attaching the HalScript.dbg file but since it didn't directly lead me to a specific plug-in I figured it might be something that has popped up before.

Problem went away AFTER I did exactly what OTCE said to do.  (Thanks OTCE!)  I thought maybe it had something to do with my editing the Hal6.uhp to add the blank space answer bug fix code you made way back when because I was also having that issue. 

Last night I uninstalled/re-installed Hal, re-updated the patterns with the Cload AIML, and then put the fix code in, selected only the plug-ins I knew did not generate any errors and tested Hal with no errors popping up.

Even though I had to start over from scratch, thanks to all you HEROS I am a bit more confident now about what I'm doing and why.