{"action":"created","issue":{"url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/104","repository_url":"https://api.github.com/repos/Galvant/InstrumentKit","labels_url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/104/comments","events_url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/104/events","html_url":"https://github.com/Galvant/InstrumentKit/issues/104","id":150464202,"number":104,"title":"Error Python 3.5","user":{"login":"ricardorector","id":1302221,"avatar_url":"https://avatars.githubusercontent.com/u/1302221?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardorector","html_url":"https://github.com/ricardorector","followers_url":"https://api.github.com/users/ricardorector/followers","following_url":"https://api.github.com/users/ricardorector/following{/other_user}","gists_url":"https://api.github.com/users/ricardorector/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardorector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardorector/subscriptions","organizations_url":"https://api.github.com/users/ricardorector/orgs","repos_url":"https://api.github.com/users/ricardorector/repos","events_url":"https://api.github.com/users/ricardorector/events{/privacy}","received_events_url":"https://api.github.com/users/ricardorector/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Galvant/InstrumentKit/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-22T20:29:20Z","updated_at":"2016-04-23T19:24:02Z","closed_at":null,"body":"import instruments as ik\r\n\r\nscope = ik.tektronix.TekTDS224.open_gpibusb('/dev/tty.usbserial-DJ000GVP',1)\r\n\r\nprint (scope.name)\r\n\r\n---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n<ipython-input-3-3b16a47807e0> in <module>()\r\n----> 1 print (scope.name)\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/generic_scpi/scpi_instrument.py in name(self)\r\n     51         :rtype: `str`\r\n     52         \"\"\"\r\n---> 53         return self.query('*IDN?')\r\n     54 \r\n     55     @property\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/instrument.py in query(self, cmd, size)\r\n    132             value = self.read(size)\r\n    133         else:\r\n--> 134             value = self._file.query(cmd, size)\r\n    135         if self.prompt is not None:\r\n    136             prompt = self.read(len(self.prompt))\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/comm/abstract_comm.py in query(self, msg, size)\r\n    231         if self.debug:\r\n    232             self._logger.debug(\" <- %s\", repr(msg))\r\n--> 233         resp = self._query(msg, size)\r\n    234         if self.debug:\r\n    235             self._logger.debug(\" -> %s\", repr(resp))\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/comm/gi_gpib_communicator.py in _query(self, msg, size)\r\n    339         :rtype: `str`\r\n    340         \"\"\"\r\n--> 341         self.sendcmd(msg)\r\n    342         if '?' not in msg:\r\n    343             self._file.sendcmd('+read')\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/comm/abstract_comm.py in sendcmd(self, msg)\r\n    216         if self.debug:\r\n    217             self._logger.debug(\" <- %s\", repr(msg))\r\n--> 218         self._sendcmd(msg)\r\n    219 \r\n    220     def query(self, msg, size=-1):\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/comm/gi_gpib_communicator.py in _sendcmd(self, msg)\r\n    317         self.timeout = self.timeout\r\n    318         time.sleep(sleep_time)\r\n--> 319         self.eos = self.eos\r\n    320         time.sleep(sleep_time)\r\n    321         self._file.sendcmd(msg)\r\n\r\n/Applications/MAMP/htdocs/src/instrumentkit/instruments/abstract_instruments/comm/gi_gpib_communicator.py in eos(self, newval)\r\n    226                 newval = 3\r\n    227             else:\r\n--> 228                 raise ValueError(\"EOS must be CRLF, CR, LF, or None\")\r\n    229             self._file.sendcmd(\"++eos {}\".format(newval))\r\n    230 \r\n\r\nValueError: EOS must be CRLF, CR, LF, or None\r\n"},"comment":{"url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/comments/213812727","html_url":"https://github.com/Galvant/InstrumentKit/issues/104#issuecomment-213812727","issue_url":"https://api.github.com/repos/Galvant/InstrumentKit/issues/104","id":213812727,"user":{"login":"ricardorector","id":1302221,"avatar_url":"https://avatars.githubusercontent.com/u/1302221?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardorector","html_url":"https://github.com/ricardorector","followers_url":"https://api.github.com/users/ricardorector/followers","following_url":"https://api.github.com/users/ricardorector/following{/other_user}","gists_url":"https://api.github.com/users/ricardorector/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardorector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardorector/subscriptions","organizations_url":"https://api.github.com/users/ricardorector/orgs","repos_url":"https://api.github.com/users/ricardorector/repos","events_url":"https://api.github.com/users/ricardorector/events{/privacy}","received_events_url":"https://api.github.com/users/ricardorector/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T19:24:02Z","updated_at":"2016-04-23T19:24:02Z","body":"jajaja Sorry change at 2.7 and i dont remember.\r\n"}}