scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

SFTP Deployment #30

Closed kknoer closed 11 years ago

kknoer commented 11 years ago

I love this tool!

I am having a little trouble with SFTP deployment. I get all types of gem errors. Any tips? I have installed the net-sftp gem as it suggested.

scttnlsn commented 11 years ago

@kknoer Could you post the stack traces from the errors?

kknoer commented 11 years ago

/Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:118: [BUG] Segmentation fault ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.0]

-- Control frame information ----------------------------------------------- c:0044 p:---- s:0192 b:0192 l:000191 d:000191 CFUNC :g= c:0043 p:0057 s:0188 b:0187 l:000186 d:000186 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:118 c:0042 p:0078 s:0183 b:0183 l:000182 d:000182 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:51 c:0041 p:---- s:0177 b:0177 l:000176 d:000176 FINISH c:0040 p:---- s:0175 b:0175 l:000174 d:000174 CFUNC :new c:0039 p:0114 s:0169 b:0169 l:000168 d:000168 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/algorithms.rb:348 c:0038 p:0031 s:0149 b:0149 l:000148 d:000148 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/algorithms.rb:196 c:0037 p:0077 s:0146 b:0146 l:000145 d:000145 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/algorithms.rb:187 c:0036 p:0060 s:0142 b:0142 l:000141 d:000141 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/algorithms.rb:142 c:0035 p:0348 s:0138 b:0138 l:000129 d:000137 BLOCK /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/session.rb:189 c:0034 p:---- s:0135 b:0135 l:000134 d:000134 FINISH c:0033 p:---- s:0133 b:0133 l:000132 d:000132 CFUNC :loop c:0032 p:0019 s:0130 b:0130 l:000129 d:000129 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/session.rb:167 c:0031 p:0033 s:0125 b:0125 l:000116 d:000124 BLOCK /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/session.rb:204 c:0030 p:---- s:0122 b:0122 l:000121 d:000121 FINISH c:0029 p:---- s:0120 b:0120 l:000119 d:000119 CFUNC :loop c:0028 p:0011 s:0117 b:0117 l:000116 d:000116 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/session.rb:202 c:0027 p:0252 s:0114 b:0114 l:001a00 d:001a00 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/transport/session.rb:81 c:0026 p:---- s:0108 b:0108 l:000107 d:000107 FINISH c:0025 p:---- s:0106 b:0106 l:000105 d:000105 CFUNC :new c:0024 p:0458 s:0101 b:0101 l:000100 d:000100 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh.rb:186 c:0023 p:0029 s:0089 b:0089 l:000088 d:000088 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp.rb:31 c:0022 p:0109 s:0079 b:0079 l:000078 d:000078 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/backend/sftp.rb:17 c:0021 p:---- s:0074 b:0074 l:000073 d:000073 FINISH c:0020 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC :new c:0019 p:0105 s:0068 b:0068 l:000067 d:000067 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/backend.rb:24 c:0018 p:0024 s:0064 b:0064 l:000063 d:000063 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/command.rb:103 c:0017 p:0026 s:0059 b:0059 l:000058 d:000058 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/command.rb:119 c:0016 p:0013 s:0052 b:0052 l:000051 d:000051 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/command/status.rb:15 c:0015 p:0039 s:0049 b:0049 l:000035 d:000048 BLOCK /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/application.rb:38 c:0014 p:0078 s:0046 b:0046 l:000045 d:000045 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/command.rb:92 c:0013 p:---- s:0042 b:0042 l:000041 d:000041 FINISH c:0012 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :new c:0011 p:0127 s:0036 b:0036 l:000035 d:000035 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/application.rb:36 c:0010 p:0019 s:0030 b:0030 l:000029 d:000029 METHOD /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/lib/dandelion/application.rb:7 c:0009 p:0101 s:0026 b:0026 l:000025 d:000025 TOP /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/dandelion-0.3.10/bin/dandelion:7 c:0008 p:---- s:0024 b:0024 l:000023 d:000023 FINISH c:0007 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :load c:0006 p:0127 s:0018 b:0018 l:000a58 d:001f70 EVAL /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/bin/dandelion:19 c:0005 p:---- s:0015 b:0015 l:000014 d:000014 FINISH

196 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/agent.rb 197 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/key_manager.rb 198 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/methods/abstract.rb 199 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/methods/publickey.rb 200 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/methods/hostbased.rb 201 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/methods/password.rb 202 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/methods/keyboard_interactive.rb 203 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/authentication/session.rb 204 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/connection/term.rb 205 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/connection/channel.rb 206 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/service/forward.rb 207 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/connection/session.rb 208 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh.rb 209 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/constants.rb 210 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/errors.rb 211 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/packet.rb 212 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/base.rb 213 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/01/attributes.rb 214 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/01/name.rb 215 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/01/base.rb 216 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/02/base.rb 217 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/03/base.rb 218 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/04/attributes.rb 219 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/04/name.rb 220 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/04/base.rb 221 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/05/base.rb 222 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/06/attributes.rb 223 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol/06/base.rb 224 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/protocol.rb 225 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/response.rb 226 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/request.rb 227 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/operations/dir.rb 228 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/operations/upload.rb 229 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/operations/download.rb 230 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/operations/file.rb 231 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/operations/file_factory.rb 232 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp/session.rb 233 /Users/xxxx/.rvm/gems/ruby-1.9.3-p374/gems/net-sftp-2.1.1/lib/net/sftp.rb

[NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html

scttnlsn commented 11 years ago

That looks like it's beyond the scope of Dandelion. This looks relevant: http://bugs.ruby-lang.org/issues/5559