pymavlink icon indicating copy to clipboard operation
pymavlink copied to clipboard

Failure to handle partial MavFTP transfers

Open AndKe opened this issue 6 months ago • 4 comments

Is there an existing issue for this?

  • [x] 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

AndKe avatar Aug 19 '25 07:08 AndKe

Thanks for the report @AndKe I moved the icon issue to a different report so that both issues can be tracked independently.

amilcarlucas avatar Aug 19 '25 08:08 amilcarlucas

@AndKe did you install the package with uv pip install ardupilot_methodic_configurator manually? Or did you use the automated update function?

amilcarlucas avatar Aug 19 '25 17:08 amilcarlucas

I have not used "uv" , while in the venv, I used pip install -U ardupilot_methodic_configurator to update.

AndKe avatar Aug 19 '25 17:08 AndKe

This is an upstream bug of the MAVFTP library we use on ArduPilot methodic configurator, so I transferred it there

amilcarlucas avatar Sep 25 '25 11:09 amilcarlucas