MethodicConfigurator icon indicating copy to clipboard operation
MethodicConfigurator copied to clipboard

No vehicle_templates folder on linux (pip installation)

Open alexandru-g opened this issue 1 year ago • 2 comments

Describe the bug Fresh install of MethodicConfigurator on Linux Mint using miniconda. There is no miniconda3/lib/python3.10/site-packages/MethodicConfigurator/vehicle_templates folder and I cannot start using the software (it needs to create a config for my copter and throws an error that there is no templates folder. I've searched for that folder in case it was a python issue but there wasn't one anywhere.

To Reproduce Steps to reproduce the behavior:

  1. Start MethodicConfigurator
  2. Click on 'Create vehicle configuration directory from template'
  3. See error

Expected behavior The vehicle_templates folder should be present.

Screenshots image image

Desktop (please complete the following information):

  • OS: Linux Mint
  • Version: 22

ArduPilot context

  • ArduPilot version: compiled from master
  • Flight controller hardware: JHEMCU GHF745AIO (ported Ardupilot for it)

alexandru-g avatar Sep 10 '24 14:09 alexandru-g

For my use I just copied the folder from the repo to that location.

alexandru-g avatar Sep 10 '24 14:09 alexandru-g

Yes, that is a known issue, the source pip package does contain the files but the binary pip package does not. PR's are welcome. The solution you found is the same I use :-P

amilcarlucas avatar Sep 11 '24 19:09 amilcarlucas

A workaround is:

git clone https://github.com/ArduPilot/MethodicConfigurator.git
cd MethodicConfigurator
./install_linux.sh

amilcarlucas avatar Oct 30 '24 13:10 amilcarlucas