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

Crash when using retry #127

Closed
leplatrem opened this issue May 9, 2017 · 0 comments
Closed

Crash when using retry #127

leplatrem opened this issue May 9, 2017 · 0 comments
Labels

Comments

@leplatrem
Copy link
Contributor

Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "scrape_archives.py", line 29, in publish_records
    batch.create_record(record, safe=False)
  File "/usr/lib/python3.5/contextlib.py", line 66, in __exit__
    next(self.gen)
  File "/home/mathieu/Code/Mozilla/buildhub/jobs/.venv3/lib/python3.5/site-packages/kinto_http/__init__.py", line 101, in batch
    batch_session.send()
  File "/home/mathieu/Code/Mozilla/buildhub/jobs/.venv3/lib/python3.5/site-packages/kinto_http/batch.py", line 52, in send
    resp, headers = self.session.request(**kwargs)
  File "/home/mathieu/Code/Mozilla/buildhub/jobs/.venv3/lib/python3.5/site-packages/kinto_http/session.py", line 80, in request
    time.sleep(retry_after)
TypeError: an integer is required (got type str)
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

1 participant