Posted 22 April 2013 - 08:49 AM
Title: Help with Debug (Bios: 336: expected string, string)
I'm working on an automation script but cannot sort through this last error. Background: It only throws and error the first time I run the script…
Pastebin of associated code:
bcm - http://pastebin.com/8gfvJpbE
a modified version of Direwolf20's button API.
button - http://pastebin.com/X4gZh0vc
Bios: 336 relates to the fileload routine, which is only used in the scripts by the API load call, but testing with just the API load call doesn't give me any errors. The button API is in the root directory of the computer with the bcm script.
I get the Bios error the first time I run bcm, I get a second error the first time I click the monitor buttons "button 75: attempt to call nil" but again only the first time I run the script. to get the script running I have to run it three times and everything works just fine. Currently the button's functions themselves don't do anything but change the colors (shelved this after some frustration) but now that I understand relays I want to get this level of automation going again..
Any help would be appreciated….
I'm working on an automation script but cannot sort through this last error. Background: It only throws and error the first time I run the script…
Pastebin of associated code:
bcm - http://pastebin.com/8gfvJpbE
a modified version of Direwolf20's button API.
button - http://pastebin.com/X4gZh0vc
Bios: 336 relates to the fileload routine, which is only used in the scripts by the API load call, but testing with just the API load call doesn't give me any errors. The button API is in the root directory of the computer with the bcm script.
I get the Bios error the first time I run bcm, I get a second error the first time I click the monitor buttons "button 75: attempt to call nil" but again only the first time I run the script. to get the script running I have to run it three times and everything works just fine. Currently the button's functions themselves don't do anything but change the colors (shelved this after some frustration) but now that I understand relays I want to get this level of automation going again..
Any help would be appreciated….