#1003 luarocks module reorganization breaks prosodyctl about

Reporter Zash
Owner Nobody
Stars ★ (1)  
  • Type-Defect
  • Priority-Medium
  • Difficulty-VeryEasy
  • Status-Accepted
  1. Zash on

    What steps will reproduce the problem? 1. Install luarocks from source 2. Run prosodyctl about What is the expected output? LuaRocks: Installed (scm) What do you see instead? lua: ./prosodyctl:596: attempt to index field 'luarocks.cfg' (a nil value) stack traceback: ./prosodyctl:596: in function '?' ./prosodyctl:1523: in main chunk [C]: in ? Please provide any additional information below. This was introduced in luarocks commit f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa according to bisect. Using require instead of indexing package.loaded to reach luarocks.cfg appears to work.

  2. Zash on

    • tags Difficulty-VeryEasy

New comment