I used the foo task above to try and upload the tar.gz created by copy/
export and then run it through the debugger. It seems to be caught in
a loop, I am including a trace of the code that is looping but do not
currently have time to go through it all.
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
/usr/lib/ruby/1.8/thread.rb:133: lock
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:102: @locked = true
/usr/lib/ruby/1.8/thread.rb:103: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:104: self
/usr/lib/ruby/1.8/thread.rb:134: begin
/usr/lib/ruby/1.8/thread.rb:135: yield
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:396: begin
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:397: @processing_data_requests = true
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:398: @data_requests.map! do |req|
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:414: @data_requests.compact!
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:416: @processing_data_requests = false
/usr/lib/ruby/1.8/thread.rb:137: unlock
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:112: Thread.critical = true
/usr/lib/ruby/1.8/thread.rb:113: @locked = false
/usr/lib/ruby/1.8/thread.rb:114: begin
/usr/lib/ruby/1.8/thread.rb:115: t = @waiting.shift
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:120: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:121: begin
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:125: self
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:203: @session.reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/
session.rb:328: IO.select([EMAIL PROTECTED],nil,nil,0) != nil
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:161: self
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
128: completed < @sftps.length
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
64: @sftps.each do |sftp|
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
66: begin
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
67: sftp.channel.connection.process(true)
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
/usr/lib/ruby/1.8/thread.rb:133: lock
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:102: @locked = true
/usr/lib/ruby/1.8/thread.rb:103: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:104: self
/usr/lib/ruby/1.8/thread.rb:134: begin
/usr/lib/ruby/1.8/thread.rb:135: yield
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:396: begin
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:397: @processing_data_requests = true
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:398: @data_requests.map! do |req|
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:414: @data_requests.compact!
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:416: @processing_data_requests = false
/usr/lib/ruby/1.8/thread.rb:137: unlock
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:112: Thread.critical = true
/usr/lib/ruby/1.8/thread.rb:113: @locked = false
/usr/lib/ruby/1.8/thread.rb:114: begin
/usr/lib/ruby/1.8/thread.rb:115: t = @waiting.shift
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:120: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:121: begin
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:125: self
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:203: @session.reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/
session.rb:328: IO.select([EMAIL PROTECTED],nil,nil,0) != nil
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:161: self
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
128: completed < @sftps.length
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
64: @sftps.each do |sftp|
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
66: begin
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
67: sftp.channel.connection.process(true)
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
/usr/lib/ruby/1.8/thread.rb:133: lock
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:102: @locked = true
/usr/lib/ruby/1.8/thread.rb:103: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:104: self
/usr/lib/ruby/1.8/thread.rb:134: begin
/usr/lib/ruby/1.8/thread.rb:135: yield
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:396: begin
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:397: @processing_data_requests = true
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:398: @data_requests.map! do |req|
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:414: @data_requests.compact!
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:416: @processing_data_requests = false
/usr/lib/ruby/1.8/thread.rb:137: unlock
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:112: Thread.critical = true
/usr/lib/ruby/1.8/thread.rb:113: @locked = false
/usr/lib/ruby/1.8/thread.rb:114: begin
/usr/lib/ruby/1.8/thread.rb:115: t = @waiting.shift
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:120: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:121: begin
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:125: self
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:203: @session.reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/
session.rb:328: IO.select([EMAIL PROTECTED],nil,nil,0) != nil
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:161: self
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
128: completed < @sftps.length
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
64: @sftps.each do |sftp|
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
66: begin
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
67: sftp.channel.connection.process(true)
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
/usr/lib/ruby/1.8/thread.rb:133: lock
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:102: @locked = true
/usr/lib/ruby/1.8/thread.rb:103: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:104: self
/usr/lib/ruby/1.8/thread.rb:134: begin
/usr/lib/ruby/1.8/thread.rb:135: yield
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:396: begin
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:397: @processing_data_requests = true
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:398: @data_requests.map! do |req|
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:414: @data_requests.compact!
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:416: @processing_data_requests = false
/usr/lib/ruby/1.8/thread.rb:137: unlock
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:112: Thread.critical = true
/usr/lib/ruby/1.8/thread.rb:113: @locked = false
/usr/lib/ruby/1.8/thread.rb:114: begin
/usr/lib/ruby/1.8/thread.rb:115: t = @waiting.shift
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:120: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:121: begin
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:125: self
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:203: @session.reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/
session.rb:328: IO.select([EMAIL PROTECTED],nil,nil,0) != nil
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:161: self
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
128: completed < @sftps.length
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
64: @sftps.each do |sftp|
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
66: begin
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
67: sftp.channel.connection.process(true)
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
/usr/lib/ruby/1.8/thread.rb:133: lock
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:98: while (Thread.critical = true;
@locked)
/usr/lib/ruby/1.8/thread.rb:102: @locked = true
/usr/lib/ruby/1.8/thread.rb:103: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:104: self
/usr/lib/ruby/1.8/thread.rb:134: begin
/usr/lib/ruby/1.8/thread.rb:135: yield
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:396: begin
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:397: @processing_data_requests = true
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:398: @data_requests.map! do |req|
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:414: @data_requests.compact!
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:416: @processing_data_requests = false
/usr/lib/ruby/1.8/thread.rb:137: unlock
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:111: return unless @locked
/usr/lib/ruby/1.8/thread.rb:112: Thread.critical = true
/usr/lib/ruby/1.8/thread.rb:113: @locked = false
/usr/lib/ruby/1.8/thread.rb:114: begin
/usr/lib/ruby/1.8/thread.rb:115: t = @waiting.shift
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:116: t.wakeup if t
/usr/lib/ruby/1.8/thread.rb:120: Thread.critical = false
/usr/lib/ruby/1.8/thread.rb:121: begin
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:122: t.run if t
/usr/lib/ruby/1.8/thread.rb:125: self
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:150: if !nonblock || reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:203: @session.reader_ready?
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/
session.rb:328: IO.select([EMAIL PROTECTED],nil,nil,0) != nil
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:161: self
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
128: completed < @sftps.length
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
64: @sftps.each do |sftp|
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
65: next if sftp.channel[:done]
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
channel.rb:192: ( @properties ||= Hash.new )[ name ]
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
66: begin
/usr/lib/ruby/gems/1.8/gems/capistrano-1.99.3/lib/capistrano/upload.rb:
67: sftp.channel.connection.process(true)
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
46: unless @instance || @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
59: unless @instantiation_failed
/usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:
60: @instance.__send__ sym, *args, &block
/usr/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/session.rb:
89: @driver.channel
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:148: process_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:392: return if @processing_data_requests
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/connection/
driver.rb:395: @data_requests_mutex.synchronize do
On Jul 2, 5:58 pm, Joshua S <[EMAIL PROTECTED]> wrote:
> are you using the following when trying to reproduce?
>
> set :deploy_via, :copy
> set :copy_strategy, :export
>
> I'll try to poke around when I get some time. Though I have been
> toying around with overriding put to use scp instead, the only draw
> back being I'd have to log in again.
>
> Also I just updated to 1.99.3 and get the same results.
>
> On Jul 2, 5:42 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
>
> > At this point, I'm suspecting an obscure Net::SFTP bug, but I'm still
> > unable to duplicate the problem. What I need is for someone who is
> > consistently experiencing the problem to delve into Net::SFTP and
> > Net::SSH and start debugging. That, or help me to duplicate the issue
> > somehow.
>
> > - Jamis
>
> > On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > I am having a similiar problem using cap deploy with copy_strategy =
> > > export and deploy_via = copy, I did the above and the log file ends
> > > with
>
> > > [DEBUG] Fri Jun 15 22:31:58 -0500 2007 -- transport.session: sending
> > > message >>"<some_random_stuff_here>"<<
> > > [DEBUG] Fri Jun 15 22:31:58 -0500 2007 -- sftp.operations.write:
> > > received request id 1
>
> > > and then it just stops and never does anything else. the file is
> > > created on the server with size 0.
>
> > > when I put the following into my deploy.rb it works just fine
>
> > > desc "foo task"
> > > task :foo, :only => {:primary => true} do
> > > put("AAABBBCCCDDDEEEFFF", "/tmp/xyz")
> > > end
>
> > > so it appears that it should work, any ideas?
>
> > > capistrano (1.99.2)
> > > net-sftp (1.1.0)
> > > net-ssh (1.1.2)
>
> > > On Jun 25, 10:15 pm, Isaac Devine <[EMAIL PROTECTED]> wrote:
> > > > Jamis,
>
> > > > I have the sameproblemin when using the deploy task on a just
> > > > capified rails app, using the copy strategy.
>
> > > > This is with OpenSSH(1:4.3p2-5~bpo.1) on the server(from
> > > > backports.org), Capistrano (v1.99.2) and Net:stp(1.1.0) on the client.
> > > > Client is running debian etch(stable), server debian sarge(oldstable).
>
> > > > Server is configured with public key auth.
>
> > > > non-ruby sftp command line works fine.
>
> > > > I will email you off list with the debug log ( I assume you meant "cap
> > > > whatever 2> debug.txt")
>
> > > > On Jun 26, 3:28 am, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> > > > > Dmitry,
>
> > > > > You can add the following to your deploy.rb:
>
> > > > > ssh_options[:verbose] = :debug
>
> > > > > Then, run your task as before, but redirect the output to a file:
>
> > > > > cap whatever > debug.txt
>
> > > > > Then edit debug.txt to remove any references to passwords or other
> > > > > sensitive information, and email it to me directly, and I'll see if I
> > > > > can figure out what's going wrong there.
>
> > > > > - Jamis
>
> > > > > On Jun 20, 2007, at 1:01 AM, Dmitry Kurochkin wrote:
>
> > > > > > Hi Jamis.
>
> > > > > > I've tried run method. It makes no difference.
> > > > > > Is there any way to get some kind of traces or other debug info?
> > > > > > So we can see what's the difference between the two cases.
>
> > > > > > Dmitry
>
> > > > > > On 19 июн, 01:52, Jamis Buck <[EMAIL PROTECTED]> wrote:
> > > > > >> It shouldn't make any difference at all, but what if you use "run"
> > > > > >> instead of "invoke_command"? The "invoke_command" method is
> > > > > >> intended
> > > > > >> mostly for internal use, or for situations where you need to
> > > > > >> programmatically switch between run/sudo.
>
> > > > > >> - Jamis
>
> > > > > >> On Jun 18, 2007, at 3:44 PM, Dmitry Kurochkin wrote:
>
> > > > > >>> I've thought about this but sftp works.
> > > > > >>> Besides capistranouploadgoes fine if I remove invoke_command
> > > > > >>> before
> > > > > >>> put.
>
> > > > > >>> Dmitry
>
> > > > > >>> On 18 июн, 18:30, DeRailed <[EMAIL PROTECTED]> wrote:
> > > > > >>>> Dmitry - I had a similar issue. In my case sftp was not enabled
> > > > > >>>> on
> > > > > >>>> the
> > > > > >>>> server, hence the call just hung. Make sure you can issue the
> > > > > >>>> sftp call from the command line...
>
> > > > > >>>> On 18 Jun, 06:59, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> > > > > >>>>> Dmitry,
>
> > > > > >>>>> Can you tell me what OS you are running locally? Also, what Ruby
> > > > > >>>>> version do you have installed locally? What versions of
> > > > > >>>>> Net::SSH and
> > > > > >>>>> Net::SFTP do you have installed? And how large is mapscript.so?
>
> > > > > >>>>> - Jamis
>
> > > > > >>>>> On Jun 18, 2007, at 12:46 AM, Dmitry Kurochkin wrote:
>
> > > > > >>>>>> Hi Capistrano devs.
>
> > > > > >>>>>> Thanks for your work! Capistrano is a great tool.
>
> > > > > >>>>>> I experience aproblemwithupload. I created a simple task to
> > > > > >>>>>>upload
> > > > > >>>>>> a library:
>
> > > > > >>>>>> namespace :mapscript do
> > > > > >>>>>> task :default, :roles => :app do
> > > > > >>>>>> invoke_command "mkdir -p #{shared_path}/lib"
> > > > > >>>>>> put File.read("lib/mapscript.so"), "#{shared_path}/lib/
> > > > > >>>>>> mapscript.so"
> > > > > >>>>>> end
> > > > > >>>>>> end
>
> > > > > >>>>>> Cap hangs afteruploadis started (deploying to a single server):
>
> > > > > >>>>>> * executing `mapscript'
> > > > > >>>>>> * executing "mkdir -p /home/roziv/shared/lib"
> > > > > >>>>>> servers: ["..."]
> > > > > >>>>>> Password:
> > > > > >>>>>> [...] executing command
> > > > > >>>>>> command finished
> > > > > >>>>>> servers: ["..."]
> > > > > >>>>>> * uploading /home/roziv/shared/lib/mapscript.so
> > > > > >>>>>> ** uploading data to ...:/home/roziv/shared/lib/mapscript.so
>
> > > > > >>>>>> Directory is successfully created and I see mapscript.so with 0
> > > > > >>>>>> size.
>
> > > > > >>>>>> If I comment the first command (i.e. invoke_command)uploadgoes
> > > > > >>>>>> fine.
>
> > > > > >>>>>> I did strace on ruby process and it seems to be running in
> > > > > >>>>>> infinite
> > > > > >>>>>> loop.
>
> > > > > >>>>>> Please ask if you need more info or help.
>
> > > > > >>>>>> Regards,
> > > > > >>>>>> Dmitry
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---