endless-path-7 crash
warning: cython not available (No module named pyximport)_euclid not available: cannot import name _euclid
_curve not available: cannot import name _curve
<class 'pyglet.graphics.vertexdomain.VertexList'>
Traceback (most recent call last):
File "run_game.py", line 12, in <module>
main.main()
File "/Local/Games/Python/PyWeek10/endless-path-7/gamelib/main.py", line 37, in main
cocos.director.director.run(build_menu())
File "/Local/Games/Python/PyWeek10/endless-path-7/cocos/director.py", line 412, in run
event_loop.run()
File "/Local/Games/Python/PyWeek10/endless-path-7/pyglet/app/base.py", line 133, in run
self._run_estimated()
File "/Local/Games/Python/PyWeek10/endless-path-7/pyglet/app/base.py", line 161, in _run_estimated
timeout = self.idle()
File "/Local/Games/Python/PyWeek10/endless-path-7/pyglet/app/base.py", line 270, in idle
redraw_all = self.clock.call_scheduled_functions(dt)
File "/Local/Games/Python/PyWeek10/endless-path-7/pyglet/clock.py", line 301, in call_scheduled_functions
item.func(dt, *item.args, **item.kwargs)
File "/Local/Games/Python/PyWeek10/endless-path-7/gamelib/tree.py", line 405, in update
p.update(dt)
File "/Local/Games/Python/PyWeek10/endless-path-7/gamelib/tree.py", line 307, in fade_out
self.vertex_list1.colors[3:len(l)*4:4] = l
TypeError: sequence index must be integer, not 'slice'
(log in to comment)
richard on 2010/04/06 11:35:
Requires Python 2.6 I'm afraid.Not sure why that slice isn't valid in 2.5 yet - haven't had time to investigate.