[ejabberd] ejabberdctl get_vcard _or_ set_vcard still not working for me in 2.1.6

Franky Orson franky.orson at gmail.com
Sun Jul 31 22:26:16 MSD 2011


ejabberd at chat-server:~$ ejabberdctl *get_vcard* Frank chat-server.comnickname
Problem 'error badarg' occurred executing the command.
Stacktrace: [{io_lib,format,["~s","E"]},
             {ejabberd_ctl,try_call_command,3},
             {ejabberd_ctl,process2,3},
             {ejabberd_ctl,process,1},
             {rpc,'-handle_call_call/6-fun-0-',5}]

ejabberd at chat-server:~$ ejabberdctl *set_vcard* Frank
chat-server.comnickname Franky
Problem 'error {badxml,
                   {xmlelement,"vCard",
                       [{"xmlns","vcard-temp"}],

[[{xmlelement,"nickname",[],[{xmlcdata,"Franky"}]}]]},
                   {{case_clause,
                        [{xmlelement,"nickname",[],[{xmlcdata,"Franky"}]}]},
                    [{xml,element_to_string_nocatch,1},
                     {xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1},
                     {xml,element_to_string_nocatch,1},
                     {xml,element_to_string,1},
                     {xml,element_to_binary,1},
                     {mod_vcard_odbc,set_vcard,3},
                     {mod_vcard_odbc,process_sm_iq,3},
                     {mod_admin_extra,set_vcard_content,4}]}}' occurred
executing the command.
Stacktrace: [{xml,element_to_string,1},
             {xml,element_to_binary,1},
             {mod_vcard_odbc,set_vcard,3},
             {mod_vcard_odbc,process_sm_iq,3},
             {mod_admin_extra,set_vcard_content,4},
             {ejabberd_ctl,call_command,3},
             {ejabberd_ctl,try_call_command,3},
             {ejabberd_ctl,process2,3}]

Whether I specify nickname in lowercase or uppercase, it does not change a
thing.

Any ideas? Thanks

--Franky

On Sat, Apr 30, 2011 at 5:22 AM, Badlop <badlop at gmail.com> wrote:

> 2011/4/29 Franky Orson <franky.orson at gmail.com>:
> > sudo ejabberdctl get_vcard bob myTest.com NICKNAME
>
> Try to provide the username and host in lowercase.
>
>
> > BTW, the following fails eventough the nickname is set for that user bob
> - I
> > check via some client IQ - any idea? (using ejabberd 2.1.3)
>
> That command works for me using 2.1.6.
> Maybe it's a bug in 2.1.3
>
>
> ---
> Badlop
> ProcessOne
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20110731/9fe92247/attachment.html>


More information about the ejabberd mailing list