Attempt to index field 'HookManager' error


#1

Hi!
After updating, I keep receiving this kind of error whatever command I ran:
/torch/install/bin/luajit: translate.lua:49: attempt to index field ‘HookManager’ (a nil value)
/torch/install/bin/luajit: tools/rest_translation_server.lua:39: attempt to index field ‘HookManager’ (a nil value)
/torch/install/bin/luajit: tools/rest_multi_models.lua:58: attempt to index field ‘HookManager’ (a nil value)
Can you help me?

Thank you!


(Guillaume Klein) #2

Hello,

Did you install OpenNMT with luarocks? If yes we recommend removing the installation to avoid this kind of issues when updating:

luarocks remove opennmt

#3

Thank you! I’ll try it.