{"action":"created","issue":{"url":"https://api.github.com/repos/jorticus/pymate/issues/2","repository_url":"https://api.github.com/repos/jorticus/pymate","labels_url":"https://api.github.com/repos/jorticus/pymate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jorticus/pymate/issues/2/comments","events_url":"https://api.github.com/repos/jorticus/pymate/issues/2/events","html_url":"https://github.com/jorticus/pymate/issues/2","id":211011436,"node_id":"MDU6SXNzdWUyMTEwMTE0MzY=","number":2,"title":"error parity_mark","user":{"login":"wawanwiratno","id":26109047,"node_id":"MDQ6VXNlcjI2MTA5MDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/26109047?v=4","gravatar_id":"","url":"https://api.github.com/users/wawanwiratno","html_url":"https://github.com/wawanwiratno","followers_url":"https://api.github.com/users/wawanwiratno/followers","following_url":"https://api.github.com/users/wawanwiratno/following{/other_user}","gists_url":"https://api.github.com/users/wawanwiratno/gists{/gist_id}","starred_url":"https://api.github.com/users/wawanwiratno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wawanwiratno/subscriptions","organizations_url":"https://api.github.com/users/wawanwiratno/orgs","repos_url":"https://api.github.com/users/wawanwiratno/repos","events_url":"https://api.github.com/users/wawanwiratno/events{/privacy}","received_events_url":"https://api.github.com/users/wawanwiratno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-03-01T08:30:08Z","updated_at":"2018-10-16T23:55:56Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nthis is impressive work, thanks for sharing\r\nIm using raspberry pi 3, Jessie, python 2.7\r\nI just run readout.py but got following error\r\n\r\n_root@monitoring:/home/pi/pymate-master# python readout.py \r\nMATE emulator (MX)\r\nTraceback (most recent call last):\r\n  File \"readout.py\", line 10, in <module>\r\n    mate.scan(0)\r\n  File \"/home/pi/pymate-master/matenet/mx.py\", line 130, in scan\r\n    devid = super(MateMX, self).scan(port)\r\n  File \"/home/pi/pymate-master/matenet/matenet.py\", line 185, in scan\r\n    result = self.query(0x00, port=port)\r\n  File \"/home/pi/pymate-master/matenet/matenet.py\", line 196, in query\r\n    resp = self.send(MateNET.TYPE_QUERY, addr=reg, param=param, port=port)\r\n  File \"/home/pi/pymate-master/matenet/matenet.py\", line 156, in send\r\n    self._send(packet.to_buffer())\r\n  File \"/home/pi/pymate-master/matenet/matenet.py\", line 88, in _send\r\n    self._write_9b(data[0], 1)\r\n  File \"/home/pi/pymate-master/matenet/matenet.py\", line 70, in _write_9b\r\n    self.ser.setParity(PARITY_MARK if bit8 else PARITY_SPACE)\r\n  File \"/usr/lib/python2.7/dist-packages/serial/serialutil.py\", line 347, in setParity\r\n    if self._isOpen: self._reconfigurePort()\r\n  File \"/usr/lib/python2.7/dist-packages/serial/serialposix.py\", line 376, in _reconfigurePort\r\n    raise ValueError('Invalid parity: %r' % self._parity)\r\nValueError: Invalid parity: 'M'_\r\n\r\nseems like PARITY_MARK is not supported,\r\nAny clues?"},"comment":{"url":"https://api.github.com/repos/jorticus/pymate/issues/comments/430441513","html_url":"https://github.com/jorticus/pymate/issues/2#issuecomment-430441513","issue_url":"https://api.github.com/repos/jorticus/pymate/issues/2","id":430441513,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDQ0MTUxMw==","user":{"login":"sagreen83","id":3307290,"node_id":"MDQ6VXNlcjMzMDcyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3307290?v=4","gravatar_id":"","url":"https://api.github.com/users/sagreen83","html_url":"https://github.com/sagreen83","followers_url":"https://api.github.com/users/sagreen83/followers","following_url":"https://api.github.com/users/sagreen83/following{/other_user}","gists_url":"https://api.github.com/users/sagreen83/gists{/gist_id}","starred_url":"https://api.github.com/users/sagreen83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagreen83/subscriptions","organizations_url":"https://api.github.com/users/sagreen83/orgs","repos_url":"https://api.github.com/users/sagreen83/repos","events_url":"https://api.github.com/users/sagreen83/events{/privacy}","received_events_url":"https://api.github.com/users/sagreen83/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T23:55:56Z","updated_at":"2018-10-16T23:55:56Z","author_association":"NONE","body":"Ok, a couple OScope captures of TX during a scan...\r\n\r\nHere is a trace of the TX line prior to your changes (-1 version)\r\n\r\n![prev-scope2](https://user-images.githubusercontent.com/3307290/47053906-d41ecd00-d174-11e8-9b7e-db45cf625f66.png)\r\n\r\nThis is a trace of the TX line with your latest mods... (current version). Note, I've made no changes to FUDGE_FACTOR\r\n\r\n![new-scope1](https://user-images.githubusercontent.com/3307290/47053957-029ca800-d175-11e8-9253-ab5818c6689e.png)\r\n\r\nNeither of these traces look like the one in your picture above.\r\n\r\nScott...\r\n"}}
{"actor":{"display_login":"sagreen83"}}