galaxyproject / galaxyproject/galaxy

Error 404 when generating pdf from workflow report

Open
#20,135 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/reports area/UI-UX area/workflows
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 7h
Merged PRs (30d)
167

Description

Describe the bug
I am trying to download a pdf from a Workflow report, but when clicking on "Generate" i get a pop up saying Failed to generate download: AxiosError: Request failed with status code 404
Creating a page then generating the pdf works.

Galaxy Version and/or server at which you observed the bug
Galaxy Version: main {"version_major":"24.2","version_minor":"4.dev0"}

Browser and Operating System
Operating System: macOS
Browser:Chrome

To Reproduce
Steps to reproduce the behavior:

  1. Go to a workflow invocation report
  2. Click on 'Generate'
  3. See error

Expected behavior
It should generate the pdf and open a download prompt

Screenshots

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from a workflow invocation report using the Generate button, then trace the request that returns 404. Compare it with the working page PDF flow and verify that the report flow generates the PDF and opens the download prompt without an Axios error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.