#1653 mod_rest module 'util.error' not found:No LuaRocks module found for util.error

Reporter miltiades
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Status-New
  • Priority-Medium
  1. miltiades on

    What steps will reproduce the problem? 1. modules_enabled = {"rest"} put in virtual host 2. restart prosody What do you see instead? ``` modulemanager: Error initializing module 'rest' on 'prosody.mydomain.com': /usr/lib/prosody/util/startup.lua:144: module 'util.error' not found:No LuaRocks module found for util.error no field package.preload['util.error'] no file '/usr/lib/prosody/util/error.lua' no file '/usr/local/share/lua/5.2/util/error.lua' no file '/usr/local/share/lua/5.2/util/error/init.lua' no file '/usr/local/lib/lua/5.2/util/error.lua' no file '/usr/local/lib/lua/5.2/util/error/init.lua' no file '/usr/share/lua/5.2/util/error.lua' no file '/usr/share/lua/5.2/util/error/init.lua' no file '/var/lib/prosody/.luarocks/share/lua/5.2/util/error.lua' no file '/var/lib/prosody/.luarocks/share/lua/5.2/util/error/init.lua' no file '/usr/lib/prosody/util/error.so' no file '/usr/local/lib/lua/5.2/util/error.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/util/error.so' no file '/usr/lib/lua/5.2/util/error.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file '/var/lib/prosody/.luarocks/lib/lua/5.2/util/error.so' no file '/usr/lib/prosody/util.so' no file '/usr/local/lib/lua/5.2/util.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/util.so' no file '/usr/lib/lua/5.2/util.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file '/var/lib/prosody/.luarocks/lib/lua/5.2/util.so' stack traceback: [C]: in function '_real_require' /usr/lib/prosody/util/startup.lua:144: in function 'require' /usr/lib/prosody/modules/mod_rest/mod_rest.lua:9: in main chunk [C]: in function 'xpcall' /usr/lib/prosody/core/modulemanager.lua:178: in function 'do_load_module' /usr/lib/prosody/core/modulemanager.lua:256: in function 'load' /usr/lib/prosody/core/modulemanager.lua:78: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) /usr/lib/prosody/core/hostmanager.lua:108: in function 'activate' /usr/lib/prosody/core/hostmanager.lua:58: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) /usr/lib/prosody/util/startup.lua:330: in function 'prepare_to_start' /usr/lib/prosody/util/startup.lua:551: in function 'f' /usr/lib/prosody/util/async.lua:139: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125> ``` What version of the product are you using? On what operating system? - Debian buster - lua5.2 5.2.4-1.1+b2 amd64 Simple, extensible, embeddable programming language - prosody is already the newest version (0.11.2-1)

New comment

Not published. Used for spam prevention and optional update notifications.