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

JSONDecodeError: Expecting value: line 1 column 1 (char 0) #1057

Closed
mbeacom opened this issue May 2, 2018 · 0 comments
Closed

JSONDecodeError: Expecting value: line 1 column 1 (char 0) #1057

mbeacom opened this issue May 2, 2018 · 0 comments
Labels
backend This needs backend expertise.

Comments

@mbeacom
Copy link
Contributor

mbeacom commented May 2, 2018

View details in Rollbar: https://rollbar.com/gitcoin/gitcoin/items/441/

Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/coin/app/dashboard/management/commands/sync_geth.py", line 61, in handle
    bounty = get_bounty(bounty_enum, network)
  File "/home/ubuntu/gitcoin/coin/app/dashboard/utils.py", line 196, in get_bounty
    token = standard_bounties.functions.getBountyToken(bounty_enum).call()
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/contract.py", line 852, in call
    **self.kwargs)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/contract.py", line 1036, in call_contract_function
    return_data = web3.eth.call(call_transaction)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/eth_utils/functional.py", line 22, in inner
    return callback(fn(*args, **kwargs))
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/eth.py", line 244, in call
    [transaction, block_identifier],
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/manager.py", line 101, in request_blocking
    response = self._make_request(method, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/manager.py", line 84, in _make_request
    return request_func(method, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/gas_price_strategy.py", line 18, in middleware
    return make_request(method, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/formatting.py", line 21, in middleware
    response = make_request(method, formatted_params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/attrdict.py", line 18, in middleware
    response = make_request(method, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/formatting.py", line 21, in middleware
    response = make_request(method, formatted_params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/validation.py", line 44, in middleware
    return make_request(method, post_validated_params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/formatting.py", line 21, in middleware
    response = make_request(method, formatted_params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/middleware/exception_retry_request.py", line 80, in middleware
    return make_request(method, params)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/providers/rpc.py", line 69, in make_request
    response = self.decode_rpc_response(raw_response)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/web3/providers/base.py", line 61, in decode_rpc_response
    return json.loads(force_text(response))
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback (most recent call last):
  File "/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
StopIteration: 0
@mbeacom mbeacom added backend This needs backend expertise. rollbar labels May 2, 2018
@mbeacom mbeacom closed this as completed May 3, 2018
@mbeacom mbeacom reopened this May 21, 2018
@mbeacom mbeacom closed this as completed May 30, 2018
@mbeacom mbeacom reopened this Jun 6, 2018
@mbeacom mbeacom closed this as completed Jun 11, 2018
@mbeacom mbeacom reopened this Jul 17, 2018
@mbeacom mbeacom closed this as completed Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This needs backend expertise.
Projects
None yet
Development

No branches or pull requests

1 participant