Is there an existing issue or a documentation page for this?
Which version of the app are you using?
0.35.3
Operating System
Linux Ubuntu*
Packaging mode
Python package
Related resources
Demo scanrio : https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml
Description of the bug
qgis-installation-finder job error
Steps to reproduce
- Install python package :
pip install qgis-deployment-toolbelt
- Run
qdt deploy -vv -s https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml
Relevant log output
❯ qdt deploy -vv -s https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml
2024-10-07 15:27:54||INFO||journalizer||configure_logger||110||Log file: /home/florent/.cache/qgis-deployment-toolbelt/logs/QGISDeploymentToolbelt_0.35.3.log
2024-10-07 15:27:54||INFO||journalizer||headers||118||========== QGIS Deployment Toolbelt - 0.35.3 ==========
2024-10-07 15:27:54||DEBUG||journalizer||headers||119||Operating System: Linux-6.8.0-45-generic-x86_64-with-glibc2.39
2024-10-07 15:27:54||DEBUG||journalizer||headers||121||Distribution name and version: Ubuntu 24.04
2024-10-07 15:27:54||DEBUG||journalizer||headers||124||Architecture: 64bit
2024-10-07 15:27:54||DEBUG||journalizer||headers||125||Computer: DellXPS15
2024-10-07 15:27:54||DEBUG||journalizer||headers||126||Launched by user: florent
2024-10-07 15:27:54||DEBUG||journalizer||headers||131||No OS domain detected.
2024-10-07 15:27:54||DEBUG||proxies||get_proxy_settings||81||No proxy settings found in environment vars nor OS settings.
2024-10-07 15:27:54||DEBUG||journalizer||headers||136||No network proxies detected
2024-10-07 15:27:54||DEBUG||journalizer||headers||139||Installed certificate authority (CA) bundle: /home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/certifi/cacert.pem
2024-10-07 15:27:54||DEBUG||journalizer||headers||140||Default certificate authority (CA) bundle: /home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/certifi/cacert.pem
2024-10-07 15:27:54||DEBUG||journalizer||headers||141||Certificate authority (CA) bundle to use: None
2024-10-07 15:27:54||DEBUG||str2bool||str2bool||56||Value False was already a bool.
2024-10-07 15:27:54||DEBUG||cli||main||211||Log level set: Level 3
2024-10-07 15:27:54||DEBUG||deployment||run||122||Running deploy with Namespace(opt_logfile_disabled=True, verbosity=3, proxy_http=None, command='deploy', scenario_filepath='https://raw.githubusercontent.com/Guts/qgis-deployment-cli/r
efs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml', func=<function run at 0x753bc0d1b4c0>)
2024-10-07 15:27:54||DEBUG||constants||get_qdt_working_directory||134||QDT working folder - Using default path: /home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||DEBUG||str2bool||str2bool||56||Value True was already a bool.
2024-10-07 15:27:54||DEBUG||str2bool||str2bool||56||Value True was already a bool.
2024-10-07 15:27:54||DEBUG||str2bool||str2bool||56||Value False was already a bool.
2024-10-07 15:27:54||DEBUG||connectionpool||_new_conn||1051||Starting new HTTPS connection (1): raw.githubusercontent.com:443
2024-10-07 15:27:54||DEBUG||connectionpool||_make_request||546||https://raw.githubusercontent.com:443 "GET /Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml HTTP/11" 200 713
2024-10-07 15:27:54||INFO||file_downloader||download_remote_file_to_local||147||Downloading https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml to /home/florent/.cac
he/remote_scenarios/rawgithubusercontentcom/gutsqgis-deployment-clirefsheadsmainexamplesscenarios/demo-scenario-http.qdt.yml (1.75 Ko) succeeded.
2024-10-07 15:27:54||INFO||deployment||run||168||Running scenario: Demonstration scenario of QGIS Deployment Toolbelt with HTTP (qdt-demo-scenario-http). Demonstration scenario of QGIS Deployment Toolbelt that uses HTTP (without git)
to download remote profiles.
2024-10-07 15:27:54||DEBUG||deployment||run||175||Setting environment variable QDT_SCENARIO_VALIDATION = True.
2024-10-07 15:27:54||DEBUG||constants||get_qdt_working_directory||134||QDT working folder - Using default path: /home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||INFO||deployment||run||183||QDT working folder: /home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||DEBUG||orchestrator||__init__||73||3 environment variables related to QDT:
2024-10-07 15:27:54||DEBUG||orchestrator||__init__||75||QDT_SCENARIO_VALIDATION=True
2024-10-07 15:27:54||DEBUG||orchestrator||__init__||75||QDT_LOCAL_QDT_WORKDIR=/home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||DEBUG||orchestrator||__init__||75||QDT_TMP_RUNNING_SCENARIO_ID=qdt-demo-scenario-http
2024-10-07 15:27:54||DEBUG||deployment||run||192||Filtering valid steps in scenario...
2024-10-07 15:27:54||INFO||deployment||run||202||Running step: qgis-installation-finder
2024-10-07 15:27:54||DEBUG||constants||from_opersys||255||Getting configuration for current operating system: linux
2024-10-07 15:27:54||DEBUG||constants||get_qdt_working_directory||134||QDT working folder - Using default path: /home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||DEBUG||generic_job||__init__||68||QDT working folder: /home/florent/.cache/qgis-deployment-toolbelt
2024-10-07 15:27:54||DEBUG||generic_job||__init__||83||Installed QGIS profiles folder: /home/florent/.local/share/QGIS/QGIS3/profiles
2024-10-07 15:27:54||ERROR||bouncer||exit_cli_error||43||Job: qgis-installation-finder. Option 'if_not_found' 's value 'warn' does not comply with condition startswith. Accepted pattern: warning,error
Traceback (most recent call last):
File "/home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/qgis_deployment_toolbelt/commands/deployment.py", line 204, in run
job = orchestrator.init_job_class_from_id(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/qgis_deployment_toolbelt/jobs/orchestrator.py", line 105, in init_job_class_from_id
return job(options)
^^^^^^^^^^^^
File "/home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/qgis_deployment_toolbelt/jobs/job_qgis_installation_finder.py", line 89, in __init__
self.options: dict = self.validate_options(options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/florent/venv/qdt/.qdt/lib/python3.12/site-packages/qgis_deployment_toolbelt/jobs/generic_job.py", line 254, in validate_options
raise JobOptionBadValue(
qgis_deployment_toolbelt.exceptions.JobOptionBadValue: Job: qgis-installation-finder. Option 'if_not_found' 's value 'warn' does not comply with condition startswith. Accepted pattern: warning,error
2024-10-07 15:27:54||ERROR||bouncer||exit_cli_error||44||Please, read the full detailed log: /home/florent/.cache/qgis-deployment-toolbelt/logs/QGISDeploymentToolbelt_0.35.3.log
Job: qgis-installation-finder. Option 'if_not_found' 's value 'warn' does not comply with condition startswith. Accepted pattern: warning,error
### Comment
_No response_
Is there an existing issue or a documentation page for this?
Which version of the app are you using?
0.35.3
Operating System
Linux Ubuntu*
Packaging mode
Python package
Related resources
Demo scanrio : https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.yml
Description of the bug
qgis-installation-finder job error
Steps to reproduce
pip install qgis-deployment-toolbeltqdt deploy -vv -s https://raw.githubusercontent.com/Guts/qgis-deployment-cli/refs/heads/main/examples/scenarios/demo-scenario-http.qdt.ymlRelevant log output