OCRemote icon indicating copy to clipboard operation
OCRemote copied to clipboard

loader.lua creates error on boot

Open SarcasticMax opened this issue 2 years ago • 1 comments

After flashing the loader.lua script to an EEPROM and attempting to boot a new computer and attempting to boot, I get an error beep with the analyser outputting "Last error: computer halted"

I attempted to run this on an already setup computer that was running OpenOS and get the following error:

/home/test.lua:3: attempt to index global 'component' (a nil value):
stack traceback:
    /home/test.lua:3: in function </home/test.lua:1.
    /home/test.lua:1: in main chunk
    (...tail calls...)
    [C]: in function 'xpcall'
    machine:798: in function 'xpcall'
    /lib/process.lua:63: in function </lib/process.lua:59>

image

SarcasticMax avatar Jun 01 '22 13:06 SarcasticMax