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

Job resource parameters selector broken on usegalaxu.eu (unknown causes) #16727

Closed
kysrpex opened this issue Sep 22, 2023 · 1 comment · Fixed by #16728
Closed

Job resource parameters selector broken on usegalaxu.eu (unknown causes) #16727

kysrpex opened this issue Sep 22, 2023 · 1 comment · Fixed by #16728

Comments

@kysrpex
Copy link
Contributor

kysrpex commented Sep 22, 2023

Describe the bug
The job resource parameters selector broke on usegalaxy.eu. For the tool keras_train_and_eval, the option "Use GPU resources" shows up, but no drop-down menu is available and no items can be selected.

Galaxy Version and/or server at which you observed the bug
Galaxy Version: 23.1rc1
Commit: 248078bacc45776a7cca26183b663208a7eadb82 (from the usegalaxy-eu/galaxy fork)

To Reproduce
Steps to reproduce the behavior:

  1. Visit the keras_train_and_eval tool page.
  2. Select "Specify job resource parameters" under "Job Resource Parameters".
  3. The parameter "Use GPU resources" shows up.
  4. The message "No options available." is shown under the parameter's label.

Expected behavior
Two options ("No (default)", "Yes") should be available in the drop-down menu. In fact, this was working a few days/weeks ago.

Screenshots
image

Additional context
After debugging this issue, the options are available in the XML nodes tagged with "param" here. They are then returned and later retrieved, but by then, the children of the XML node (the options) are gone.

I do not think this is a Galaxy bug but rather something related either to lxml or whatever is doing the garbage collection. On a local Galaxy instance I have in a VM this is not happening.

I have proposed a workaround in #16728.

kysrpex added a commit to kysrpex/galaxyproject-galaxy that referenced this issue Sep 22, 2023
…dren

This bug was spotted because the job resource parameters selector broke on usegalaxy.eu. For the tool keras_train_and_eval, the option "Use GPU resources" shows up, but no drop-down menu is available and no items can be selected.

The options are available as children of the XML nodes tagged with "param" within the scope of `galaxy.jobs.parse_resource_parameters`. They are then returned and later retrieved within the scope of `galaxy.util.parse_resource_parameters`, but by then, the children of the XML node (the options) are gone.

See galaxyproject#16727 for more details.
@kysrpex
Copy link
Contributor Author

kysrpex commented Sep 22, 2023

@anuprulez This is the problem you mentioned yesterday, and as you can see I have also proposed a solution. I think it makes sense to mention you here so that you get notified when the issue gets closed.

@kysrpex kysrpex closed this as completed Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant