Skip to content

Attempt to perform arithmetic on a nil value (field 'y') #2

@daelvn

Description

@daelvn

For some reason, Sirocco has stopped working for me in a script that used to work. Might be due the fact that I'm running it on Alpine on WSL, and I used to run it on Arch, but I don't see the reason why it would affect it.

This is the stacktrace I'm getting:

/home/daelvn/.luaver/lua/5.1.5/bin/lua: .../luarocks/3.2.0_5.1/share/lua/5.1/sirocco/prompt.lua:355: attempt to perform arithmetic on field 'y' (a nil value)
stack traceback:
        [C]: ?
        .../luarocks/3.2.0_5.1/share/lua/5.1/sirocco/prompt.lua:355: in function 'update'
        .../luarocks/3.2.0_5.1/share/lua/5.1/sirocco/prompt.lua:429: in function <.../luarocks/3.2.0_5.1/share/lua/5.1/sirocco/prompt.lua:425>
        (...2 tail call(s)...)
        ...luarocks/rocks-5.1/rockwriter/1.0.2-1/bin/rockwriter:179: in main chunk
        [C]: ?

To reproduce it, I just did

$ luarocks install rockwriter
$ rockwriter example-1.0-1.rockspec

And it should break, although it works fine on my other machine.

It's not urgent, but help would be appreciated. Thanks!

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