Closed paulnus closed 11 years ago
Update your version of the python ttapi as this specific error should no longer be a problem (updatePresTmr
no longer exists).
I got the latest version downloaded today and still hitting this issue. :(
Can you describe how you can reproduce the error ? And the new stacktrace ?
Went back to Nodejs. I think it was an environment thing, didnt debug and didnt want to leave this hanging out there.
AttributeError: Bot instance has no attribute 'tmpSong'
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 756, in run self.function(_self.args, *_self.kwargs) File "/var/python/ttapi/ttapi.py", line 57, in updatePresTmr self.updatePresence() File "/var/python/ttapi/ttapi.py", line 197, in updatePresence self._send(rq, callback) File "/var/python/ttapi/ttapi.py", line 175, in _send self.ws.send('~m~%s~m~%s' % (len(msg), msg)) File "/var/python/ttapi/websocket.py", line 469, in send self.sock.send(data) AttributeError: 'NoneType' object has no attribute 'send'