Traceback (most recent call last):


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/buildout.py", line 2219, in main

getattr(buildout, command)(args)


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/buildout.py", line 834, in install

installed_files = self[part]._call(recipe.install)


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/buildout.py", line 1630, in _call

return f()


 "/Users/peter/workspace/pillow/eggs/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 227, in install

reqs, ws = self.working_set()


 "/Users/peter/workspace/pillow/eggs/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 78, in working_set

ws = self._working_set(


 "/Users/peter/workspace/pillow/eggs/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 161, in _working_set

ws = zc.buildout.easy_install.install(


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 965, in install

return installer.install(specs, working_set)


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 690, in install

for dist in self._get_dist(requirement, ws):


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 581, in _get_dist

dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1889, in _move_to_eggs_dir_and_compile

[tmp_loc] = call_pip_install(dist.location, tmp_dest)


 "/Users/peter/.pyenv/versions/3.8.7/envs/pillow-env/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1699, in call_pip_install

distinfo_dir = [
IndexError: list index out of range

Traceback (most recent call last):


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

Lending.lend_all()


 "/poloniexlendingbot/modules/Lending.py", line 249, in lend_all

lend_all()


 "/poloniexlendingbot/modules/Lending.py", line 249, in lend_all

lend_all()


 "/poloniexlendingbot/modules/Lending.py", line 247, in lend_all

usable_currencies += lend_cur(cur, total_lent, lending_balances, ticker)


 "/poloniexlendingbot/modules/Lending.py", line 418, in lend_cur

orders = construct_orders(active_cur, active_bal, active_cur_total_balance, ticker)
# Build all potential orders


 "/poloniexlendingbot/modules/Lending.py", line 319, in construct_orders

top_rate, bottom_rate = get_gap_mode_rates(cur, cur_active_bal, cur_total_balance, ticker)


 "/poloniexlendingbot/modules/Lending.py", line 373, in get_gap_mode_rates

top_rate = get_gap_rate(cur, top_depth, order_book, cur_total_balance, True)


 "/poloniexlendingbot/modules/Lending.py", line 306, in get_gap_rate

return Decimal(order_book['rates'][i])
IndexError: list index out of range
