matpow2 / cuwo

Open server and utilities for Cube World
GNU General Public License v3.0
170 stars 49 forks source link

Unhandled Error #146

Closed Kainzo closed 10 years ago

Kainzo commented 10 years ago

2014-02-11 08:22:00-0600 [CubeWorldConnection,9,2.162.159.68] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, _args, _kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(args,kw) --- --- File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite why = selectable.doRead() File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 215, in doRead return self._dataReceived(data) File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 221, in _dataReceived rval = self.protocol.dataReceived(data) File "/home/herocube/cubeworld/curo/cuwo/server.py", line 98, in dataReceived self.packet_handler.feed(data) File "cuwo/packet.py", line 700, in feed self.callback(packet) File "/home/herocube/cubeworld/curo/cuwo/server.py", line 135, in on_packet handler(packet) File "/home/herocube/cubeworld/curo/cuwo/server.py", line 226, in on_hit_packet packet=packet).result is False: File "cuwo/script.py", line 183, in call ret = handler(event) File "scripts/libs/teams.py", line 70, in on_hit return self.parent.on_hit(self, event) exceptions.AttributeError: 'NoneType' object has no attribute 'on_hit'

matpow2 commented 10 years ago

Looks like a problem with the teams.py script (which I do not have and is not in trunk).