git-cleanup icon indicating copy to clipboard operation
git-cleanup copied to clipboard

Error

Open corpulent opened this issue 13 years ago • 2 comments

Hi, I keep getting this error when running cleaning out my branches.

/Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:273:in `rescue in sh': Grit::Git::GitTimeout (Grit::Git::GitTimeout)
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:252:in `sh'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:245:in `run'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:221:in `method_missing'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/grit-2.2.0/lib/grit/git.rb:228:in `native'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup/branch.rb:22:in `diff'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:30:in `block in run'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `each'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `each_with_index'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/lib/git-cleanup.rb:25:in `run'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/gems/git-cleanup-0.2.1/bin/git-cleanup:38:in `<top (required)>'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/git-cleanup:19:in `load'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/git-cleanup:19:in `<main>'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `eval'
    from /Users/username/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `<main>'

Got this in ruby-1.8.7-p371 and ruby-1.9.3-p374. I am running a Mac 10.8.2 mountain lion, and Ruby Version Manager.

corpulent avatar Apr 02 '13 15:04 corpulent

Can you try the code from master? PR #6 (from earlier today) works around these errors. I don't know why they're happening though.

mloughran avatar Apr 02 '13 16:04 mloughran

@mloughran I tried the latest master and it did not help. I think rvm has something to do with it. I will try without rvm this weekend, will let you know.

corpulent avatar Apr 05 '13 13:04 corpulent