Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO - pros.cli.common:callback - Debugging messages enabled
- DEBUG - pros:callback - CLI Version: 3.1.3
- INFO - pros.conductor.project:find_project - Found Project Path: /home/kusti8/Documents/Github/vex1819/765A/States/project.pros
- INFO - pros.conductor.project:find_project - Found Project Path: /home/kusti8/Documents/Github/vex1819/765A/States/project.pros
- DEBUG - pros.config.config:__init__ - Opening /home/kusti8/Documents/Github/vex1819/765A/States/project.pros (Project)
- DEBUG - pros.config.config:__init__ - Opening /home/kusti8/.config/pros/cli.pros (CliConfig)
- DEBUG - pros.conductor.project:libscanbuild_capture - /home/kusti8/Documents/Github/vex1819/765A/States
- 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++'}
- make: Nothing to be done for 'quick'.
- DEBUG - root:run_build - build finished with exit code: 0
- 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'}
- INFO - pros.cli.common:resolve_v5_port - Automatically selected /dev/ttyACM0
- 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'}
- DEBUG - pros.serial.ports.direct_port:create_serial_port - Opening serial port /dev/ttyACM0
- DEBUG - pros.serial.devices.vex.v5_device:upload_project - Monolith exists! (/home/kusti8/Documents/Github/vex1819/765A/States/bin/output.bin)
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- 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
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
- Uploading program "States" (output.bin) to V5 slot 1 on /dev/ttyACM0 (compressed)
- DEBUG - pros.serial.devices.vex.v5_device:get_system_status - Sending ext 0x22 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 22 00 60 FC
- 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
- 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
- DEBUG - pros.serial.devices.vex.v5_device:_txrx_ext_struct - Unpacking with format: <x12B3xBI12x
- DEBUG - pros.serial.devices.vex.v5_device:get_system_status - Completed ext 0x22 command
- INFO - pros.serial.devices.vex.v5_device:generate_ini_file - Created ini: [program]
- version = 0.0.0
- name = States
- slot = 0
- icon = USER902x.bmp
- description = Created with PROS
- date = 2019-02-17T16:42:25.463148
- INFO - pros.serial.devices.vex.v5_device:write_program - Created ini: [program]
- version = 0.0.0
- name = States
- slot = 0
- icon = USER902x.bmp
- description = Created with PROS
- date = 2019-02-17T16:42:25.463148
- DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - Sending ext 0x18 command
- DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - VID: 1 Options: 128 File name: Run: False
- 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
- 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
- DEBUG - pros.serial.devices.vex.v5_device:execute_program_file - Completed ext 0x18 command
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- 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
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
- INFO - pros.serial.devices.vex.v5_device:write_file - Transferring slot_1.ini (136 bytes) to the V5 from <_io.BytesIO object at 0x7f798aabea98>
- DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Sending ext 0x11 command
- 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'}
- 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
- 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
- DEBUG - pros.serial.devices.vex.v5_device:_rx_ext_packet - Set msg window to 00 10 00 00 30 00 D3 F2 0B 38
- DEBUG - pros.serial.devices.vex.v5_device:_txrx_ext_struct - Unpacking with format: <H2I
- DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - response: {'max_packet_size': 4096, 'file_size': 3145728, 'crc': 940307155}
- DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Completed ext 0x11 command
- Uploading slot_1.ini
- DEBUG - pros.serial.devices.vex.v5_device:write_file - Writing 136 bytes at 0x3800000
- DEBUG - pros.serial.devices.vex.v5_device:ft_write - Sending ext 0x13 command
- 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
- 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
- DEBUG - pros.serial.devices.vex.v5_device:ft_write - Completed ext 0x13 command
- DEBUG - pros.serial.devices.vex.v5_device:write_file - Completed 136 of 136 bytes
- DEBUG - pros.serial.devices.vex.v5_device:write_file - Data transfer complete, sending ft complete
- DEBUG - pros.serial.devices.vex.v5_device:ft_complete - Sending ext 0x12 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 56 12 01 00 66 32
- 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
- DEBUG - pros.serial.devices.vex.v5_device:ft_complete - Completed ext 0x12 command
- Compressing binary
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- 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
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Completed simple 0xA408 command
- INFO - pros.serial.devices.vex.v5_device:write_file - Transferring slot_1.bin (285044 bytes) to the V5 from <_io.BytesIO object at 0x7f798aabeaf0>
- DEBUG - pros.serial.devices.vex.v5_device:ft_initialize - Sending ext 0x11 command
- 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'}
- 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
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- DEBUG - pros.serial.devices.vex.v5_device:query_system_version - Sending simple 0xA408 command
- DEBUG - pros.serial.devices.vex.vex_device:_tx_packet - V5Device TX: C9 36 B8 47 A4
- ERROR - pros.cli.upload:upload - Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
- Traceback (most recent call last):
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 91, in wrapped
- f(device, *args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 334, in write_program
- linked_filename=linked_remote_name, compress=compress_bin, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 538, in write_file
- ft_meta = self.ft_initialize(remote_file, function='upload', length=file_len, crc=crc32, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
- return func(*args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 654, in ft_initialize
- rx = self._txrx_ext_struct(0x11, tx_payload, "<H2I")
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 844, in _txrx_ext_struct
- check_length=check_length, check_ack=check_ack, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 906, in _txrx_ext_packet
- rx = self._txrx_packet(0x56, tx_data=tx_payload, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
- rx = self._rx_packet(timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 63, in _rx_packet
- b = self.port.read(1)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/ports/direct_port.py", line 42, in read
- self.buffer.extend(self.serial.read(n_bytes - len(self.buffer)))
- File "/home/kusti8/.local/lib/python3.6/site-packages/serial/serialposix.py", line 483, in read
- ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())
- KeyboardInterrupt
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
- return func(*args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
- ret = self._txrx_simple_struct(0xA4, '>8B')
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
- rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
- msg = self._txrx_packet(command, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
- rx = self._rx_packet(timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
- raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
- OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
- return func(*args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
- ret = self._txrx_simple_struct(0xA4, '>8B')
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
- rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
- msg = self._txrx_packet(command, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
- rx = self._rx_packet(timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
- raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
- OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
- return func(*args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
- ret = self._txrx_simple_struct(0xA4, '>8B')
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
- rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
- msg = self._txrx_packet(command, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
- rx = self._rx_packet(timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
- raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
- OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/kusti8/Documents/Github/pros-cli/pros/cli/upload.py", line 109, in upload
- device.upload_project(project, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 262, in upload_project
- return self.write_program(pf, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 91, in wrapped
- f(device, *args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 195, in __exit__
- version = self.device.query_system_version()
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
- return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
- return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 53, in retries_wrapper
- return retries_wrapper(*args, n_retries=n_retries - 1, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 55, in retries_wrapper
- raise e
- File "/home/kusti8/Documents/Github/pros-cli/pros/common/utils.py", line 50, in retries_wrapper
- return func(*args, **kwargs)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/v5_device.py", line 604, in query_system_version
- ret = self._txrx_simple_struct(0xA4, '>8B')
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 35, in _txrx_simple_struct
- rx = self._txrx_simple_packet(command, struct.calcsize(unpack_fmt), timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 47, in _txrx_simple_packet
- msg = self._txrx_packet(command, timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 115, in _txrx_packet
- rx = self._rx_packet(timeout=timeout)
- File "/home/kusti8/Documents/Github/pros-cli/pros/serial/devices/vex/vex_device.py", line 75, in _rx_packet
- raise IOError(f"Couldn't find the response header in the device response after {timeout} s. "
- 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