#756 mod_measure_storage produces a traceback upon loading

Reporter mt
Owner MattJ
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Accepted
  1. mt on

    What steps will reproduce the problem? 1. enable mod_munin and mod_measure_storage What is the expected output? What do you see instead? Some graphs. A traceback :) What version of the product are you using? On what operating system? hg:65ba769d9f05 Please provide any additional information below. Output from console log: https://q.zash.se/b9cf975a9c45.txt prosody.cfg.lua: https://q.zash.se/1f1cc15e9a37.txt It happen with in-memory storage and xmlarachive as well.

  2. mt on

    In case the link expieres, here is just the traceback: general info Hello and welcome to Prosody version hg:65ba769d9f05 stats debug Statistics enabled using built-in internal provider, collecting every 300 seconds general info Prosody is using the select backend for connection handling hostmanager debug Activated host: localhost usermanager debug Host 'localhost' now set to use user provider 'internal_plain' storagemanager debug Storage driver internal does not support store archive2 (archive), falling back to null driver modulemanager error Error initializing module 'mam' on 'localhost': ./core/statsmanager.lua:64: attempt to concatenate local 'type' (a nil value) stack traceback: ./core/modulemanager.lua:31: in function <./core/modulemanager.lua:31> ./core/statsmanager.lua:64: in function <./core/statsmanager.lua:63> (tail call): ? ...-modules/mod_measure_storage/mod_measure_storage.lua:17: in function 'time_method' ...-modules/mod_measure_storage/mod_measure_storage.lua:36: in function <...-modules/mod_measure_storage/mod_measure_storage.lua:28> ...home/michael/src/prosody-modules/mod_mam/mod_mam.lua:43: in main chunk (tail call): ? [C]: in function 'xpcall' ./core/modulemanager.lua:31: in function 'pcall' ./core/modulemanager.lua:176: in function 'do_load_module' ./core/modulemanager.lua:254: in function 'load' ./core/modulemanager.lua:76: in function '?' ./util/events.lua:78: in function <./util/events.lua:74> (tail call): ? ./core/hostmanager.lua:113: in function 'activate' ./core/hostmanager.lua:59: in function '?' ./util/events.lua:78: in function <./util/events.lua:74> (tail call): ? ./prosody:346: in function 'prepare_to_start' ./prosody:414: in main chunk [C]: ? portmanager debug No active service for s2s, activating... socket debug server.lua: new server listener on '[::]:5269' portmanager debug Added listening service s2s to [::]:5269 socket debug server.lua: new server listener on '[*]:5269' portmanager debug Added listening service s2s to [*]:5269 portmanager info Activated service 's2s' on [::]:5269, [*]:5269 portmanager debug No active service for munin, activating... socket debug server.lua: new server listener on '[127.0.0.1]:4950' portmanager debug Added listening service munin to [127.0.0.1]:4950 portmanager info Activated service 'munin' on [127.0.0.1]:4950 portmanager debug No active service for c2s, activating... socket debug server.lua: new server listener on '[::]:5222' portmanager debug Added listening service c2s to [::]:5222 socket debug server.lua: new server listener on '[*]:5222' portmanager debug Added listening service c2s to [*]:5222 portmanager info Activated service 'c2s' on [::]:5222, [*]:5222 portmanager debug No active service for legacy_ssl, activating... portmanager info Activated service 'legacy_ssl' on no ports

  3. MattJ on

    Thanks for the report! New module, hasn't received much testing yet. I'll look into it.

    Changes
    • tags Status-Accepted
    • owner MattJ

New comment

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