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

[code_review] IndexError: list index out of range #4265

Closed
benjaminmah opened this issue Jun 18, 2024 · 0 comments · Fixed by #4266
Closed

[code_review] IndexError: list index out of range #4265

benjaminmah opened this issue Jun 18, 2024 · 0 comments · Fixed by #4266
Assignees
Labels
bug Something isn't working code-review

Comments

@benjaminmah
Copy link
Contributor

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/User/Documents/bugbug/scripts/inline_comments_data_collection.py", line 153, in <module>
    download_inline_comments()
  File "/User/Documents/bugbug/scripts/inline_comments_data_collection.py", line 59, in download_inline_comments
    for patch_id, comments in review_data.get_all_inline_comments(lambda c: True):
  File "/User/Documents/bugbug/bugbug/tools/code_review.py", line 339, in get_all_inline_comments
    transaction_comment = transaction["comments"][0]
                          ~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code-review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants