attempt to concatenate a nil value
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Reproduce the failure with luarocks install Lua-cURL on win32-x86, then start at src/luarocks/fs/win32.lua:275 and follow the calls through src/luarocks/fetch.lua. Check the related build and command stack shown in the report, and consider the issue done when the installation no longer raises the nil-concatenation error.
Written by the indexing model from the issue text.
Description
Using this command:
luarocks install Lua-cURL
I get this result:
Installing https://luarocks.org/lua-curl-0.3.9-1.src.rock
Error: LuaRocks 3.0.4 bug (please report at https://github.com/luarocks/luarocks/issues).
Arch.: win32-x86 (fs_use_modules = true)
[string "src/luarocks/fs/win32.lua"]:275: attempt to concatenate a nil value
stack traceback:
[string "src/luarocks/fs/win32.lua"]:275: in function 'luarocks.fs.make_temp_dir'
[string "src/luarocks/fetch.lua"]:69: in function 'luarocks.fetch.fetch_url_at_temp_dir'
[string "src/luarocks/fetch.lua"]:138: in function 'luarocks.fetch.fetch_and_unpack_rock'
[string "src/luarocks/cmd/build.lua"]:62: in function <[string "src/luarocks/cmd/build.lua"]:55>
(...tail calls...)
[string "src/luarocks/cmd/build.lua"]:155: in function 'luarocks.cmd.build.command'
(...tail calls...)
[C]: in function 'xpcall'
[string "src/luarocks/cmd.lua"]:484: in function 'luarocks.cmd.run_command'
[string "luarocks"]:35: in main chunk
[C]: in ?
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 479
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from luarocks/luarocks
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
[string "src/luarocks/manif/writer.lua"]:139: bad argument #1 to 'sort' (table expected, got string) Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in luarocks/luarocks
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Data Correction tbc
Difficulty 2/5 1-3 hours Newbie friendliness 68/100