Hi, I do apologise if this question has been asked but I couldn’t see it anywhere.
When running OpenNMT’s preprocess.lua as shown on the website I get the error message below this message. The command ‘luarocks list’ shows that tds is not installed. The command luarocks install tds
gives the following error message:
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /home/tel34/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest
I have installed torch & OpenNMT precisely as instructed so I can’t be the only one to come across this. I’d be grateful if somebody could tell me how they resolved the issue. Thanks.
Message given on th preprocess.lua:
/home/tel34/torch/install/bin/luajit: /home/tel34/torch/install/share/lua/5.1/trepl/init.lua:389: /home/tel34/torch/install/share/lua/5.1/trepl/init.lua:389: /home/tel34/torch/install/share/lua/5.1/trepl/init.lua:389: /home/tel34/torch/install/share/lua/5.1/trepl/init.lua:389: module 'tds' not found:No LuaRocks module found for tds
no field package.preload['tds']
no file '/home/tel34/.luarocks/share/lua/5.1/tds.lua'
no file '/home/tel34/.luarocks/share/lua/5.1/tds/init.lua'
no file '/home/tel34/torch/install/share/lua/5.1/tds.lua'
no file '/home/tel34/torch/install/share/lua/5.1/tds/init.lua'
no file './tds.lua'
no file '/home/tel34/torch/install/share/luajit-2.1.0-beta1/tds.lua'
no file '/usr/local/share/lua/5.1/tds.lua'
no file '/usr/local/share/lua/5.1/tds/init.lua'
no file '/home/tel34/.luarocks/lib/lua/5.1/tds.so'
no file '/home/tel34/torch/install/lib/lua/5.1/tds.so'
no file '/home/tel34/torch/install/lib/tds.so'
no file './tds.so'
no file '/usr/local/lib/lua/5.1/tds.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/tel34/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
preprocess.lua:1: in main chunk
[C]: in function 'dofile'
...el34/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670
tel34@Moses:~/OpenNMT$