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

refresh_bounties empty URL bug #686

mbeacom opened this issue Mar 22, 2018 · 0 comments


None yet
1 participant
Copy link

commented Mar 22, 2018

Traceback (most recent call last):
  File "./", line 39, in <module>
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/core/management/", line 371, in execute_from_command_line
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/core/management/", line 365, in execute
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/core/management/", line 288, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/django/core/management/", line 335, in execute
    output = self.handle(*args, **options)
  File "/home/ubuntu/gitcoin/coin/app/economy/management/commands/", line 72, in handle
  File "/home/ubuntu/gitcoin/coin/app/dashboard/", line 382, in fetch_issue_item
    issue_description = requests.get(self.get_github_api_url(), auth=_AUTH)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 494, in request
    prep = self.prepare_request(req)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 437, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 305, in prepare
    self.prepare_url(url, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/requests/", line 379, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '': No schema supplied. Perhaps you meant http://?
Possible Implementation

Check if url is empty before proceeding.

@mbeacom mbeacom self-assigned this Mar 22, 2018

@mbeacom mbeacom closed this in 8f84d83 Mar 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.