Error Connecting

63 views
Skip to first unread message

cwaters

unread,
Sep 22, 2008, 1:28:42 PM9/22/08
to perl-net-jabber-bot
Hello,

This looks like a great project (and written in perl....woot!). I am
having a problem getting the examplebot.pl to work. I believe I have
satisfied all the dependencies.

[root@centos-xen-host perl]# ./examplebot.pl -server REMOVED -
conference_server REMOVED -user jenna -pass REMOVED
2008/09/22 10:23:20 ERROR (389): ERROR: Authorization failed:
2008/09/22 10:23:20 ERROR (391): error
2008/09/22 10:23:20 ERROR (391): not-authorized
Can't call method "GetUserID" on an undefined value at /usr/lib/perl5/
site_perl/5.8.8/Net/Jabber/Bot.pm line 560.

Here's the relavent line from Bot.pm:

my $from = $fromJID->GetUserID();


I can connect with the account provided from different bots I am
evaluating. Any direction would be appreciated.

clwaters

unread,
Sep 22, 2008, 1:44:23 PM9/22/08
to perl-net-jabber-bot
I guess I needed to supply the -port option. It's connecting now but
disconnecting because of the background_check subroutine.
Reply all
Reply to author
Forward
0 new messages