Skip to content

Failure to handle partial MavFTP transfers #716

@AndKe

Description

@AndKe

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

In the odd case of MavFTP failing, the application just closes.

Steps To Reproduce

  • the FTP is by chance, wont happen often

Expected behavior

retry on FTP error.

Screenshots / Logs

Two ERROR lines below:

2025-08-19 09:43:00,509 - INFO - Running version: 2.0.3 (git hash: )
2025-08-19 09:43:00,977 - INFO - Already running latest version.
2025-08-19 09:43:01,000 - INFO - Available connection ports are:
2025-08-19 09:43:01,000 - INFO - /dev/ttyS31 - n/a
......
2025-08-19 09:43:01,001 - INFO - /dev/ttyS0 - n/a
2025-08-19 09:43:01,001 - INFO - /dev/ttyACM0 - CubeBlack
2025-08-19 09:43:01,001 - INFO - tcp:127.0.0.1:5760 - tcp:127.0.0.1:5760
2025-08-19 09:43:01,001 - INFO - udp:127.0.0.1:14550 - udp:127.0.0.1:14550
2025-08-19 09:43:01,003 - INFO - Will connect to /dev/ttyACM0 @ 115200 baud
2025-08-19 09:43:01,005 - INFO - Autopilot type ArduPilot - Plane/Copter/Rover/Sub/Tracker, https://ardupilot.org
2025-08-19 09:43:01,006 - INFO - Vehicle type: Quadrotor running ArduCopter firmware
Opening in existing browser session.
2025-08-19 09:43:02,247 - ERROR - Could not load application icon: couldn't open "/home/andre/prog/.ardupilot_methodic_configurator_venv/lib/python3.13/site-packages/ardupilot_methodic_configurator/images/ArduPilot_icon.png": no such file or directory
2025-08-19 09:43:02,284 - INFO - Firmware Version: 4.5.7 official
2025-08-19 09:43:02,285 - INFO - Firmware first 8 hex bytes of the FC git hash: 2a3dc4b7
2025-08-19 09:43:02,285 - INFO - Firmware first 8 hex bytes of the ChibiOS git hash: 6a85082c
2025-08-19 09:43:02,285 - INFO - Flight Controller firmware type: CubeBlack (9)
2025-08-19 09:43:02,285 - INFO - Flight Controller HW / board version: 0
2025-08-19 09:43:02,285 - INFO - Flight Controller USB vendor ID: Hex/ProfiCNC,CubePilot
2025-08-19 09:43:02,285 - INFO - Flight Controller USB product ID: CubeBlack,CubeGreen-solo
2025-08-19 09:43:02,542 - INFO - MAVFTP is supported by the /dev/ttyACM0 flight controller
2025-08-19 09:43:06,980 - ERROR - paramftp: bad count 969 should be 1050

Software information

  • Operating system: Ubuntu 25.04
  • arduPilot Methodic Configuration version: 2.0.3 release

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions