cyhex / streamcrab

Real-Time, Twitter sentiment analyzer engine
http:/www.streamcrab.com
144 stars 49 forks source link

Error on run of test client #2

Closed dwmcqueen closed 13 years ago

dwmcqueen commented 13 years ago

After starting debug and running test client (python moodClientServerTest.py in the "test" directory), see this error on the client window:

Traceback (most recent call last): File "moodClientServerTest.py", line 11, in print MCC.classify(test_data, 'search') File "../../tracker/lib/moodClassifierClient.py", line 57, in classify self._readResults() File "../../tracker/lib/moodClassifierClient.py", line 28, in _readResults dataLen = int(dataLen) ValueError: invalid literal for int() with base 10: ''

With this on the daemon window:

Exception happened during processing of request from ('127.0.0.1', 44979) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.7/SocketServer.py", line 639, in init self.handle() File "moodClassifierd.py", line 61, in handle raise e RuntimeError: dictionary changed size during iteration

cyhex commented 13 years ago

hmm... i never saw this before, i have updated the moodClientServerTest.py, try to run it with new files and let me know whats up...

dwmcqueen commented 13 years ago

Looks good.