85degree / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

Problems with Adhoc Admin Commands #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use XMPP Framework module on Drupal
2. Have account provisioning enabled
3. Whenever an account operation takes place

What is the expected output? What do you see instead?
I think the account creation/deletion/password change should take place
instead whenever drupal connects to the server i get this error:

Nov 17 00:07:19 c2s22e1650  info    Client connected
Nov 17 00:07:20 c2s22e1650  info    TLS negotiation started...
Nov 17 00:07:20 c2s22e1650  info    Authenticated as adminaccount@domain
Nov 17 00:07:20 xmppclient_listener error   Traceback[c2s]:
/usr/lib/prosody/util/dataforms.lua:56: bad argument #1 to 'ipairs' (table
expected, got nil): stack traceback:
    /usr/lib/prosody/net/xmppclient_listener.lua:44: in function
</usr/lib/prosody/net/xmppclient_listener.lua:44>
    [C]: in function 'ipairs'
    /usr/lib/prosody/util/dataforms.lua:56: in function 'form'
    mod_adhoc_cmd_admin.lua:149: in function <mod_adhoc_cmd_admin.lua:119>
    (tail call): ?
    /usr/lib/prosody/util/events.lua:79: in function 'fire_event'
    /usr/lib/prosody/core/stanza_router.lua:151: in function 'core_post_stanza'
    /usr/lib/prosody/core/stanza_router.lua:101: in function 'core_process_stanza'
    /usr/lib/prosody/net/xmppclient_listener.lua:46: in function
</usr/lib/prosody/net/xmppclient_listener.lua:46>
    [C]: in function 'xpcall'
    /usr/lib/prosody/net/xmppclient_listener.lua:46: in function 'cb_handlestanza'
    /usr/lib/prosody/core/xmlhandlers.lua:132: in function
</usr/lib/prosody/core/xmlhandlers.lua:107>
    [C]: in function 'parse'
    /usr/lib/prosody/net/xmppclient_listener.lua:62: in function 'data'
    /usr/lib/prosody/net/xmppclient_listener.lua:132: in function
</usr/lib/prosody/net/xmppclient_listener.lua:111>
    (tail call): ?
    /usr/lib/prosody/net/server.lua:818: in function
</usr/lib/prosody/net/server.lua:803>
    [C]: in function 'xpcall'
    /usr/bin/prosody:298: in function 'loop'
    /usr/bin/prosody:358: in main chunk
    [C]: ?
Nov 17 00:07:22 c2s22e1650  info    Client disconnected: closed
Nov 17 00:07:22 c2s22e1650  info    Destroying session for
adminaccount@domain/drupal-server (adminaccount@domain)

What version of the product are you using? On what operating system?
Latest module revision on Ubuntu 9.10

Please provide any additional information below.
None.

Original issue reported on code.google.com by maranda3...@gmail.com on 17 Nov 2009 at 12:21

GoogleCodeExporter commented 9 years ago
Fixed in the oh so un-fancy way of improving documentation.
Prosody > 0.6.0rc1 is needed for mod_adhoc_cmd_admin.

Original comment by flo...@babelmonkeys.de on 17 Nov 2009 at 5:50