[typo] Jabber notification
scott at sigkill.org
Tue Dec 6 18:55:57 EST 2005
I swear, this all stuff all worked for me. Sigh. Can you file a
bug? I'll look at it as soon as I can.
On Dec 6, 2005, at 3:48 PM, Trejkaz wrote:
> Okay, it didn't take much to get me interested in this one. ;-)
> I turned on Jabber notification and messages weren't sending. No big
> deal, I assumed that some error was going on so as always, into the
>>> me = User.find_all
> => (cut)
>>> JabberNotify.send_message(me, "test", "Test body", "")
> ** Sending Test body to trejkaz at trypticon.org via jabber.
> NameError: undefined local variable or method `logger' for
> from ./lib/jabber.rb:17:in `send_message'
> from (irb):16
> Okay... but luckily there is an easy way to reproduce the error by
> TypeError: can't convert nil into String
> from ./vendor/jabber4r/lib/jabber4r/protocol.rb:225:in `+'
> from ./vendor/jabber4r/lib/jabber4r/protocol.rb:225:in
> from ./vendor/jabber4r/lib/jabber4r/session.rb:213:in
> from ./vendor/jabber4r/lib/jabber4r/session.rb:140:in `bind'
> from ./lib/jabber.rb:30:in `session'
> from (irb):18
> Any idea what's going on? The line it's pointing at concatenates some
> strings, the only variable one seems to be the host. So the host
> is nil,
> but why?
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list