Every repository with this icon (
Every repository with this icon (
| Description: | XMPP/Jabber Library for Ruby edit |
-
$ sudo gem install ln-xmpp4r Successfully installed ln-xmpp4r-0.4
1 gem installed
Installing ri documentation for ln-xmpp4r-0.4...
invalid option: --opname
Comments
-
Code:
Jabber::debug = true
client = Client::new()
client.connect('xmpp.yandex.ru', 443)Output:
10:10:07 Debugging mode enabled.
10:10:07 CONNECTING:
xmpp.yandex.ru:44310:10:07 SENDING:
<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='yandex.ru' xml:lang='en' version='1.0' >10:10:07 EXCEPTION:
NoMethodError undefined method `[]' for nil:NilClass /usr/lib/ruby/1.8/rexml/source.rb:149:in `initialize' /usr/lib/ruby/1.8/rexml/source.rb:16:in `new' /usr/lib/ruby/1.8/rexml/source.rb:16:in `create_from' /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=' /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:110:in `initialize' /usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `new' /usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize' /usr/lib/ruby/1.8/xmpp4r/streamparser.rb:39:in `new' /usr/lib/ruby/1.8/xmpp4r/streamparser.rb:39:in `parse' /usr/lib/ruby/1.8/xmpp4r/stream.rb:75:in `start' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:in `initialize' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:in `new' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:in `start' /usr/lib/ruby/1.8/xmpp4r/connection.rb:102:in `start' /usr/lib/ruby/1.8/xmpp4r/client.rb:86:in `start' /usr/lib/ruby/1.8/xmpp4r/connection.rb:61:in `connect' /usr/lib/ruby/1.8/xmpp4r/client.rb:71:in `connect' main.rb:14Exception caught in Parser thread! (NoMethodError)
/usr/lib/ruby/1.8/rexml/source.rb:149:ininitialize' /usr/lib/ruby/1.8/rexml/source.rb:16:innew' /usr/lib/ruby/1.8/rexml/source.rb:16:increate_from' /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:instream=' /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:110:ininitialize' /usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:innew' /usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:ininitialize' /usr/lib/ruby/1.8/xmpp4r/streamparser.rb:39:innew' /usr/lib/ruby/1.8/xmpp4r/streamparser.rb:39:inparse' /usr/lib/ruby/1.8/xmpp4r/stream.rb:75:instart' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:ininitialize' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:innew' /usr/lib/ruby/1.8/xmpp4r/stream.rb:72:instart' /usr/lib/ruby/1.8/xmpp4r/connection.rb:102:instart' /usr/lib/ruby/1.8/xmpp4r/client.rb:86:instart' /usr/lib/ruby/1.8/xmpp4r/connection.rb:61:inconnect' /usr/lib/ruby/1.8/xmpp4r/client.rb:71:in `connect' main.rb:14Comments
-
xmpp4r throws the REXML::ParseException on Cyrillic characters
2 comments Created 5 months ago by eveelWhen simplest Jabber client (like at http://dumpz.org/9810/) receives the UTF-8 string which contains Cyrillic (e.g. Russian) characters, xmpp4r fails with REXML::ParseException and won't work anymore.
Backtrace here: http://dumpz.org/9806/
Thanks.
Comments
-
I has not found method for finding jID by Nick in Jabber conference. Does this method exists?
Comments











