Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.97 KB | None | 0 0
  1. INFO - pros.cli.common:callback - Debugging messages enabled
  2. DEBUG - pros:callback - CLI Version: 3.1.3
  3. INFO - pros.conductor.project:find_project - Found Project Path: /home/kusti8/Documents/Github/vex1819/765A/States/project.pros
  4. INFO - pros.conductor.project:find_project - Found Project Path: /home/kusti8/Documents/Github/vex1819/765A/States/project.pros
  5. DEBUG - pros.config.config:__init__ - Opening /home/kusti8/Documents/Github/vex1819/765A/States/project.pros (Project)
  6. DEBUG - pros.config.config:__init__ - Opening /home/kusti8/.config/pros/cli.pros (CliConfig)
  7. DEBUG - pros.conductor.project:libscanbuild_capture - /home/kusti8/Documents/Github/vex1819/765A/States
  8. DEBUG - root:run_build - run build ['make', 'CC=intercept-cc', 'CXX=intercept-c++'], in environment: {'ANDROID_HOME': '/home/kusti8/Android', 'LANG': 'en_US.UTF-8', 'DISPLAY': ':0', 'USERNAME': 'kusti8', 'JAVA_HOME': '/usr/lib/jvm/java-8-oracle', 'J2SDKDIR': '/usr/lib/jvm/java-8-oracle', 'XDG_VTNR': '1', 'SSH_AUTH_SOCK': '/tmp/ssh-IHiCgHsWGkHU/agent.1156', 'MANDATORY_PATH': '/usr/share/gconf/i3.mandatory.path', 'S_COLORS': 'auto', 'APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL': 'true', 'XDG_SESSION_ID': '1', 'DERBY_HOME': '/usr/lib/jvm/java-8-oracle/db', 'STEAM_RUNTIME': '0', 'USER': 'kusti8', 'DESKTOP_SESSION': 'i3', 'GOPATH': '/home/kusti8/go', 'DEFAULTS_PATH': '/usr/share/gconf/i3.default.path', 'PWD': '/home/kusti8/Documents/Github/vex1819/765A/States', 'HOME': '/home/kusti8', 'J2REDIR': '/usr/lib/jvm/java-8-oracle/jre', 'SSH_AGENT_PID': '1241', 'TERM_PROGRAM': 'vscode', 'TERM_PROGRAM_VERSION': '1.31.1', 'QT_ACCESSIBILITY': '1', 'XDG_SESSION_TYPE': 'x11', 'XDG_DATA_DIRS': '/usr/share/i3:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'XDG_SESSION_DESKTOP': 'i3', 'DESKTOP_STARTUP_ID': 'i3/code/1156-0-kusti8-XPS_TIME10775', 'GTK_MODULES': 'gail:atk-bridge', 'WINDOWPATH': '1', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_CURRENT_DESKTOP': 'i3', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XDG_SEAT': 'seat0', 'SHLVL': '2', 'GDMSESSION': 'i3', 'LOGNAME': 'kusti8', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XAUTHORITY': '/run/user/1000/gdm/Xauthority', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-i3:/etc/xdg', 'PATH': '/home/kusti8/Documents/flutter/bin:/home/kusti8/bin:/home/kusti8/.local/share/umake/bin:/home/kusti8/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/kusti8/go/bin:/home/kusti8/.cargo/bin:/home/kusti8/.gem/ruby/*/bin:/home/kusti8/.local/bin:/home/kusti8/Android/tools:/home/kusti8/Android/platform-tools:/home/kusti8/chromium/depot_tools', '_': '/home/kusti8/.local/bin/prosv5', 'OLDPWD': '/home/kusti8/Documents/Github/vex1819/765A/States/bin', 'INTERCEPT_BUILD_TARGET_DIR': '/tmp/intercept-r55ug3i0', 'INTERCEPT_BUILD': '{"verbose": 0, "cc": ["arm-none-eabi-gcc"], "cxx": ["arm-none-eabi-g++"]}', 'CC': 'intercept-cc', 'CXX': 'intercept-c++'}
  9. make: Nothing to be done for 'quick'.
  10. DEBUG - root:run_build - build finished with exit code: 0
  11. DEBUG - pros.serial.ports:list_all_comports - Connected: {'device': '/dev/ttyACM1', 'name': 'ttyACM1', 'description': 'VEX Robotics V5 Brain - BDEF2700 - VEX Robotics User Port', 'hwid': 'USB VID:PID=2888:0501 LOCATION=1-2:1.2', 'vid': 10376, 'pid': 1281, 'serial_number': None, 'location': '1-2:1.2', 'manufacturer': 'VEX Robotics, Inc', 'product': 'VEX Robotics V5 Brain - BDEF2700', 'interface': 'VEX Robotics User Port', 'usb_device_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2', 'device_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2', 'subsystem': 'usb', 'usb_interface_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2'};{'device': '/dev/ttyACM0', 'name': 'ttyACM0', 'description': 'VEX Robotics V5 Brain - BDEF2700 - VEX Robotics Communications Port', 'hwid': 'USB VID:PID=2888:0501 LOCATION=1-2:1.0', 'vid': 10376, 'pid': 1281, 'serial_number': None, 'location': '1-2:1.0', 'manufacturer': 'VEX Robotics, Inc', 'product': 'VEX Robotics V5 Brain - BDEF2700', 'interface': 'VEX Robotics Communications Port', 'usb_device_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2', 'device_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0', 'subsystem': 'usb', 'usb_interface_path': '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0'}
  12. INFO - pros.cli.common:resolve_v5_port - Automatically selected /dev/ttyACM0
  13. DEBUG - pros.cli.upload:upload - Arguments: {'compress_bin': True, 'ini_config': None, 'icon': None, 'program_version': None, 'slot': 0, 'remote_name': 'States', 'quirk': 0, 'run_after': <FTCompleteOptions.RUN_SCREEN: 3>, 'target': 'v5'}
  14. DEBUG - pros.serial.ports.direct_port:create_serial_port - Opening serial port /dev/ttyACM0
  15. DEBUG - pros.serial.devices.vex.v5_device:upload_project - Monolith exists! (/home/kusti8/Documents/Github/vex1819/765A/States/bin/output.bin)
  16. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  17. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  18. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 A4 RX:AA 55 A4 08 01 00 05 00 00 10 03 00
  19. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
  20. Uploading program "States" (output.bin) to V5 slot 1 on /dev/ttyACM0 (compressed)
  21. DEBUG - pros.serial.devices.vex.v5_device:get_system_status - Sending ext 0x22 command
  22. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 22 00 60 FC
  23. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 56 22 00 60 FC RX:AA 55 56 25 22 76 00 01 00 05 00 01 00 00 1B 01 00 04 03 06 00 00 00 00 27 EF BD 00 03 02 00 20 00 00 00 01 00 19 00 F2 D8
  24. DEBUG - pros.serial.devices.vex.v5_device:_rx_ext_packet - Set msg window to 00 01 00 05 00 01 00 00 1B 01 00 04 03 06 00 00 00 00 27 EF BD 00 03 02 00 20 00 00 00 01 00 19 00
  25. DEBUG - pros.serial.devices.vex.v5_device:_txrx_ext_struct - Unpacking with format: <x12B3xBI12x
  26. DEBUG - pros.serial.devices.vex.v5_device:get_system_status - Completed ext 0x22 command
  27. INFO - pros.serial.devices.vex.v5_device:generate_ini_file - Created ini: [program]
  28. version = 0.0.0
  29. name = States
  30. slot = 0
  31. icon = USER902x.bmp
  32. description = Created with PROS
  33. date = 2019-02-17T16:42:25.463148
  34.  
  35.  
  36. INFO - pros.serial.devices.vex.v5_device:write_program - Created ini: [program]
  37. version = 0.0.0
  38. name = States
  39. slot = 0
  40. icon = USER902x.bmp
  41. description = Created with PROS
  42. date = 2019-02-17T16:42:25.463148
  43.  
  44.  
  45. DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - Sending ext 0x18 command
  46. DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - VID: 1 Options: 128 File name: Run: False
  47. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 18 1A 01 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A6 C1
  48. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 56 18 1A 01 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A6 C1 RX:AA 55 56 04 18 76 4B A6
  49. DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - Completed ext 0x18 command
  50. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  51. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  52. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 A4 RX:AA 55 A4 08 01 00 05 00 00 10 03 00
  53. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
  54. INFO - pros.serial.devices.vex.v5_device:write_file - Transferring slot_1.ini (136 bytes) to the V5 from <_io.BytesIO object at 0x7f798aabea98>
  55. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Sending ext 0x11 command
  56. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Initializing file transfer w/: {'function': 1, 'target': 1, 'vid': 1, 'overwrite': True, 'options': 1, 'length': 136, 'addr': 58720256, 'crc': 940307155, 'type': b'ini', 'timestamp': 603736945, 'version': 16777216, 'name': b'slot_1.ini'}
  57. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 11 34 01 01 01 01 88 00 00 00 00 00 80 03 D3 F2 0B 38 69 6E 69 00 71 4B FC 23 00 00 00 01 73 6C 6F 74 5F 31 2E 69 6E 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B 0F
  58. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 56 11 34 01 01 01 01 88 00 00 00 00 00 80 03 D3 F2 0B 38 69 6E 69 00 71 4B FC 23 00 00 00 01 73 6C 6F 74 5F 31 2E 69 6E 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B 0F RX:AA 55 56 0E 11 76 00 10 00 00 30 00 D3 F2 0B 38 FB 27
  59. DEBUG - pros.serial.devices.vex.v5_device:_rx_ext_packet - Set msg window to 00 10 00 00 30 00 D3 F2 0B 38
  60. DEBUG - pros.serial.devices.vex.v5_device:_txrx_ext_struct - Unpacking with format: <H2I
  61. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - response: {'max_packet_size': 4096, 'file_size': 3145728, 'crc': 940307155}
  62. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Completed ext 0x11 command
  63. Uploading slot_1.ini
  64. DEBUG - pros.serial.devices.vex.v5_device:write_file - Writing 136 bytes at 0x3800000
  65. DEBUG - pros.serial.devices.vex.v5_device:ft_write - Sending ext 0x13 command
  66. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 13 80 8C 00 00 80 03 5B 70 72 6F 67 72 61 6D 5D 0A 76 65 72 73 69 6F 6E 20 3D 20 30 2E 30 2E 30 0A 6E 61 6D 65 20 3D 20 53 74 61 74 65 73 0A 73 6C 6F 74 20 3D 20 30 0A 69 63 6F 6E 20 3D 20 55 53 45 52 39 30 32 78 2E 62 6D 70 0A 64 65 73 63 72 69 70 74 69 6F 6E 20 3D 20 43 72 65 61 74 65 64 20 77 69 74 68 20 50 52 4F 53 0A 64 61 74 65 20 3D 20 32 30 31 39 2D 30 32 2D 31 37 54 31 36 3A 34 32 3A 32 35 2E 34 36 33 31 34 38 0A 0A AE AD
  67. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 56 13 80 8C 00 00 80 03 5B 70 72 6F 67 72 61 6D 5D 0A 76 65 72 73 69 6F 6E 20 3D 20 30 2E 30 2E 30 0A 6E 61 6D 65 20 3D 20 53 74 61 74 65 73 0A 73 6C 6F 74 20 3D 20 30 0A 69 63 6F 6E 20 3D 20 55 53 45 52 39 30 32 78 2E 62 6D 70 0A 64 65 73 63 72 69 70 74 69 6F 6E 20 3D 20 43 72 65 61 74 65 64 20 77 69 74 68 20 50 52 4F 53 0A 64 61 74 65 20 3D 20 32 30 31 39 2D 30 32 2D 31 37 54 31 36 3A 34 32 3A 32 35 2E 34 36 33 31 34 38 0A 0A AE AD RX:AA 55 56 04 13 76 97 5C
  68. DEBUG - pros.serial.devices.vex.v5_device:ft_write - Completed ext 0x13 command
  69. DEBUG - pros.serial.devices.vex.v5_device:write_file - Completed 136 of 136 bytes
  70. DEBUG - pros.serial.devices.vex.v5_device:write_file - Data transfer complete, sending ft complete
  71. DEBUG - pros.serial.devices.vex.v5_device:ft_complete - Sending ext 0x12 command
  72. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 12 01 00 66 32
  73. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 56 12 01 00 66 32 RX:AA 55 56 04 12 76 A4 6D
  74. DEBUG - pros.serial.devices.vex.v5_device:ft_complete - Completed ext 0x12 command
  75. Compressing binary
  76. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  77. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  78. DEBUG - pros.serial.devices.vex.vex_device:_txrx_packet - TX:C9 36 B8 47 A4 RX:AA 55 A4 08 01 00 05 00 00 10 03 00
  79. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
  80. INFO - pros.serial.devices.vex.v5_device:write_file - Transferring slot_1.bin (285044 bytes) to the V5 from <_io.BytesIO object at 0x7f798aabeaf0>
  81. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Sending ext 0x11 command
  82. DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Initializing file transfer w/: {'function': 1, 'target': 1, 'vid': 1, 'overwrite': True, 'options': 1, 'length': 285044, 'addr': 58720256, 'crc': 1674136664, 'type': b'bin', 'timestamp': 603736945, 'version': 16777216, 'name': b'slot_1.bin'}
  83. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 11 34 01 01 01 01 74 59 04 00 00 00 80 03 58 4C C9 63 62 69 6E 00 71 4B FC 23 00 00 00 01 73 6C 6F 74 5F 31 2E 62 69 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C5 BF
  84. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  85. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  86. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  87. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  88. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  89. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  90. DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
  91. DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
  92. ERROR - pros.cli.upload:upload - Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
  93. Traceback (most recent call last):
  94. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 91, in wrapped
  95. f(device, *args, **kwargs)
  96. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 334, in write_program
  97. linked_filename=linked_remote_name, compress=compress_bin, **kwargs)
  98. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 538, in write_file
  99. ft_meta = self.ft_initialize(remote_file, function='upload', length=file_len, crc=crc32, **kwargs)
  100. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
  101. return func(*args, **kwargs)
  102. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 654, in ft_initialize
  103. rx = self._txrx_ext_struct(0x11, tx_payload, "<H2I")
  104. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 844, in _txrx_ext_struct
  105. check_length=check_length, check_ack=check_ack, timeout=timeout)
  106. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 906, in _txrx_ext_packet
  107. rx = self._txrx_packet(0x56, tx_data=tx_payload, timeout=timeout)
  108. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
  109. rx = self._rx_packet(timeout=timeout)
  110. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 63, in _rx_packet
  111. b = self.port.read(1)
  112. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/ports/direct_port.py", line 42, in read
  113. self.buffer.extend(self.serial.read(n_bytes - len(self.buffer)))
  114. File "/home/kusti8/.local/lib/python3.6/site-packages/serial/serialposix.py", line 483, in read
  115. ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())
  116. KeyboardInterrupt
  117.  
  118. During handling of the above exception, another exception occurred:
  119.  
  120. Traceback (most recent call last):
  121. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
  122. return func(*args, **kwargs)
  123. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
  124. ret = self._txrx_simple_struct(0xA4, '>8B')
  125. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
  126. rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
  127. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
  128. msg = self._txrx_packet(command, timeout=timeout)
  129. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
  130. rx = self._rx_packet(timeout=timeout)
  131. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
  132. raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
  133. OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
  134.  
  135. During handling of the above exception, another exception occurred:
  136.  
  137. Traceback (most recent call last):
  138. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
  139. return func(*args, **kwargs)
  140. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
  141. ret = self._txrx_simple_struct(0xA4, '>8B')
  142. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
  143. rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
  144. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
  145. msg = self._txrx_packet(command, timeout=timeout)
  146. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
  147. rx = self._rx_packet(timeout=timeout)
  148. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
  149. raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
  150. OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
  151.  
  152. During handling of the above exception, another exception occurred:
  153.  
  154. Traceback (most recent call last):
  155. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
  156. return func(*args, **kwargs)
  157. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
  158. ret = self._txrx_simple_struct(0xA4, '>8B')
  159. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
  160. rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
  161. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
  162. msg = self._txrx_packet(command, timeout=timeout)
  163. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
  164. rx = self._rx_packet(timeout=timeout)
  165. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
  166. raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
  167. OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
  168.  
  169. During handling of the above exception, another exception occurred:
  170.  
  171. Traceback (most recent call last):
  172. File "/home/kusti8/Documents/Github/pros-cli/pros/cli/upload.py", line 109, in upload
  173. device.upload_project(project, **kwargs)
  174. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 262, in upload_project
  175. return self.write_program(pf, **kwargs)
  176. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 91, in wrapped
  177. f(device, *args, **kwargs)
  178. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 195, in __exit__
  179. version = self.device.query_system_version()
  180. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
  181. return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
  182. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
  183. return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
  184. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
  185. return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
  186. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 55, in retries_wrapper
  187. raise e
  188. File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
  189. return func(*args, **kwargs)
  190. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
  191. ret = self._txrx_simple_struct(0xA4, '>8B')
  192. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
  193. rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
  194. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
  195. msg = self._txrx_packet(command, timeout=timeout)
  196. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
  197. rx = self._rx_packet(timeout=timeout)
  198. File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
  199. raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
  200. OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement