scttnlsn / dandelion

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

error when deploy several files #120

Closed leandroruel closed 9 years ago

leandroruel commented 9 years ago

i don't understand what's happening here, can someone give me a light here?

Dandelion error:

/usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:45:in read': No such file or directory - ../d11wtq/boris/bin/boris (Errno::ENOENT) from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:45:insymlink_content' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:31:in content' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:23:indata' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:27:in block (2 levels) in each' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/change.rb:12:incall' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/change.rb:12:in data' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:49:indeploy_change!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:13:in block in deploy_changeset!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:28:inblock in each' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:41:in block in each' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:37:ineach' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:37:in each' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:20:ineach' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:9:in deploy_changeset!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:55:indeploy_changeset!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:30:in execute!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/cli.rb:69:inexecute!' from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/bin/dandelion:8:in <top (required)>' from /usr/bin/dandelion:23:inload' from /usr/bin/dandelion:23:in `

'

scttnlsn commented 9 years ago

You likely have a symlink committed to your Git repository that points to a file that no longer exists (../d11wtq/boris/bin/boris). Is that the case?

TheLonelyGhost commented 9 years ago

For readability, the log file above:

/usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:45:in 'read': No such file or directory - ../d11wtq/boris/bin/boris (Errno::ENOENT)
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:45:in 'symlink_content'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:31:in 'content'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/tree.rb:23:in 'data'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:27:in block (2 levels) in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/change.rb:12:in 'call'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/change.rb:12:in 'data'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:49:in 'deploy_change!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:13:in block in 'deploy_changeset!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:28:inblock in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:41:in block in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:37:in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/diff.rb:37:in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/changeset.rb:20:in 'each'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/deployer.rb:9:in 'deploy_changeset!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:55:in 'deploy_changeset!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/command/deploy.rb:30:in 'execute!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/lib/dandelion/cli.rb:69:in 'execute!'
from /usr/lib/ruby/gems/1.9.1/gems/dandelion-0.4.6/bin/dandelion:8:in '<top (required)>'
from /usr/bin/dandelion:23:in 'load'
from /usr/bin/dandelion:23:in ''
leandroruel commented 9 years ago

i'm not sure, but i will look for it again. thanks