I got the same issue today. Have you found a workaround Ittay? Here is my stack:
^Cbuildr aborted! undefined method `send_data' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:813:in `send_packet' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/protocol/base.rb:45:in `send_request' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/protocol/01/base.rb:96:in `close' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:829:in `send' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:829:in `request' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:207:in `close' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:216:in `close!' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/operations/file.rb:48:in `close' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/operations/file_factory.rb:47:in `open' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:454:in `write_internal' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/progressbar.rb:46:in `start' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/progressbar.rb:22:in `start' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:250:in `with_progress_bar' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:452:in `write_internal' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:938:in `call' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:938:in `do_version' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:938:in `each' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:938:in `do_version' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:908:in `when_channel_polled' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `to_proc' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/channel.rb:311:in `call' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/channel.rb:311:in `process' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:195:in `preprocess' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:195:in `each' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:195:in `preprocess' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:178:in `process' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:142:in `loop' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:142:in `loop_forever' /usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:142:in `loop' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:801:in `loop' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp/session.rb:786:in `connect!' /usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp.rb:32:in `start' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:439:in `write_internal' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:187:in `write' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:220:in `upload' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:214:in `upload' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:214:in `open' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:214:in `upload' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/transports.rb:114:in `upload' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/packaging/artifact.rb:166:in `upload' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/packaging/package.rb:187:in `package' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:482:in `invoke_with_call_chain' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `synchronize' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in `invoke_prerequisites' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:475:in `invoke_with_call_chain' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `synchronize' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `invoke_with_call_chain' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:463:in `invoke' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:323:in `local_task' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:348:in `[]' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:348:in `local_projects' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:348:in `each' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:348:in `local_projects' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:321:in `local_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:482:in `invoke_with_call_chain' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `synchronize' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in `invoke_with_call_chain' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:463:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:321:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:170:in `run' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:321:in `standard_exception_handling' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:161:in `run' /home/alexis/.gem/ruby/1.8/gems/buildr-1.3.3/bin/buildr:20 /usr/bin/buildr:19:in `load' /usr/bin/buildr:19 Alexis On Sun, Oct 26, 2008 at 4:28 AM, Ittay Dror <[EMAIL PROTECTED]> wrote: > Hi, > > > Buildr 1.3.3 hangs for me while trying to upload (using sftp). Buildr 1.3.2 > uploads fine. > > > Can someone verify if the code is indeed broken (or something in my > environment)? > > > Ittay > > > -- > -- > Ittay Dror <[EMAIL PROTECTED]> > > >
