#1268 Traceback[c2s]: /usr/lib/prosody/util/stanza.lua:62: invalid attribute value: expected string, got number

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

    What steps will reproduce the problem? 1. I just migrated to 0.11.1 from 0.10.3 on Ubuntu, disabling obsolete modules. What is the expected output? Prosody should work as usual What do you see instead? Messages are not transmitted anymore, and connexion to server seems unstable Please provide any additional information below. In logs, this same error motif is appearing repeatedly: Dec 13 23:34:07 c2s253e1f0 error Traceback[c2s]: /usr/lib/prosody/util/stanza.lua:62: invalid attribute value: expected string, got number stack traceback: [C]: in function 'error' /usr/lib/prosody/util/stanza.lua:62: in function 'check_text' /usr/lib/prosody/util/stanza.lua:75: in function 'check_attr' /usr/lib/prosody/util/stanza.lua:87: in function 'stanza' ...rosody/modules/prosody-modules/mod_smacks/mod_smacks.lua:507: in function <...rosody/modules/prosody-modules/mod_smacks/mod_ smacks.lua:456> (...tail calls...) /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) /usr/lib/prosody/core/stanza_router.lua:142: in function 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:276: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125> Dec 13 23:35:51 c2s35b38e0 error Traceback[c2s]: /usr/lib/prosody/util/serialization.lua:38: Can't serialize table: table has mu ltiple references stack traceback: [C]: in function 'error' /usr/lib/prosody/util/serialization.lua:38: in function 'fallback' /usr/lib/prosody/util/serialization.lua:135: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:194: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:194: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:194: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:194: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:194: in function 'serialize_table' /usr/lib/prosody/util/serialization.lua:220: in function </usr/lib/prosody/util/serialization.lua:218> (...tail calls...) /usr/lib/prosody/util/datamanager.lua:206: in function </usr/lib/prosody/util/datamanager.lua:195> (...tail calls...) ...es/prosody-modules/mod_cloud_notify/mod_cloud_notify.lua:44: in function <...es/prosody-modules/mod_cloud_notify/mod_cloud_n otify.lua:42> (...tail calls...) ...es/prosody-modules/mod_cloud_notify/mod_cloud_notify.lua:250: in function 'handle_notify_request' ...es/prosody-modules/mod_cloud_notify/mod_cloud_notify.lua:404: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) .../lib/prosody/modules/prosody-modules/mod_mam/mod_mam.lua:327: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) /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:276: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125>

  2. kalon33 on

    I use SQLite database BTW.

  3. gerald on

    This looks a bit like https://prosody.im/pastebin/a7c1754a-8691-40ee-a519-4d8757dbd7a2 from a few weeks ago, which has been fixed by https://hg.prosody.im/trunk/rev/6f97acc4583b (for me, at least). You probably already have, but make sure mod_cloud_notify and mod_smacks have been upgraded.

  4. Zash on

    More like https://hg.prosody.im/prosody-modules/rev/06e07b483805

    Changes
    • tags Component-Community

New comment

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