{"action":"created","issue":{"url":"https://api.github.com/repos/robotpy/pynetworktables/issues/61","repository_url":"https://api.github.com/repos/robotpy/pynetworktables","labels_url":"https://api.github.com/repos/robotpy/pynetworktables/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/robotpy/pynetworktables/issues/61/comments","events_url":"https://api.github.com/repos/robotpy/pynetworktables/issues/61/events","html_url":"https://github.com/robotpy/pynetworktables/issues/61","id":308810547,"number":61,"title":"pynetworktables initialize throws errors about utf-8 encoding","user":{"login":"PeterMitrano","id":4010770,"avatar_url":"https://avatars0.githubusercontent.com/u/4010770?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterMitrano","html_url":"https://github.com/PeterMitrano","followers_url":"https://api.github.com/users/PeterMitrano/followers","following_url":"https://api.github.com/users/PeterMitrano/following{/other_user}","gists_url":"https://api.github.com/users/PeterMitrano/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterMitrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterMitrano/subscriptions","organizations_url":"https://api.github.com/users/PeterMitrano/orgs","repos_url":"https://api.github.com/users/PeterMitrano/repos","events_url":"https://api.github.com/users/PeterMitrano/events{/privacy}","received_events_url":"https://api.github.com/users/PeterMitrano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-27T03:36:31Z","updated_at":"2018-04-06T03:52:30Z","closed_at":null,"author_association":"NONE","body":"I tried this:\r\n\r\n```\r\nlogging.basicConfig(level=logging.DEBUG)\r\nNetworkTables.initialize(server=\"10.6.66.5\")\r\n```\r\n\r\nAnd got this:\r\n\r\n```\r\nINFO:nt:NetworkTables initialized in client mode\r\nDEBUG:nt.th:Started thread nt-dispatch-thread-0\r\nDEBUG:nt.th:Started thread nt-client-thread-0\r\nDEBUG:nt:client connected\r\nDEBUG:nt.th:Started thread nt-net-write-0\r\nDEBUG:nt.th:Started thread nt-net-read-0\r\nERROR:nt:Unhandled exception during handshake\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\network_connection.py\", line 248, in _readThreadMain\r\n    handshake_success = self.m_handshake(self, _getMessage, self._sendMessages)\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\dispatcher.py\", line 571, in _clientHandshake\r\n    msg = get_msg()\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\network_connection.py\", line 236, in _getMessage\r\n    return Message.read(self.m_stream, decoder, self.m_get_entry_type)\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\message.py\", line 123, in read\r\n    value = codec.read_value(value_type, rstream)\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\wire.py\", line 114, in read_value\r\n    return Value.makeString(self.read_string(rstream))\r\n  File \"C:\\Users\\peter\\Anaconda3\\lib\\site-packages\\ntcore\\wire.py\", line 199, in read_string_v3\r\n    return rstream.read(slen).decode('utf-8')\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 9: invalid continuation byte\r\nINFO:nt:DISCONNECTED 10.6.66.5 port 1735 (Robot)\r\nDEBUG:nt.th:Thread nt-net-read-0 exited\r\nDEBUG:nt.th:Thread nt-net-write-0 exited\r\n```"},"comment":{"url":"https://api.github.com/repos/robotpy/pynetworktables/issues/comments/379141064","html_url":"https://github.com/robotpy/pynetworktables/issues/61#issuecomment-379141064","issue_url":"https://api.github.com/repos/robotpy/pynetworktables/issues/61","id":379141064,"user":{"login":"virtuald","id":567900,"avatar_url":"https://avatars3.githubusercontent.com/u/567900?v=4","gravatar_id":"","url":"https://api.github.com/users/virtuald","html_url":"https://github.com/virtuald","followers_url":"https://api.github.com/users/virtuald/followers","following_url":"https://api.github.com/users/virtuald/following{/other_user}","gists_url":"https://api.github.com/users/virtuald/gists{/gist_id}","starred_url":"https://api.github.com/users/virtuald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtuald/subscriptions","organizations_url":"https://api.github.com/users/virtuald/orgs","repos_url":"https://api.github.com/users/virtuald/repos","events_url":"https://api.github.com/users/virtuald/events{/privacy}","received_events_url":"https://api.github.com/users/virtuald/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T03:52:29Z","updated_at":"2018-04-06T03:52:29Z","author_association":"OWNER","body":"Any news?\r\n\r\nA similar bug has been reported on CD: https://www.chiefdelphi.com/forums/showthread.php?p=1754568"}}
{"actor":{"display_login":"virtuald"}}