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

Repo addition error #2787

Open
cdolfi opened this issue May 9, 2024 · 0 comments
Open

Repo addition error #2787

cdolfi opened this issue May 9, 2024 · 0 comments

Comments

@cdolfi
Copy link

cdolfi commented May 9, 2024

Traceback (most recent call last):
File "/home/sean/github/virtualenv/rh-k12/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/virtualenv/rh-k12/lib/python3.11/site-packages/celery/app/trace.py", line 734, in protected_call
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/tasks/frontend.py", line 41, in add_org_repo_list
added = user.add_github_repo(group_name, url)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/application/db/models/augur_operations.py", line 461, in add_github_repo
result = UserRepo.add_github_repo(session, repo_url, self.user_id, group_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/application/db/models/augur_operations.py", line 883, in add_github_repo
result = Repo.is_valid_github_repo(session, url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sean/github/rh-k12/augur/application/db/models/augur_data.py", line 929, in is_valid_github_repo
wait_until = int(result.headers.get("x-ratelimit-reset"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

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