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

Error [json.exception.out_of_range.401] array index 2 is out of range #96

Open
cassava opened this issue Jun 9, 2022 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@cassava
Copy link
Contributor

cassava commented Jun 9, 2022

Steps to reproduce:

cd plugins/vtd/tests
cloe-launch shell -P profile_default.py
cloe-engine -l debug run test_vtd_smoketest.json bootstrap_vtd.json ../../../tests/option_performance_measurements.json
@tobifalk
Copy link
Contributor

tobifalk commented Jun 9, 2022

There are in fact two issues:

  1. The environment variable ${CLOE_ROOT} used in the stackfile is currently only defined in the bats setup. Could we maybe define it in the profile's package_info() method?
  2. Issue 1. causes an exception thrown here. The variable interpolation is invoked from inside the loop over the stack files to be merged (s. recursive call here and here). When the exception is caught here, the index i value causes the out-of-range error.

@cassava
Copy link
Contributor Author

cassava commented Jun 30, 2022

Thanks for your root-cause analysis @tobifalk.

So I figured out a way to define some environment variables in #92. Haven't gotten a chance to look at the root cause.

@cassava cassava changed the title Error [json.exception.out_of_range.401] array index 2 is out of range Error [json.exception.out_of_range.401] array index 2 is out of range Dec 6, 2023
@cassava cassava self-assigned this Dec 6, 2023
@cassava cassava added this to the 0.23.0 milestone Dec 6, 2023
@cassava cassava added the bug Something isn't working label Dec 6, 2023
@cassava cassava modified the milestones: 0.23.0, 0.24.0 Apr 23, 2024
@cassava cassava modified the milestones: 0.24.0, 0.25.0 May 6, 2024
@cassava cassava removed this from the 0.25.0 milestone Jul 15, 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
Projects
None yet
Development

No branches or pull requests

2 participants