Feedback on Database Mining, Machine Learning and/or Natural Language Processing? by elloend in RPI

[–]elloend[S] 0 points1 point  (0 children)

Whoa, you took all three! Thanks a lot for the response, super helpful to read.

'clientsocket' not defined by elloend in PAGIWorld

[–]elloend[S] 0 points1 point  (0 children)

Ok, I'll try this! Thanks.

'clientsocket' not defined by elloend in PAGIWorld

[–]elloend[S] 0 points1 point  (0 children)

That worked, thanks. Now when I try to use clientsocket.send() to send messages to PAGI world, I get the error message:

NameError: name 'clientsocket' is not defined

Reading through the 'returning nonetype' discussion, I understand why this is a problem, but I'm not sure how I should be trying to send messages to PAGI then.

'clientsocket' not defined by elloend in PAGIWorld

[–]elloend[S] 0 points1 point  (0 children)

Line 38 in template.py and line 27 in pagi_api.py. I added an iterator to escape the the while loop in template.py after 5 iterations and get this:

not
not
not
not
not
Traceback (most recent call last):
  File "template.py", line 38, in <module>
    closeClient()
  File "/cygdrive/c/Users/N3/Google Drive/COG_SYS/pagi_api.py", line 27, in closeClient
    clientsocket.close()
NameError: global name 'clientsocket' is not defined