Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence contains no matching elements #57

Open
maciejjankowski opened this issue Sep 16, 2015 · 0 comments
Open

Sequence contains no matching elements #57

maciejjankowski opened this issue Sep 16, 2015 · 0 comments

Comments

@maciejjankowski
Copy link

vagrant@v:/vagrant$ git --version
git version 1.9.1
vagrant@v:/vagrant$ ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
vagrant@v:/vagrant$ uname -a
Linux v 3.13.0-52-generic #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

vagrant@v:/vagrant$ git_stats generate  --path=cms-java-experiments/
git rev-parse --short HEAD
git rev-list --pretty=format:'%h|%at|%ai|%aE' HEAD . | grep -v commit
git shortlog -se HEAD .
/usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/core_extensions/enumerable.rb:5:i
n `first!': Sequence contains no matching elements (RuntimeError)
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/git_data/repo.rb:55: in `block in commits'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/git_data/repo.rb:49: in `map'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/git_data/repo.rb:49: in `commits'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/git_data/repo.rb:61: in `commits_period'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/general.haml:19:in `block in singleton class'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/general.haml:-9:in `instance_eval'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/general.haml:-9:in `singleton class'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/general.haml:-11:in `__tilt_7297420'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `call'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/haml.rb:24:in `evaluate'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/stats_view/template.
rb:13:in `block in render'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/layout.haml:30:in `block
 in singleton class'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/layout.haml:-9:in `insta
nce_eval'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/layout.haml:-9:in `singl
eton class'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/templates/layout.haml:-11:in `__ti
lt_7297420'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `call'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/haml.rb:24:in `evaluate'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/stats_view/template.
rb:13:in `render'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/stats_view/view.rb:1
5:in `block in render_all'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/stats_view/view.rb:1
4:in `each'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/stats_view/view.rb:1
4:in `render_all'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/generator.rb:5:in `r
ender_all'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/lib/git_stats/cli.rb:20:in `genera
te'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_c
ommand'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
        from /usr/local/rvm/gems/ruby-2.2.2/gems/git_stats-1.0.14/bin/git_stats:10:in `<top (require
d)>'
        from /usr/local/rvm/gems/ruby-2.2.2/bin/git_stats:23:in `load'
        from /usr/local/rvm/gems/ruby-2.2.2/bin/git_stats:23:in `<main>'
        from /usr/local/rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
        from /usr/local/rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant