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

bioblend: Internal Server Error #26

Open
hechth opened this issue Nov 27, 2024 · 6 comments
Open

bioblend: Internal Server Error #26

hechth opened this issue Nov 27, 2024 · 6 comments

Comments

@hechth
Copy link

hechth commented Nov 27, 2024

Hi, I'm trying to get info on a workflow invocation step (so that I can automatically re-run all failed jobs from a step) using bioblend.

Unfortunately I'm getting the following error:

Traceback (most recent call last):
  File "/home/hechth/dev/specdatri/resume_workflow_jobs.py", line 16, in <module>
    step = wf.show_invocation_step(wf_id, invocation_id, "55639049d2587598")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hechth/micromamba/envs/bioblend/lib/python3.12/site-packages/bioblend/galaxy/workflows/__init__.py", line 629, in show_invocation_step
    return self._get(url=url)
           ^^^^^^^^^^^^^^^^^^
  File "/home/hechth/micromamba/envs/bioblend/lib/python3.12/site-packages/bioblend/galaxy/client.py", line 134, in _get
    raise ConnectionError(
bioblend.ConnectionError: GET: error 500: b'Internal Server Error', 0 attempts left: Internal Server Error

Any idea what this could be related to?

@martindemko
Copy link
Contributor

Hi,
yesterday I saw a weird network behaviour when I tried to access the interface. It could be connected. But today it looks good. At leat from my perspective. How many times did you try? Could you try again in 10 or 30 min? If the trouble persists?
Thanks

@hechth
Copy link
Author

hechth commented Nov 29, 2024

Still the same error.

@zsalvet
Copy link

zsalvet commented Dec 2, 2024

Hi,
you should report exact timestamp of the request, I can see no 500 response in our logs near the time of your comment.

@hechth
Copy link
Author

hechth commented Dec 3, 2024

2024-12-03 1356.16.161459
Traceback (most recent call last):
  File "/home/hechth/dev/specdatri/resume_workflow_jobs.py", line 16, in <module>
    step = wf.show_invocation_step(wf_id, invocation_id, "55639049d2587598")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hechth/micromamba/envs/bioblend/lib/python3.12/site-packages/bioblend/galaxy/workflows/__init__.py", line 629, in show_invocation_step
    return self._get(url=url)
           ^^^^^^^^^^^^^^^^^^
  File "/home/hechth/micromamba/envs/bioblend/lib/python3.12/site-packages/bioblend/galaxy/client.py", line 134, in _get
    raise ConnectionError(
bioblend.ConnectionError: GET: error 500: b'Internal Server Error', 0 attempts left: Internal Server Error

@martindemko
Copy link
Contributor

I believe that your bioblend version is not compatible with our API, because what your code calls is actually this:
/api/workflows/8beeeb724b45ff06/invocations/8bc463fd51e0b733/steps/55639049d2587598
and what works is this:
/api/workflows/8beeeb724b45ff06/invocations/8bc463fd51e0b733
I can see that step there in the list of steps, but I'm afraid that's not the proper API call to get access to that step. Could you please tell me the bioblend version you are using, please? Thanks

@hechth
Copy link
Author

hechth commented Dec 4, 2024

so the substeps are not supported?

I'm using bioblend version 1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants