Comments (1)
Backtrace and some info from pdb:
Traceback (most recent call last):
File "/home/larry/lib/python3.6/pdb.py", line 1667, in main
pdb._runscript(mainpyfile)
File "/home/larry/lib/python3.6/pdb.py", line 1548, in _runscript
self.run(statement)
File "/home/larry/lib/python3.6/bdb.py", line 431, in run
exec(cmd, globals, locals)
File "", line 1, in
File "/home/larry/src/pyweek24.directors.cut/run_game.py", line 1, in
import sys
File "/home/larry/src/pyweek24.directors.cut/src/main.py", line 3502, in
pyglet.app.run()
File "/home/larry/lib/python3.6/site-packages/pyglet/app/init.py", line 143, in run
event_loop.run()
File "/home/larry/lib/python3.6/site-packages/pyglet/app/base.py", line 136, in run
self._run_estimated()
File "/home/larry/lib/python3.6/site-packages/pyglet/app/base.py", line 165, in _run_estimated
timeout = self.idle()
File "/home/larry/lib/python3.6/site-packages/pyglet/app/base.py", line 280, in idle
window.dispatch_event('on_draw')
File "/home/larry/lib/python3.6/site-packages/pyglet/window/init.py", line 1154, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "/home/larry/lib/python3.6/site-packages/pyglet/event.py", line 358, in dispatch_event
self._raise_dispatch_exception(event_type, args, handler)
File "/home/larry/lib/python3.6/site-packages/pyglet/event.py", line 355, in dispatch_event
if handler(*args):
File "/home/larry/src/pyweek24.directors.cut/src/main.py", line 3453, in on_draw
RobotSprite.draw_diffuse()
File "/home/larry/lib/python3.6/contextlib.py", line 88, in exit
next(self.gen)
File "/home/larry/src/pyweek24.directors.cut/src/lighting.py", line 135, in illuminate
self.render()
File "/home/larry/src/pyweek24.directors.cut/src/lighting.py", line 154, in render
lx, ly = light.position
TypeError: 'NoneType' object is not iterable
(Pdb) print(light.position)
None
(Pdb) print(light.color)
(1.0, 1.0, 1.0)
(Pdb) print(light.radius)
90
(Pdb) print(len(self.lights))
22
(Pdb)
from pyweek24.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyweek24.