Skip to content
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

[BUG]: TypeError: Options to validate must be a dict, not <class 'list'> #599

Closed
1 task done
nicogodet opened this issue Dec 13, 2024 · 2 comments · Fixed by #600 or #601
Closed
1 task done

[BUG]: TypeError: Options to validate must be a dict, not <class 'list'> #599

nicogodet opened this issue Dec 13, 2024 · 2 comments · Fixed by #600 or #601
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@nicogodet
Copy link
Contributor

nicogodet commented Dec 13, 2024

Is there an existing issue or a documentation page for this?

  • I have searched the existing issues and within documentation

Which version of the app are you using?

0.36.1

Operating System

Windows 10+*

Packaging mode

Stand-alone executable (.i.e qdt.exe)

Related resources

https://gitlab.com/isl-ingenierie/qgis/isl_qgis_profiles/-/blob/305eba4ffadd0212ebf2620b0ea3c519ef1a21a6/scenarios/scenario_isl_qdt.yml

Description of the bug

2024-12-13 14:26:33||ERROR||bouncer||exit_cli_error||43||Options to validate must be a dict, not <class 'list'>.
Traceback (most recent call last):
  File "qgis_deployment_toolbelt\commands\deployment.py", line 204, in run
  File "qgis_deployment_toolbelt\jobs\orchestrator.py", line 105, in init_job_class_from_id
  File "qgis_deployment_toolbelt\jobs\job_qgis_installation_finder.py", line 89, in __init__
  File "qgis_deployment_toolbelt\jobs\generic_job.py", line 220, in validate_options
TypeError: Options to validate must be a dict, not <class 'list'>.

with this fix: https://gitlab.com/isl-ingenierie/qgis/isl_qgis_profiles/-/commit/141991318f93992426951bc58b9abe4adb0c304f
OK

Steps to reproduce

Run QDT with -s https://gitlab.com/isl-ingenierie/qgis/isl_qgis_profiles/-/raw/305eba4ffadd0212ebf2620b0ea3c519ef1a21a6/scenarios/scenario_isl_qdt.yml -vvv

Relevant log output

No response

Comment

No response

@nicogodet nicogodet added the triage To be qualified, waiting for a project manager label Dec 13, 2024
@Guts
Copy link
Collaborator

Guts commented Dec 13, 2024

I think it's not a bug on QDT side but you've been lead to a wrong format for QGIS Finder job. See: #598

@Guts Guts added bug Something isn't working documentation Improvements or additions to documentation and removed triage To be qualified, waiting for a project manager labels Dec 13, 2024
@Guts
Copy link
Collaborator

Guts commented Dec 13, 2024

JSON Schemas have been fixed. Thanks for reporting and your fix.

@Guts Guts closed this as completed Dec 13, 2024
This was linked to pull requests Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
2 participants