Advertisement
Saijin_Naib

pIRt_player_v0.1 (Windows)

May 9th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.92 KB | None | 0 0
  1. Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32
  2. Type "copyright", "credits" or "license()" for more information.
  3. >>>
  4. ================ RESTART: D:\Python\pIRt\pIRt_player_v0.1.py ================
  5. Button Name:power_on.json
  6. Received signal: [1, 165, 0, 212, 0, 24, 0, 27, 0, 25, 0, 27, 0, 25, 0, 27, 0, 24, 0, 27, 0, 25, 0, 27, 0, 25, 0, 27, 0, 24, 0, 28, 0, 24, 0, 27, 0, 25, 0, 79, 0, 25, 0, 80, 0, 24, 0, 80, 0, 25, 0, 80, 0, 24, 0, 80, 0, 24, 0, 80, 0, 25, 0, 80, 0, 24, 0, 80, 0, 24, 0, 80, 0, 25, 0, 27, 0, 24, 0, 80, 0, 25, 0, 80, 0, 24, 0, 27, 0, 25, 0, 27, 0, 24, 0, 27, 0, 25, 0, 27, 0, 25, 0, 27, 0, 24, 0, 80, 0, 25, 0, 27, 0, 24, 0, 28, 0, 24, 0, 80, 0, 24, 0, 80, 0, 25, 0, 79, 0, 25, 0, 80, 0, 24, 7, 65, 1, 168, 0, 105, 0, 26, 255, 255]
  7. Sleeping 5 seconds...
  8. Traceback (most recent call last):
  9.   File "D:\Python\pIRt\pIRt_player_v0.1.py", line 41, in <module>
  10.     toy.transmit(irCode)
  11.   File "D:\Python\35\lib\site-packages\irtoy.py", line 187, in transmit
  12.     self.reset()
  13.   File "D:\Python\35\lib\site-packages\irtoy.py", line 155, in reset
  14.     self._writeList([0x00]*5)
  15.   File "D:\Python\35\lib\site-packages\irtoy.py", line 95, in _writeList
  16.     segmentWritten = self.toy.write(byteCode[idx:idx+maxWriteSize])
  17.   File "D:\Python\35\lib\site-packages\serial\serialwin32.py", line 297, in write
  18.     raise portNotOpenError
  19.   File "D:\Python\35\lib\site-packages\irtoy.py", line 176, in transmit
  20.     self._setTransmit()
  21.   File "D:\Python\35\lib\site-packages\irtoy.py", line 114, in _setTransmit
  22.     self._writeList([0x26]) #Enable transmit handshake
  23.   File "D:\Python\35\lib\site-packages\irtoy.py", line 95, in _writeList
  24.     segmentWritten = self.toy.write(byteCode[idx:idx+maxWriteSize])
  25.   File "D:\Python\35\lib\site-packages\serial\serialwin32.py", line 297, in write
  26.     raise portNotOpenError
  27. serial.serialutil.SerialException: Attempting to use a port that is not open
  28. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement