What steps will reproduce the problem?
1. Log into account
2. Observe log
What is the expected output?
No error
What do you see instead?
c2s31632a0 error Traceback[c2s]: .../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: attempt to index local 'room' (a nil value)
stack traceback:
.../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(tail call): ?
(tail call): ?
/usr/lib/prosody/modules/mod_iq.lua:38: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(tail call): ?
/usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
/usr/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza'
/usr/lib/prosody/modules/mod_c2s.lua:281: 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?
recent trunk, recent mod_vcard_muc
Zash
on
Thanks for the report.
This is a community module, not maintained by the Prosody team.
Changes
tags Component-Community Status-Accepted
Zash
on
Guessing that it happens when a vcard query is sent to a room that does not exist.
Should be easy to fix *hint* *wink* ;)
What steps will reproduce the problem? 1. Log into account 2. Observe log What is the expected output? No error What do you see instead? c2s31632a0 error Traceback[c2s]: .../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: attempt to index local 'room' (a nil value) stack traceback: .../lib/prosody/modules/mod_vcard_muc/mod_vcard_muc.lua:65: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? (tail call): ? /usr/lib/prosody/modules/mod_iq.lua:38: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? /usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:281: 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? recent trunk, recent mod_vcard_muc
Thanks for the report. This is a community module, not maintained by the Prosody team.
ChangesGuessing that it happens when a vcard query is sent to a room that does not exist. Should be easy to fix *hint* *wink* ;)
ChangesFixed in https://hg.prosody.im/prosody-modules/rev/a533abe6ffd0
Changes