```Traceback (most recent call last):


 "C:/Users/User/PycharmProjects/something in pyglet/main.py", line 179, in <module>

pyglet.app.run()


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\app\__init__.py", line 142, in run

event_loop.run()


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\app\base.py", line 175, in run

self._run()


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\app\base.py", line 187, in _run

timeout = self.idle()


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\app\base.py", line 314, in idle

window.dispatch_event('on_draw')


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\window\__init__.py", line 1313, in dispatch_event

if EventDispatcher.dispatch_event(self, *args) != False:


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\pyglet\event.py", line 361, in dispatch_event

if handler(*args):


 "C:/Users/User/PycharmProjects/something in pyglet/main.py", line 152, in on_draw

player.draw(player.x - camera.x, player.y - camera.y, 50)


 "C:/Users/User/PycharmProjects/something in pyglet/main.py", line 100, in draw

draw_commands.draw_line(x, y, x+50, y+50, (255, 255, 255), 5)


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\arcade\draw_commands.py", line 838, in draw_line

_generic_draw_line_strip(triangle_point_list, color, gl.GL_TRIANGLE_STRIP)


 "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\arcade\draw_commands.py", line 763, in _generic_draw_line_strip

program['Projection'] = get_projection().flatten()
AttributeError: 'NoneType' object has no attribute 'flatten'```

Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'
