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

gitlab integration: undefined method `commit_line' for nil:NilClass (NoMethodError) #125

Closed
JohnBat26 opened this issue Jan 27, 2016 · 7 comments
Assignees
Labels

Comments

@JohnBat26
Copy link

Hello.

When I run command:

pronto run -f gitlab 

I get next error:

/home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/lib/pronto/formatter/gitlab_formatter.rb:12:in `block in format': undefined method `commit_line' for nil:NilClass (NoMethodError)
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/lib/pronto/formatter/gitlab_formatter.rb:7:in `map'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/lib/pronto/formatter/gitlab_formatter.rb:7:in `format'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/lib/pronto.rb:43:in `run'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/lib/pronto/cli.rb:52:in `run'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/gems/pronto-0.5.3/bin/pronto:6:in `<top (required)>'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/bin/pronto:23:in `load'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/bin/pronto:23:in `<main>'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/bin/ruby_executable_hooks:15:in `eval'
        from /home/gitlab-runner/.rvm/gems/ruby-2.3.0@wc_2_4/bin/ruby_executable_hooks:15:in `<main>'

@mmozuras mmozuras self-assigned this Feb 1, 2016
@mmozuras mmozuras added the bug label Feb 28, 2016
@marcosgugs
Copy link

+1

@marcosgugs
Copy link

I'm getting the same error.

@mmozuras
Copy link
Member

@marcosgugs which version are you using? 0.7.1?

@marcosgugs
Copy link

@mmozuras Yes, 0.7.1!

@siddhant-mohan
Copy link

same error, again and again

@gitanshu
Copy link

Same error in pronto-0.8.0

@mmozuras
Copy link
Member

Released a fix with v0.8.1.

apiology pushed a commit to apiology/pronto that referenced this issue Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants