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

fix: use correct path for CSV export filename #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bodom0015
Copy link
Member

@bodom0015 bodom0015 commented Feb 20, 2025

Problem

ChemScraper "Export as CSV" is throwing an error:

Arguments: (S3Error('S3 operation failed; code: NoSuchKey, message: The specified key does not exist., resource: /chemscraper/9a5b9b88bf6349bf94911b1b73dbc7fd/out/9a5b9b88bf6349bf94911b1b73dbc7fd.csv, request_id: 18260A0538B046B0, host_id: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, bucket_name: chemscraper, object_name: 9a5b9b88bf6349bf94911b1b73dbc7fd/out/9a5b9b88bf6349bf94911b1b73dbc7fd.csv'),)

It looks like a file does exist in this bucket at the path 9a5b9b88bf6349bf94911b1b73dbc7fd/out/9a5b9b88bf6349bf94911b1b73dbc7fd-results.csv

Approach

  • fix: use the correct CSV filename for exporting these results

How to Test

  1. Navigate to the results page for a finished job
  2. At the top-right, click Export
    • You should see a dialog appear allowing you to choose parameters of your export
  3. Choose CSV and confirm the dialog
    • You should see a CSV file is downloaded as expected
    • You should no longer see the error from the top of this ticket

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

Successfully merging this pull request may close these issues.

1 participant