Error: Traceback (most recent call last):


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\platformio\__main__.py", line 104, in main

cli(None, None, None)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\core.py", line 700, in __call__

return self.main(*args, **kwargs)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\core.py", line 680, in main

rv = self.invoke(ctx)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\core.py", line 1027, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\core.py", line 873, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\core.py", line 508, in invoke

return callback(*args, **kwargs)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\click\decorators.py", line 16, in new_func

return f(get_current_context(), *args, **kwargs)


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\platformio\commands\init.py", line 103, in cli

pg.generate()


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\platformio\ide\projectgenerator.py", line 121, in generate

self._render_tpl(tpl_path).encode("utf8"))


 "c:\users\muratori.n\.platformio\penv\lib\site-packages\platformio\ide\projectgenerator.py", line 127, in _render_tpl

return bottle.template(content, **self._tplvars)


 "C:\Users\muratori.n\.platformio\penv\Scripts\bottle.py", line 3619, in template

return TEMPLATES[tplid].render(kwargs)


 "C:\Users\muratori.n\.platformio\penv\Scripts\bottle.py", line 3409, in render

self.execute(stdout, env)


 "C:\Users\muratori.n\.platformio\penv\Scripts\bottle.py", line 3396, in execute

eval(self.co, env)


 "<string>", line 2, in <module>
AttributeError: 'NoneType' object has no attribute 'replace'

Traceback (most recent call last):


 "/usr/local/lib/python3.5/site-packages/retrace.py", line 289, in __call__

result = fn(*args, **kwargs)


 "/code/p.py", line 1552, in play

r = repr(self.engine)


 "/code/p.py", line 337, in __repr__

dist_stats = ES.dist_player_stats(d['stats'], True)


 "/code/p.py", line 198, in dist_player_stats

k = dist.bisect_key(i)
AttributeError: 'SortedDict' object has no attribute 'bisect_key'
