Skip to content

Failure with stack level too deep #829

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

Closed
takke opened this issue May 6, 2020 · 0 comments · Fixed by #830
Closed

Failure with stack level too deep #829

takke opened this issue May 6, 2020 · 0 comments · Fixed by #830

Comments

@takke
Copy link
Contributor

takke commented May 6, 2020

github-changelog-generator gets the following error for our repository.

>github_changelog_generator -u sakura-editor -p sakura --verbose
Using these options:
:date_format=>"%Y-%m-%d"
:output=>"CHANGELOG.md"
:base=>"HISTORY.md"
:issues=>true
:add_issues_wo_labels=>true
:add_pr_wo_labels=>true
:pulls=>true
:filter_issues_by_milestone=>true
:author=>true
:unreleased=>true
:unreleased_label=>"Unreleased"
:compare_link=>true
:exclude_labels=>["duplicate", "question", "invalid", "wontfix", "Duplicate", "Question", "Invalid", "Wontfix", "Meta: Exclude From Changelog"]
:summary_labels=>["Release summary", "release-summary", "Summary", "summary"]
:breaking_labels=>["backwards-incompatible", "Backwards incompatible", "breaking"]
:enhancement_labels=>["enhancement", "Enhancement", "Type: Enhancement"]
:bug_labels=>["bug", "Bug", "Type: Bug"]
:deprecated_labels=>["deprecated", "Deprecated", "Type: Deprecated"]
:removed_labels=>["removed", "Removed", "Type: Removed"]
:security_labels=>["security", "Security", "Type: Security"]
:configure_sections=>{}
:add_sections=>{}
:issue_line_labels=>[]
:max_issues=>nil
:simple_list=>false
:ssl_ca_file=>nil
:verbose=>true
:header=>"# Changelog"
:merge_prefix=>"**Merged pull requests:**"
:issue_prefix=>"**Closed issues:**"
:summary_prefix=>""
:breaking_prefix=>"**Breaking changes:**"
:enhancement_prefix=>"**Implemented enhancements:**"
:bug_prefix=>"**Fixed bugs:**"
:deprecated_prefix=>"**Deprecated:**"
:removed_prefix=>"**Removed:**"
:security_prefix=>"**Security fixes:**"
:http_cache=>true
:require=>[]
:user=>"sakura-editor"
:project=>"sakura"
:token=>"No token used"

Found 12 tags
Fetching tags dates: 12/12
Sorting tags...
Received issues: 1033
Pull Request count: 802
Filtered pull requests: 663
Filtered issues: 229
Fetching events for issues and PR: 892
Fetching closed dates for issues: 892/892
Traceback (most recent call last):
C:/Ruby25-x64/bin/github_changelog_generator: stack level too deep (SystemStackError)

revision: 9825c5e

related issue: #695

I found the point of the error heppens;
in octo_fetcher.rb, commits_in_tag method is called recursively, but it gets too deep when too many commits on the repository.

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

Successfully merging a pull request may close this issue.

1 participant