#1283 Traceback in telnet console with Lua 5.3

Reporter Zash
Owner Zash
Stars ★ (1)
  • Milestone-0.12
  • Lua53
  • Type-Defect
  • Status-Fixed
  • Priority-Medium
  1. Zash on

    Steps to reproduce: Build Prosody with Lua 5.3 Enable internal statistics In telnet console: stats:show() Traceback[telnet]: plugins/mod_admin_telnet.lua:1254: bad argument #1 to 'format' (number has no integer representation) stack traceback: [C]: in function 'string.format' plugins/mod_admin_telnet.lua:1254: in upvalue 'format_stat' plugins/mod_admin_telnet.lua:1527: in function <plugins/mod_admin_telnet.lua:1516> [C]: in function 'tostring' plugins/mod_admin_telnet.lua:144: in method 'process_line' plugins/mod_admin_telnet.lua:83: in upvalue 'func' ./util/async.lua:127: in function <./util/async.lua:125>

  2. Zash on

    This was fixed in https://hg.prosody.im/trunk/rev/00f7af0be849

    • tags Lua53 Status-Fixed
    • owner Zash

New comment

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