{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/59","repository_url":"https://api.github.com/repos/opencog/ros-behavior-scripting","labels_url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/59/comments","events_url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/59/events","html_url":"https://github.com/opencog/ros-behavior-scripting/issues/59","id":164788355,"number":59,"title":"netcat times out","user":{"login":"yantrabuddhi","id":7552895,"avatar_url":"https://avatars.githubusercontent.com/u/7552895?v=3","gravatar_id":"","url":"https://api.github.com/users/yantrabuddhi","html_url":"https://github.com/yantrabuddhi","followers_url":"https://api.github.com/users/yantrabuddhi/followers","following_url":"https://api.github.com/users/yantrabuddhi/following{/other_user}","gists_url":"https://api.github.com/users/yantrabuddhi/gists{/gist_id}","starred_url":"https://api.github.com/users/yantrabuddhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yantrabuddhi/subscriptions","organizations_url":"https://api.github.com/users/yantrabuddhi/orgs","repos_url":"https://api.github.com/users/yantrabuddhi/repos","events_url":"https://api.github.com/users/yantrabuddhi/events{/privacy}","received_events_url":"https://api.github.com/users/yantrabuddhi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-11T08:51:27Z","updated_at":"2016-07-13T18:03:40Z","closed_at":"2016-07-12T18:17:01Z","body":"I made pull request for octomap integration, however the netcat function times out and breaks face follow function. I did it another hacky way using the same scheme function in a thread in ros_commo and that way the robot functions okay. "},"comment":{"url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/comments/232437837","html_url":"https://github.com/opencog/ros-behavior-scripting/issues/59#issuecomment-232437837","issue_url":"https://api.github.com/repos/opencog/ros-behavior-scripting/issues/59","id":232437837,"user":{"login":"yantrabuddhi","id":7552895,"avatar_url":"https://avatars.githubusercontent.com/u/7552895?v=3","gravatar_id":"","url":"https://api.github.com/users/yantrabuddhi","html_url":"https://github.com/yantrabuddhi","followers_url":"https://api.github.com/users/yantrabuddhi/followers","following_url":"https://api.github.com/users/yantrabuddhi/following{/other_user}","gists_url":"https://api.github.com/users/yantrabuddhi/gists{/gist_id}","starred_url":"https://api.github.com/users/yantrabuddhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yantrabuddhi/subscriptions","organizations_url":"https://api.github.com/users/yantrabuddhi/orgs","repos_url":"https://api.github.com/users/yantrabuddhi/repos","events_url":"https://api.github.com/users/yantrabuddhi/events{/privacy}","received_events_url":"https://api.github.com/users/yantrabuddhi/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T18:03:40Z","updated_at":"2016-07-13T18:03:40Z","body":"Hi Linas,\n I verified that existing netcat strings had two carriage returns, and only\nthing different in my string was single carriage return. When I chaged from\nsingle carriage return to two consecutives ones at end the code works\nproperly without issues.\n\nOn Thu, Jul 14, 2016 at 1:28 AM, Linas Vepštas <notifications@github.com>\nwrote:\n\n> netcat does not care at all about carriage returns or newlines, they are\n> just like any other bytes, as far as netcat is concerned.\n>\n> It is possible that the cogserver socket is eating up random carriage\n> returns. The cogserver socket interfaces are wildly over-engineered,\n> excessively complicated, and difficult to use. They do crazy things like\n> add and remove newline characters, and behave differently depending on\n> whether there is a newline or not. Certainly, extra newlines will not hurt,\n> in this case.\n>\n> However, that code is stable, no one touches it ever, and its been working\n> great for 5+ years, so it is very unlikely that is the cause of the\n> problem.\n>\n> Therefore, I would look at the message being sent, and try to understand\n> how it is different from the other messages. The message is calling into\n> the brand-new octotree code .. perhaps its the octreee that is hanging, and\n> because it hangs, it never returns to scheme, which never retuirns to the\n> cogserver, which never closes the socket.\n>\n> So, please verify that the octotree is actually getting the message, and\n> that it is not hanging.\n>\n> If you are creating threads with a socket still open, please make sure\n> that your other threads aren't doing weird things, like sending data to\n> scheme, which is then trying to buffer it to a socket that is being managed\n> in a different thread.\n>\n> Random prints in your octree code could possibly mangle the socket, since\n> these get buffered up to be returned to netcat.\n>\n> —\n> You are receiving this because you were assigned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/opencog/ros-behavior-scripting/issues/59#issuecomment-232427464>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/AHM_f1ink4P3m5Lt_qYDJKN4_fxWkeEEks5qVSArgaJpZM4JJJyn>\n> .\n>\n"}}
{"actor":{"display_login":"yantrabuddhi"}}