open-data-rescue / climate-data-rescue

Climate Data Rescue is an archival data rescue platform using Ruby on Rails.
https://citsci.geog.mcgill.ca
MIT License
14 stars 9 forks source link

Application Error - Exporting Transcription Error #251

Closed raakal closed 1 year ago

raakal commented 4 years ago

When trying to export the transcriptions users have entered, the buttons do not work and an error message presents. It appears to occur for registers with at least 3 or more transcriptions.

The Transcriptions in question are:

To Reproduce:

  1. Go to Admin/Transcriptions - Export
  2. Click the Download csv or Download json button of the ID in question. It will pop out to a new tab.
  3. After loading (sometimes seconds, often several minutes), a message will appear:
Screen Shot 2020-07-10 at 2 43 30 PM

This message appears for each and every ID listed, although it can take several minutes to pop up (the browser keeps trying to load and the bottom left message 'waiting for citsci.geog.mcgill.ca...' appears the entire time). This error occurs on both Chrome and Safari.

Examples: ID 8 download CSV button: https://citsci.geog.mcgill.ca/en/admin/transcriptions/export.csv?page_type_id=8

ID 8 download json button: https://citsci.geog.mcgill.ca/en/admin/transcriptions/export.json?page_type_id=8

ID 20 download CSV button: https://citsci.geog.mcgill.ca/en/admin/transcriptions/export.csv?page_type_id=20

ID 20 download json button: https://citsci.geog.mcgill.ca/en/admin/transcriptions/export.json?page_type_id=20

rsmithlal commented 4 years ago

I realized that this problem was fixed in the other version of the app, so I pulled the change into this version and deployed it. Can you please confirm if this has been resolved? You can close this issue if it is.

VickyS08 commented 4 years ago

Seems to be still having the timeout problem. Vicky

On Jul 10, 2020, at 4:37 PM, Robert Smith notifications@github.com wrote:

I realized that this problem was fixed in the other version of the app, so I pulled the change into this version and deployed it. Can you please confirm if this has been resolved?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/open-data-rescue/climate-data-rescue/issues/251#issuecomment-656878880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENOOAMMJK56LUHRHZB7X23R253ZHANCNFSM4OW3B3EA.

raakal commented 4 years ago

@rsmithlal I'm still experiencing a time out issue as well

VickyS08 commented 1 year ago

This one still occurs: https://github.com/open-data-rescue/climate-data-rescue/issues/251. I tried a CSV export which resulted in the "We're sorry, but something went wrong" error message (red text) and I tried a JSON export which resulted in the "Down for maintenance" error message (blue text)

VickyS08 commented 1 year ago

Tested batch exporting data by page schema from the transcription drop down menu on 2023-02-28