Skip to content

stickynote Crashes if Boot Disk Removed #151

@cheapie

Description

@cheapie

If one of the computers has booted from a floppy disk, this floppy disk has been removed, and then the user attempts to run the stickynote program, the server immediately crashes:

ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'laptop' in callback node_on_receive_fields(): ...eative/worldmods/minetest-laptop/apps/stickynote_app.lua:9: attempt to index local 'data' (a nil value)
ERROR[Main]: stack traceback:
ERROR[Main]: 	...eative/worldmods/minetest-laptop/apps/stickynote_app.lua:9: in function 'formspec_func'
ERROR[Main]: 	...dic/worlds/creative/worldmods/minetest-laptop/app_fw.lua:11: in function 'get_formspec'
ERROR[Main]: 	...medic/worlds/creative/worldmods/minetest-laptop/mtos.lua:405: in function 'pass_to_app'
ERROR[Main]: 	...orlds/creative/worldmods/minetest-laptop/hardware_fw.lua:64: in function <...orlds/creative/worldmods/minetest-laptop/hardware_fw.lua:62>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions