Traceback (most recent call last):


 "lendingbot.py", line 66, in <module>

Data.update_conversion_rates(output_currency, json_output_enabled)


 "/home/dri/miner/lending/poloniexlendingbot/modules/Data.py", line 80, in update_conversion_rates

total_lended = get_total_lended()[0]


 "/home/dri/miner/lending/poloniexlendingbot/modules/Data.py", line 42, in get_total_lended

crypto_lended = api.return_active_loans()


 "/home/dri/miner/lending/poloniexlendingbot/modules/Poloniex.py", line 135, in return_active_loans

return self.api_query('returnActiveLoans')


 "/home/dri/miner/lending/poloniexlendingbot/modules/Poloniex.py", line 79, in api_query

ret = urllib2.urlopen(urllib2.Request('https://poloniex.com/tradingApi', post_data, headers))


 "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen

return opener.open(url, data, timeout)


 "/usr/lib64/python2.7/urllib2.py", line 429, in open

response = self._open(req, data)


 "/usr/lib64/python2.7/urllib2.py", line 447, in _open

'_open', req)


 "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain

result = func(*args)


 "/usr/lib64/python2.7/urllib2.py", line 1241, in https_open

context=self._context)


 "/usr/lib64/python2.7/urllib2.py", line 1198, in do_open

raise URLError(err)
URLError: <urlopen error
Requesting returnActiveLoans>

Traceback (most recent call last):


 "example/example_bug.py", line 39, in <module>

client = apistar.Client(schema)


 "/Users/piotr.py/Projects/example/.venv/lib/python3.7/site-packages/apistar/client/client.py", line 22, in __init__

self.document = apistar.validate(schema, format=format, encoding=encoding)


 "/Users/piotr.py/Projects/example/.venv/lib/python3.7/site-packages/apistar/core.py", line 75, in validate

value = typesystem.validate_with_positions(token=token, validator=validator)


 "/Users/piotr.py/Projects/example/.venv/lib/python3.7/site-packages/typesystem/tokenize/positional_validation.py", line 36, in validate_with_positions

raise ValidationError(messages=messages)
typesystem.base.ValidationError: {'paths': {'/users': {'get': {'responses': {200: 'All object keys must be strings.'}}}}}
