Expected Behavior:
Successfully upload project to v5 brain
Actual Behavior:
Most attempts fail, with only occasional successes.
Steps to reproduce:
just upload
System information:
Operating System:
arch linux
PROS Version:
3.5.6
Additional Information
I have tested on the same machine under Windows and in a KVM virtual machine (Windows too), both without any issues. It also worked fine on my Arch Linux setup previously. Therefore, I suspect this is caused by incompatibility with newer Linux libraries or drivers.
Screenshots/Output Dumps/Stack Traces
Transferring V5 to download channel
Uploading program "RedDebug-Template" (RedDebug-Template) to V5 slot 1 on /dev/ttyACM0 (compressed)
Compressing library [####################################] 100%
WARNING - pros.serial.devices.vex.v5_device:upload_library - Library onboard doesn't match! Length was 1104845 but expected 1110626 CRC: was 17d13d0c but expected 76f65d37 - pros-cli version:3.5.6
You're about to upload 1110626 bytes wirelessly. This could take some time, and you should consider uploading directly with a wire. [y/N]: y
Uploading ud6cW0YGTEQCrxk6G2DBsQ [------------------------------------] 0% 00:04:36
V5 has been transferred back to pit channel
ERROR - pros.cli.upload:upload - Device NACK'd with reason: Attempted to download/upload uninitialized
TX:C9 36 B8 47 56 13 81 04 00 24 80 03 80 B5 98 FB C0 17 C1 A7 CA 72 DC B1 E9 00 A7 4F 61 60 D6 F4 1C B7 7A 2C 40 63 25 DF 53 B5 F1 56 23 68 82 E3 C6 FB 69 E6 B3 7D 6F 9A E8 3A 53 C2 30 88 EF 6B B9 CA AE 8F 12 65 C9 93 84 D1 22 C8 78 CE 7A 9A 57 88 02 B3 87 C0 6C 38 4F D4 E3 A7 1C 81 D9 1B BB 30 47 21 EE 8A B9 F9 3E 22 39 04 E9 99 75 1E AD B6 18 6A A9 7F 79 D4 A3 A9 03 0A 81 43 2E C8 E1 EF A1 37 D6 88 DE 27 92 60 94 30 B8 D7 51 35 EE 3F 67 18 DC 6F 9A E0 9A 5E 91 7D 3B 9E 31 3E 89 80 A1 3B 88 61 04 60 90 46 A1 61 63 EA 73 DC F4 02 1C 7B 73 DC CA F9 58 DE 1C 77 9E 16 EF 8B C1 AD 98 7E 95 73 76 C9 ED 09 B0 0F 2B DA C7 EF 15 97 3C D0 18 DA 03 AC FB 1C F7 AF 02 36 BC 07 63 FA DC 83 2E AF A1 11 EF C2 C5 7A F1 27 E6 C6 7F 79 E8 24 09 2F A5 20 13 6E C0 5A 40 43 8A B9 51 3D A4 A0 83 3C 81 5B 09 AF A4 8B 91 33 RX:AA 55 56 04 13 D4 02 F4 - pros-cli version:3.5.6
File "pros/serial/devices/vex/v5_device.py", line 999, in _rx_ext_packet
pros.serial.devices.vex.comm_error.VEXCommError: Device NACK'd with reason: Attempted to download/upload uninitialized
TX:C9 36 B8 47 56 13 81 04 00 24 80 03 80 B5 98 FB C0 17 C1 A7 CA 72 DC B1 E9 00 A7 4F 61 60 D6 F4 1C B7 7A 2C 40 63 25 DF 53 B5 F1 56 23 68 82 E3 C6 FB 69 E6 B3 7D 6F 9A E8 3A 53 C2 30 88 EF 6B B9 CA AE 8F 12 65 C9 93 84 D1 22 C8 78 CE 7A 9A 57 88 02 B3 87 C0 6C 38 4F D4 E3 A7 1C 81 D9 1B BB 30 47 21 EE 8A B9 F9 3E 22 39 04 E9 99 75 1E AD B6 18 6A A9 7F 79 D4 A3 A9 03 0A 81 43 2E C8 E1 EF A1 37 D6 88 DE 27 92 60 94 30 B8 D7 51 35 EE 3F 67 18 DC 6F 9A E0 9A 5E 91 7D 3B 9E 31 3E 89 80 A1 3B 88 61 04 60 90 46 A1 61 63 EA 73 DC F4 02 1C 7B 73 DC CA F9 58 DE 1C 77 9E 16 EF 8B C1 AD 98 7E 95 73 76 C9 ED 09 B0 0F 2B DA C7 EF 15 97 3C D0 18 DA 03 AC FB 1C F7 AF 02 36 BC 07 63 FA DC 83 2E AF A1 11 EF C2 C5 7A F1 27 E6 C6 7F 79 E8 24 09 2F A5 20 13 6E C0 5A 40 43 8A B9 51 3D A4 A0 83 3C 81 5B 09 AF A4 8B 91 33 RX:AA 55 56 04 13 D4 02 F4
Sentry is attempting to send 1 pending events
Waiting up to 2 seconds
Press Ctrl-C to quit
Expected Behavior:
Successfully upload project to v5 brain
Actual Behavior:
Most attempts fail, with only occasional successes.
Steps to reproduce:
just upload
System information:
Operating System:
arch linux
PROS Version:
3.5.6
Additional Information
I have tested on the same machine under Windows and in a KVM virtual machine (Windows too), both without any issues. It also worked fine on my Arch Linux setup previously. Therefore, I suspect this is caused by incompatibility with newer Linux libraries or drivers.
Screenshots/Output Dumps/Stack Traces
Transferring V5 to download channel
Uploading program "RedDebug-Template" (RedDebug-Template) to V5 slot 1 on /dev/ttyACM0 (compressed)
Compressing library [####################################] 100%
WARNING - pros.serial.devices.vex.v5_device:upload_library - Library onboard doesn't match! Length was 1104845 but expected 1110626 CRC: was 17d13d0c but expected 76f65d37 - pros-cli version:3.5.6
You're about to upload 1110626 bytes wirelessly. This could take some time, and you should consider uploading directly with a wire. [y/N]: y
Uploading ud6cW0YGTEQCrxk6G2DBsQ [------------------------------------] 0% 00:04:36
V5 has been transferred back to pit channel
ERROR - pros.cli.upload:upload - Device NACK'd with reason: Attempted to download/upload uninitialized
TX:C9 36 B8 47 56 13 81 04 00 24 80 03 80 B5 98 FB C0 17 C1 A7 CA 72 DC B1 E9 00 A7 4F 61 60 D6 F4 1C B7 7A 2C 40 63 25 DF 53 B5 F1 56 23 68 82 E3 C6 FB 69 E6 B3 7D 6F 9A E8 3A 53 C2 30 88 EF 6B B9 CA AE 8F 12 65 C9 93 84 D1 22 C8 78 CE 7A 9A 57 88 02 B3 87 C0 6C 38 4F D4 E3 A7 1C 81 D9 1B BB 30 47 21 EE 8A B9 F9 3E 22 39 04 E9 99 75 1E AD B6 18 6A A9 7F 79 D4 A3 A9 03 0A 81 43 2E C8 E1 EF A1 37 D6 88 DE 27 92 60 94 30 B8 D7 51 35 EE 3F 67 18 DC 6F 9A E0 9A 5E 91 7D 3B 9E 31 3E 89 80 A1 3B 88 61 04 60 90 46 A1 61 63 EA 73 DC F4 02 1C 7B 73 DC CA F9 58 DE 1C 77 9E 16 EF 8B C1 AD 98 7E 95 73 76 C9 ED 09 B0 0F 2B DA C7 EF 15 97 3C D0 18 DA 03 AC FB 1C F7 AF 02 36 BC 07 63 FA DC 83 2E AF A1 11 EF C2 C5 7A F1 27 E6 C6 7F 79 E8 24 09 2F A5 20 13 6E C0 5A 40 43 8A B9 51 3D A4 A0 83 3C 81 5B 09 AF A4 8B 91 33 RX:AA 55 56 04 13 D4 02 F4 - pros-cli version:3.5.6
File "pros/serial/devices/vex/v5_device.py", line 999, in _rx_ext_packet
pros.serial.devices.vex.comm_error.VEXCommError: Device NACK'd with reason: Attempted to download/upload uninitialized
TX:C9 36 B8 47 56 13 81 04 00 24 80 03 80 B5 98 FB C0 17 C1 A7 CA 72 DC B1 E9 00 A7 4F 61 60 D6 F4 1C B7 7A 2C 40 63 25 DF 53 B5 F1 56 23 68 82 E3 C6 FB 69 E6 B3 7D 6F 9A E8 3A 53 C2 30 88 EF 6B B9 CA AE 8F 12 65 C9 93 84 D1 22 C8 78 CE 7A 9A 57 88 02 B3 87 C0 6C 38 4F D4 E3 A7 1C 81 D9 1B BB 30 47 21 EE 8A B9 F9 3E 22 39 04 E9 99 75 1E AD B6 18 6A A9 7F 79 D4 A3 A9 03 0A 81 43 2E C8 E1 EF A1 37 D6 88 DE 27 92 60 94 30 B8 D7 51 35 EE 3F 67 18 DC 6F 9A E0 9A 5E 91 7D 3B 9E 31 3E 89 80 A1 3B 88 61 04 60 90 46 A1 61 63 EA 73 DC F4 02 1C 7B 73 DC CA F9 58 DE 1C 77 9E 16 EF 8B C1 AD 98 7E 95 73 76 C9 ED 09 B0 0F 2B DA C7 EF 15 97 3C D0 18 DA 03 AC FB 1C F7 AF 02 36 BC 07 63 FA DC 83 2E AF A1 11 EF C2 C5 7A F1 27 E6 C6 7F 79 E8 24 09 2F A5 20 13 6E C0 5A 40 43 8A B9 51 3D A4 A0 83 3C 81 5B 09 AF A4 8B 91 33 RX:AA 55 56 04 13 D4 02 F4
Sentry is attempting to send 1 pending events
Waiting up to 2 seconds
Press Ctrl-C to quit