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

Fixing modulo 0 error: #2138

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Fixing modulo 0 error: #2138

merged 1 commit into from
Jan 21, 2023

Conversation

sgoggins
Copy link
Member

@sgoggins sgoggins commented Jan 21, 2023

Traceback (most recent call last):
  File "/home/sean/github/virtualenv/ag3/lib/python3.8/site-packages/celery/app/trace.py", line 451, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/sean/github/virtualenv/ag3/lib/python3.8/site-packages/celery/app/trace.py", line 734, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/sean/github/ag3/augur/tasks/git/facade_tasks.py", line 315, in analyze_commits_in_parallel
    if (count + 1) % int(len(queue) / 4) == 0:
ZeroDivisionError: integer division or modulo by zero

Description

  • Please include a summary of the change.

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

```
Traceback (most recent call last):
  File "/home/sean/github/virtualenv/ag3/lib/python3.8/site-packages/celery/app/trace.py", line 451, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/sean/github/virtualenv/ag3/lib/python3.8/site-packages/celery/app/trace.py", line 734, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/sean/github/ag3/augur/tasks/git/facade_tasks.py", line 315, in analyze_commits_in_parallel
    if (count + 1) % int(len(queue) / 4) == 0:
ZeroDivisionError: integer division or modulo by zero
```
@sgoggins sgoggins merged commit 91d9135 into dev Jan 21, 2023
@sgoggins sgoggins deleted the facade-modulo-patch branch March 13, 2023 23:06
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 this pull request may close these issues.

1 participant