-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unusable on (Gentoo) Linux with venv installation #91
Comments
This commit will help me diagnose the issue: 042f116 git clone https://github.com/ArduPilot/MethodicConfigurator.git
cd MethodicConfigurator
python -m venv .ardupilot_methodic_configurator_venv
source .ardupilot_methodic_configurator_venv/bin/activate
pip install -E . |
Assuming it is Based on changes in this commit, I see that only debugging output was added. So, either the bug has been fixed before, or version 1.0.5 available via |
The debug output apparently is not enabled if one just starts the configurator (logging messages start from INFO), so I did not see the newly introduced message about the command line. There is plenty of error-level output though, but it is quite clear where it comes from (the ArduPilot version the vehicle runs is a slight modification to master, which identifies as 4.7.0-something, so the configurator tries to look up parameter definitions from 4.7-stable and fails). UPD: it probably tries to fall over to dev version, but it does not look healthy even after this... This is a whole different issue, however. |
My fault. You should start ardupilot_methodic_configurator with --loglevel=DEBUG and the second issue should be in a separate bug report please. |
Running with
where two last lines are definitely relevant. Template selection currently works. This is not a clean run because now I have existing vehicle configurations (not complete at all, but still), but I think that the issue being discussed does not manifest as of now. I don't know whether we should close this issue now, or wait for the next release to see whether it gets solved in what |
There is a new pip release with that debug output. Please update and re-test. |
Is there an existing issue for this?
Description of the bug
Configurator refers to a non-existent vehicle template "~/.local/ardupilot_methodic_configurator/vehicle_templates/ArduCopter/diatone_taycan_mxc/4.5.x-params". More info:
Chances are, the configurator confuses the
~/.local
directory and the current directory in different code locations. I have no idea why.Steps To Reproduce
cd
into a directory with Ardupilot repos, thenpython -m venv _venv_
)source _venv_/bin/activate
)cd _venv_
ardupilot_methodic_configurator
Expected behavior
Expected to be able to choose one of the templates.
Screenshots / Logs
No response
Software information
Additional context
No response
The text was updated successfully, but these errors were encountered: