Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running luarocks without any argument gives an error that luarocks.config_cmd is missing. #24

Open
manjunaths opened this issue Jan 30, 2016 · 0 comments

Comments

@manjunaths
Copy link

When luarocks is run without any arguments, I get this error. The fix is to upgrade luarocks with

luarocks install luarocks

The error:

Error: LuaRocks scm bug (please report at https://github.com/keplerproject/luarocks/issues).
.../manju/torch/install/share/lua/5.1/luarocks/help.lua:77: module 'luarocks.config_cmd' not found:No LuaRocks module found for luarocks.config_cmd
no field package.preload['luarocks.config_cmd']
no file '/home/manju/torch/install/share/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/torch/install/share/lua/5.1/luarocks/config_cmd/init.lua'
no file '/home/manju/.luarocks/share/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/.luarocks/share/lua/5.1/luarocks/config_cmd/init.lua'
no file './luarocks/config_cmd.lua'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd/init.lua'
no file '/home/manju/torch/install/lib/luarocks/config_cmd.so'
no file '/home/manju/.luarocks/lib/lua/5.1/luarocks/config_cmd.so'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd.so'
no file './luarocks/config_cmd.so'
no file '/home/manju/torch/install/lib/lua/5.1/loadall.so'
no file '/home/manju/torch/install/lib/luarocks.so'
no file '/home/manju/.luarocks/lib/lua/5.1/luarocks.so'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks.so'
no file './luarocks.so'
no file '/home/manju/torch/install/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
.../manju/torch/install/share/lua/5.1/luarocks/help.lua:77: in function <.../manju/torch/install/share/lua/5.1/luarocks/help.lua:44>
(tail call): ?
[C]: in function 'xpcall'
...orch/install/share/lua/5.1/luarocks/command_line.lua:202: in function 'run_command'
/home/manju/torch/install/bin/luarocks:35: in main chunk
[C]: ?

This bug had originally been raised here and they directed it to be filed against this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant