[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    new user problem about xmpp4r
From:       Pat Kiatchaipipat <hb.pat87 () hotmail ! com>
Date:       2008-03-31 17:07:18
Message-ID: e44acfedb68ff0f6b40142b25a2b9117 () ruby-forum ! com
[Download RAW message or body]

Hi. I'm mew user of xmpp4r. After I install xmpp4r and xmpp4r-sample
completely.

and I go to C:\Program
Files\Ruby\lib\ruby\gems\1.8\gems\xmpp4r-0.3.2\data\doc\xmpp4r\examples\basic

that I found many example program and I choose change_password.rb to
work in command line.

then I type

change_password l3litzer@gmail.com ***my old password*** ***my new
password***

and It's not responding message for long time and show me error like
this



Connecting... Error: Bad file descriptor - connect(2)
../../../../../lib/xmpp4r/connection.rb:60:in `initialize': Bad file
descriptor
- connect(2) (Errno::EBADF)
        from ../../../../../lib/xmpp4r/connection.rb:60:in `new'
        from ../../../../../lib/xmpp4r/connection.rb:60:in `connect'
        from ../../../../../lib/xmpp4r/client.rb:71:in `connect'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
xmpp4r/examples/basic/change_password.rb:37
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
xmpp4r/examples/basic/change_password.rb:16:in `with_status'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
xmpp4r/examples/basic/change_password.rb:37

C:\Program
Files\Ruby\lib\ruby\gems\1.8\gems\xmpp4r-0.3.2\data\doc\xmpp4r\exampl
es\basic>


how can I solve this problem???
-- 
Posted via http://www.ruby-forum.com/.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic